wangfukang 3 years ago
parent
commit
746f6590df
  1. 9
      pages/inventory/inventoryDetail.vue

9
pages/inventory/inventoryDetail.vue

@ -120,10 +120,11 @@
//快递单600*1040 入库单440*320 //快递单600*1040 入库单440*320
let strCmd = blesdk.CreatCPCLPage(440, 320, 1, 0); let strCmd = blesdk.CreatCPCLPage(440, 320, 1, 0);
strCmd += blesdk.addCPCLText('0', '30', '24', '0', 0, '商品名:'+this.dataList.productName) 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', '80', '24', '0', 0, '商品id:'+this.dataList.id)
strCmd += blesdk.addCPCLText('0', '130', '24', '0', 0, '供应商:'+this.dataList.supplierName) strCmd += blesdk.addCPCLText('0', '130', '24', '0', 0, '货 号:'+this.dataList.productSn)
strCmd += blesdk.addCPCLText('0', '180', '24', '0', 0, '批发价:'+this.dataList.wholesalePrice) strCmd += blesdk.addCPCLText('0', '180', '24', '0', 0, '供应商:'+this.dataList.supplierName)
strCmd += blesdk.addCPCLText('0', '230', '24', '0', 0, '零售价:'+this.dataList.price) 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.addCPCLQRCode(260, 170, 'H', '1', 6, this.dataList.id) //二维码
strCmd += blesdk.addCPCLLocation(0); //对齐指令 0-左对齐 1-右对齐 2-居中 strCmd += blesdk.addCPCLLocation(0); //对齐指令 0-左对齐 1-右对齐 2-居中
strCmd += blesdk.addCPCLPrint(); strCmd += blesdk.addCPCLPrint();

Loading…
Cancel
Save