From 9b546ed464811c21a8e1525bd6c987c10741e87b Mon Sep 17 00:00:00 2001 From: ruanqi Date: Mon, 4 Mar 2024 15:12:06 +0800 Subject: [PATCH] =?UTF-8?q?0412=20=E6=96=B0=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/print/print_package_label.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/modules/print/print_package_label.js b/src/views/modules/print/print_package_label.js index 55aa185..e76991c 100644 --- a/src/views/modules/print/print_package_label.js +++ b/src/views/modules/print/print_package_label.js @@ -12,7 +12,8 @@ export function printPackageLabel(printList) { let printData = printList[i]; LODOP.NewPage(); LODOP.SET_PRINT_PAGESIZE(0,1000,700,""); - LODOP.ADD_PRINT_BARCODE(133,286,130,88,"QRCode",printData.partSpec); + // LODOP.ADD_PRINT_BARCODE(133,286,130,88,"QRCode",printData.partSpec); + LODOP.ADD_PRINT_BARCODE(133,286,130,88,"QRCode",printData.partNo+';'+printData.unitQty ); LODOP.ADD_PRINT_TEXT(93,18,123,25,"Product No:"); LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); LODOP.SET_PRINT_STYLEA(0,"FontSize",12);