Explorar o código

开启web打印

lph hai 1 ano
pai
achega
305a9221e3
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      zkqy-ui/src/views/orderMange/codeListManage/printIndex.vue

+ 5 - 5
zkqy-ui/src/views/orderMange/codeListManage/printIndex.vue

@@ -1098,14 +1098,14 @@ export default {
       });
       this.changeGrossWeight(this.printTableData[0]);
       // 前端打印
-      // codeListPrint(this.printTableData, "printDom");
+      codeListPrint(this.printTableData, "printDom");
 
-      // if (this.excuteType == 1) {
-      //   this.tableData.push(this.printTableData[0]);
-      // }
+      if (this.excuteType == 1) {
+        this.tableData.push(this.printTableData[0]);
+      }
       // 后端打印
       console.log("newPrintHandler");
-      this.newPrintHandler();
+      // this.newPrintHandler();
     },
     // 获取机台选项数据
     async getLineOptionLsit() {