Jelajahi Sumber

fix:包装打印手动打印,读取地磅重量

lucky 2 bulan lalu
induk
melakukan
7ebd2d296a

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

@@ -1203,7 +1203,7 @@ export default {
       let shouldPrint = false; // 用于控制是否应该打印
 
       this.websocket.addEventListener("message", async (event) => {
-        if (!this.printAuto) return;
+        // if (!this.printAuto) return;
         console.log("hmc后端自动打印逻辑1")
         const weightData = JSON.parse(event.data);
         const weight = weightData.weight;