From 746f6590dfa1fa1532412988590cb068a3d27a70 Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Wed, 22 Nov 2023 09:04:07 +0800 Subject: [PATCH] 1 --- pages/inventory/inventoryDetail.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/inventory/inventoryDetail.vue b/pages/inventory/inventoryDetail.vue index 389c245..a856d86 100644 --- a/pages/inventory/inventoryDetail.vue +++ b/pages/inventory/inventoryDetail.vue @@ -120,10 +120,11 @@ //快递单600*1040 入库单440*320 let strCmd = blesdk.CreatCPCLPage(440, 320, 1, 0); strCmd += blesdk.addCPCLText('0', '30', '24', '0', 0, '商品名:'+this.dataList.productName) - strCmd += blesdk.addCPCLText('0', '80', '24', '0', 0, '货 号:'+this.dataList.productSn) - strCmd += blesdk.addCPCLText('0', '130', '24', '0', 0, '供应商:'+this.dataList.supplierName) - strCmd += blesdk.addCPCLText('0', '180', '24', '0', 0, '批发价:'+this.dataList.wholesalePrice) - strCmd += blesdk.addCPCLText('0', '230', '24', '0', 0, '零售价:'+this.dataList.price) + strCmd += blesdk.addCPCLText('0', '80', '24', '0', 0, '商品id:'+this.dataList.id) + strCmd += blesdk.addCPCLText('0', '130', '24', '0', 0, '货 号:'+this.dataList.productSn) + strCmd += blesdk.addCPCLText('0', '180', '24', '0', 0, '供应商:'+this.dataList.supplierName) + strCmd += blesdk.addCPCLText('0', '230', '24', '0', 0, '批发价:'+this.dataList.wholesalePrice) + strCmd += blesdk.addCPCLText('0', '280', '24', '0', 0, '零售价:'+this.dataList.price) strCmd += blesdk.addCPCLQRCode(260, 170, 'H', '1', 6, this.dataList.id) //二维码 strCmd += blesdk.addCPCLLocation(0); //对齐指令 0-左对齐 1-右对齐 2-居中 strCmd += blesdk.addCPCLPrint();