This commit is contained in:
liushuai
2018-12-29 19:22:34 +08:00
parent afbc241d2d
commit 746e43d2a0
4 changed files with 6 additions and 5 deletions

View File

@@ -431,7 +431,7 @@ export default {
const printNode = $(htmlNode)
body.append(printNode)
window.print()
body.children().show()
body.children().not('script').show()
printNode.remove()
},
handleSizeChange1(val) {

View File

@@ -76,7 +76,7 @@
</div>
</el-card>
<el-card>
<div style="width:750px">
<div style="width:715px">
<el-card>
<table id="1" cellspacing="0px" align="center" border width="100%" style="">
<tr style="height: 40px">
@@ -289,7 +289,7 @@
</div>
</el-card>
<el-card>
<div style="width:750px">
<div style="width:715px">
<el-card>
<table id="3" cellspacing="0px" align="center" border width="100%" style="">
<tr style="height: 40px">