From 6187d28098646f46481d5982438e7f9c3c3873da Mon Sep 17 00:00:00 2001 From: ruanqi Date: Sun, 9 Oct 2022 16:05:48 +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/production/print_part_label.js | 4 ++-- src/views/modules/production/print_seqNo_label.js | 4 ++-- src/views/modules/production/print_stock_label.js | 6 +++--- src/views/modules/production/print_transNo_label.js | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/modules/production/print_part_label.js b/src/views/modules/production/print_part_label.js index d746b24..51c0865 100644 --- a/src/views/modules/production/print_part_label.js +++ b/src/views/modules/production/print_part_label.js @@ -127,9 +127,9 @@ export function printPartLabel(printList) { } - // LODOP.PRINT_DESIGN(); + LODOP.PRINT_DESIGN(); //LODOP.PREVIEW(); - LODOP.PRINT(); + // LODOP.PRINT(); console.log("操作成功!") } } diff --git a/src/views/modules/production/print_seqNo_label.js b/src/views/modules/production/print_seqNo_label.js index 5e3b85e..07c363b 100644 --- a/src/views/modules/production/print_seqNo_label.js +++ b/src/views/modules/production/print_seqNo_label.js @@ -65,9 +65,9 @@ export function printSeqNoLabel(printList) { LODOP.SET_PRINT_STYLEA(0,"Alignment",2); LODOP.SET_PRINT_STYLEA(0,"Bold",1); } - // LODOP.PRINT_DESIGN(); + LODOP.PRINT_DESIGN(); //LODOP.PREVIEW(); - LODOP.PRINT(); + // LODOP.PRINT(); console.log("操作成功!") } } diff --git a/src/views/modules/production/print_stock_label.js b/src/views/modules/production/print_stock_label.js index 25b17d9..f1885ab 100644 --- a/src/views/modules/production/print_stock_label.js +++ b/src/views/modules/production/print_stock_label.js @@ -11,7 +11,7 @@ export function printMaterialLabel(printList) { for(let i = 0; i < printList.length; i++){ let printData = printList[i]; LODOP.NewPage(); - LODOP.SET_PRINT_PAGESIZE(0,1000,700,""); + LODOP.SET_PRINT_PAGESIZE(0,1500,1000,""); LODOP.ADD_PRINT_BARCODE(43,244,208,140,"QRCode",printData.seqNo); LODOP.ADD_PRINT_TEXT(90,8,133,25,"WareHouse Id:"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); @@ -64,9 +64,9 @@ export function printMaterialLabel(printList) { LODOP.SET_PRINT_STYLEA(0,"Alignment",2); LODOP.SET_PRINT_STYLEA(0,"Bold",1); } - // LODOP.PRINT_DESIGN(); + LODOP.PRINT_DESIGN(); //LODOP.PREVIEW(); - LODOP.PRINT(); + // LODOP.PRINT(); console.log("操作成功!") } } diff --git a/src/views/modules/production/print_transNo_label.js b/src/views/modules/production/print_transNo_label.js index 9902239..4357291 100644 --- a/src/views/modules/production/print_transNo_label.js +++ b/src/views/modules/production/print_transNo_label.js @@ -65,9 +65,9 @@ export function printTransNoLabel(printList) { LODOP.SET_PRINT_STYLEA(0,"Alignment",2); LODOP.SET_PRINT_STYLEA(0,"Bold",1); } - // LODOP.PRINT_DESIGN(); + LODOP.PRINT_DESIGN(); //LODOP.PREVIEW(); - LODOP.PRINT(); + // LODOP.PRINT(); console.log("操作成功!") } }