diff --git a/klp-ui/src/views/wms/delivery/components/wayBill.vue b/klp-ui/src/views/wms/delivery/components/wayBill.vue index a401b675..38791f42 100644 --- a/klp-ui/src/views/wms/delivery/components/wayBill.vue +++ b/klp-ui/src/views/wms/delivery/components/wayBill.vue @@ -440,7 +440,7 @@ export default { // 固定按纸张尺寸截图:右侧留白来自于 contentEl 的缩放(241 -> 211mm),而不是扩大截图宽度 const canvas = await html2canvas(node, { backgroundColor: '#ffffff', - scale: 3, + scale: 6, useCORS: true, willReadFrequently: true, width: pageWidthPx, diff --git a/klp-ui/src/views/wms/delivery/components/wayBill2.vue b/klp-ui/src/views/wms/delivery/components/wayBill2.vue index 003cbf81..cb29572e 100644 --- a/klp-ui/src/views/wms/delivery/components/wayBill2.vue +++ b/klp-ui/src/views/wms/delivery/components/wayBill2.vue @@ -440,7 +440,7 @@ export default { // 固定按纸张尺寸截图:右侧留白来自于 contentEl 的缩放(241 -> 211mm),而不是扩大截图宽度 const canvas = await html2canvas(node, { backgroundColor: '#ffffff', - scale: 3, + scale: 6, useCORS: true, willReadFrequently: true, width: pageWidthPx, diff --git a/klp-ui/src/views/wms/delivery/waybill/index.vue b/klp-ui/src/views/wms/delivery/waybill/index.vue index 30360a28..1a6afc5f 100644 --- a/klp-ui/src/views/wms/delivery/waybill/index.vue +++ b/klp-ui/src/views/wms/delivery/waybill/index.vue @@ -2,16 +2,16 @@
- + - + - + @@ -35,62 +35,64 @@ +
+ + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - + - + - + + +
- -
@@ -119,10 +121,10 @@ - + - - + + @@ -405,7 +407,7 @@ export default { }); }, handleCopy(row) { - this.form = { + this.form = { waybillNo: new Date().getTime(), waybillName: row.waybillName, planId: row.planId, @@ -485,7 +487,7 @@ export default { this.loading = false; }); }, - /** 打印发货单 */ + /** 打印发货单 */ handlePrintSimple(row) { this.loading = true; this.printType = 1;