From 0ff66508469ce993b771fe63085f7039a430999c Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期二, 27 一月 2026 16:33:42 +0800
Subject: [PATCH] 1.捡货单打印里面显示备注和发货时间 2.拣货单界面,仓库管理员角色拣货单发货时间超过当天16:00则当天不显示

---
 src/main/webapp/static/js/nodeLoc/nodeLoc.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/nodeLoc/nodeLoc.js b/src/main/webapp/static/js/nodeLoc/nodeLoc.js
index 81c71e7..237d9d4 100644
--- a/src/main/webapp/static/js/nodeLoc/nodeLoc.js
+++ b/src/main/webapp/static/js/nodeLoc/nodeLoc.js
@@ -343,10 +343,13 @@
         for (var i = 0; i<printContent.length; i ++) {
             if (printContent[i] != null && printContent[i] !== '') {
                 var barcodeUrl;
+                var templateDom = $("#templatePreview"+templateNo);
+                var className = templateDom.attr("class");
+                type = className === 'template-barcode' ? 1 : 2;
                 if (type === 1) {
                     barcodeUrl = baseUrl+"/mac/code/auth?type="+type+"&param="+printContent[i]+"&width="+200+"&height="+70;
                 } else {
-                    barcodeUrl = baseUrl+"/mac/code/auth?type="+type+"&param="+printContent[i]+"&width="+400+"&height="+180;
+                    barcodeUrl = baseUrl+"/mac/code/auth?type="+2+"&param="+printContent[i]+"&width="+400+"&height="+180;
                 }
                 data.push({
                     item: printContent[i],

--
Gitblit v1.9.1