Merge branch 'master' of http://192.168.0.149:10010/r/高精2.0
This commit is contained in:
@@ -476,7 +476,7 @@
|
||||
<td class="tg-baqh" colspan="3" rowspan="2"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-13pz">毛中</td>
|
||||
<td class="tg-13pz">毛重</td>
|
||||
<td class="tg-13pz">净重<br></td>
|
||||
</tr>
|
||||
<tbody>
|
||||
@@ -722,6 +722,11 @@ export default {
|
||||
},
|
||||
addReceipt() {
|
||||
this.addForm('receiptForm')
|
||||
for (let i = 0; i < this.project.length; i++) {
|
||||
if (this.projectValue === this.project[i].value) {
|
||||
this.receiptForm.名称 = this.project[i].label
|
||||
}
|
||||
}
|
||||
this.receiptVisible = true
|
||||
this.receiptTitle = `新增总装箱单`
|
||||
},
|
||||
@@ -905,12 +910,14 @@ export default {
|
||||
},
|
||||
exportTable() {
|
||||
const htmlNode = $('#cjn').html()
|
||||
const body = $('body')
|
||||
const body = $('body').attr('style', 'padding: 20px;margin: 0 auto;display: block;width: 800px;background: #fff;')
|
||||
body.children().hide()
|
||||
const printNode = $(htmlNode)
|
||||
body.append(printNode)
|
||||
window.print()
|
||||
body.removeAttr('style')
|
||||
body.children().not('script').show()
|
||||
body.children().not('#app').hide()
|
||||
printNode.remove()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user