From 96785ebcfe1bc9210f3d9d4056f4ec29fb60d810 Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期四, 02 四月 2026 10:58:22 +0800
Subject: [PATCH] 1

---
 WebTM/views/车间管理/单品过站_小卫/Cj_ProcessItemStationPlatform_UnbindList.html |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231_\345\260\217\345\215\253/Cj_ProcessItemStationPlatform_UnbindList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231_\345\260\217\345\215\253/Cj_ProcessItemStationPlatform_UnbindList.html"
index 463601d..86c6ee0 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231_\345\260\217\345\215\253/Cj_ProcessItemStationPlatform_UnbindList.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\215\225\345\223\201\350\277\207\347\253\231_\345\260\217\345\215\253/Cj_ProcessItemStationPlatform_UnbindList.html"
@@ -328,8 +328,10 @@
             //SN鐮佸洖杞︽柟娉�
             $('#HBarcode_SN').on('keydown', function (event) {
                 if (event.keyCode == 13) {
-                    get_FastQuery(2);
-                }
+                    //get_FastQuery(2);
+                    $('#HBarcode_SN').val($('#HBarcode_SN').val() + ',')
+                    //console.log($('#HBarcode_SN').val());
+                }               
             });
 
             //鏍堟澘鐮佸洖杞︽柟娉�
@@ -551,6 +553,7 @@
                 //    sWhere += " and DSN like '%" + HBarcode_SN + "%'";
                 //}
                 if (HBarcode_SN) {
+                    HBarcode_SN = HBarcode_SN.substring(0, HBarcode_SN.length - 1)
                     HBarcode_SN = HBarcode_SN.replace(/锛�/g, ',')
                         .split(',')
                         .map(item => `'${item.trim()}'`)
@@ -565,12 +568,12 @@
                 if (HBarcode_ZX) {
                     sWhere += "and  涓鐮� like '%" + HBarcode_ZX + "%'";
                 }
-                //if (HDate) {
-                //    sWhere += " and CONVERT(varchar(100),鐢熶骇鏃ユ湡, 23) >= '" + HDate + "'";
-                //}
-                //if (HDate1) {
-                //    sWhere += " and CONVERT(varchar(100),鐢熶骇鏃ユ湡, 23) <= '" + HDate1 + "'";
-                //}
+                if (HDate) {
+                    sWhere += " and CONVERT(varchar(100),鐢熶骇鏃ユ湡, 23) >= '" + HDate + "'";
+                }
+                if (HDate1) {
+                    sWhere += " and CONVERT(varchar(100),鐢熶骇鏃ユ湡, 23) <= '" + HDate1 + "'";
+                }
 
                 get_Display(sWhere);
                 sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨

--
Gitblit v1.9.1