Преглед изворни кода

修改标签纸条形码类型为:EAN13

chrislee пре 10 месеци
родитељ
комит
b91253bc43
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/modules/production/components/print-label.vue

+ 1 - 1
src/views/modules/production/components/print-label.vue

@@ -178,7 +178,7 @@ export default {
       // command.setText(50, 130, "TSS24.BF2", 0, 0, "检  字 号:101029") // 文本
       // command.setText(50, 180, "TSS24.BF2", 0, 0, "原材料炉批号:YXL-83829") // 文本
       // command.setText(50, 170, "TSS24.BF2", 0, 0, "备注:这是一个备注") // 文本
-      command.setBar(50, start + 5 * len, '128', 64, 1, 2, 4, this.dataForm.id) // 二维码
+      command.setBar(50, start + 5 * len, 'EAN13', 64, 1, 2, 4, this.dataForm.id) // 一维码
       command.setPagePrint()
       await this.writePrintData(getDataView(command.getData()))
     },