This commit is contained in:
caoxinyu
2018-12-29 09:34:42 +08:00
parent 0d86d16d0e
commit 679a6d3c90

View File

@@ -1276,6 +1276,7 @@ export default {
this.invoiceNum = row.发货单编号 this.invoiceNum = row.发货单编号
this.DeliveryVisiable = true this.DeliveryVisiable = true
selectDelivery(this.invoiceNum).then(response => { selectDelivery(this.invoiceNum).then(response => {
console.log(response)
this.table = response.data this.table = response.data
this.装箱单名称 = response.data[0].装箱单名称 this.装箱单名称 = response.data[0].装箱单名称
this.发货单号 = response.data[0].发货单号 this.发货单号 = response.data[0].发货单号
@@ -1315,7 +1316,7 @@ export default {
const printNode = $(htmlNode) const printNode = $(htmlNode)
body.append(printNode) body.append(printNode)
window.print() window.print()
body.children().show() body.children().not('script').show()
printNode.remove() printNode.remove()
}, },
callOffDownLoadDelivery() { callOffDownLoadDelivery() {