From 99d0bb96043ba5d6db66bbfb00f67ca4e09f3ffb Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期五, 07 三月 2025 09:08:33 +0800
Subject: [PATCH] 小片尺寸和成品尺寸不相同时,打印显示小片信息
---
north-glass-erp/northglass-erp/src/hook/queue.js | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/hook/queue.js b/north-glass-erp/northglass-erp/src/hook/queue.js
index 1dab2e2..c4503dc 100644
--- a/north-glass-erp/northglass-erp/src/hook/queue.js
+++ b/north-glass-erp/northglass-erp/src/hook/queue.js
@@ -13,9 +13,7 @@
this.tick = setInterval(()=>{
if(typeof queue === 'object' && Array.isArray(queue)){
- if (queue.length > 0) {
- console.log(printer)
- hiprintTemplate.value.print2(queue[0],{printer:printer})
+ if (queue.length > 0) {hiprintTemplate.value.print2(queue[0],{printer:printer})
queue.shift(); // 鎵撳嵃浠诲姟锛屽苟浠庨槦鍒椾腑绉婚櫎
}else{
clearInterval(this.tick)
@@ -30,6 +28,6 @@
}
},
- 5000)
+ 500)
};
--
Gitblit v1.8.0