From 4200230a2a90d7f90dd01694beb5896671d856b4 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 15 四月 2025 10:30:39 +0800
Subject: [PATCH] 1

---
 WebTM/views/车间管理/工序出站汇报单/Cj_StationOutBillList.html |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBillList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBillList.html"
index beeae1e..526f66c 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBillList.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBillList.html"
@@ -189,7 +189,7 @@
                                     </div>
                                     <div class="layui-row" style="margin-top:5px">
                                         <div class="layui-inline">
-                                            <label class="layui-form-label">杩囨护</label>
+                                            <label class="layui-form-label" id="BT_ColName2">杩囨护</label>
                                             <div class="layui-input-block">
                                                 <select name="ColName2" id="ColName2" class="ForFilteringSchemes" lay-filter="ColName2" style="width:190px;">
                                                 </select>
@@ -2089,6 +2089,9 @@
                 var ColName1 = $("#ColName1").val();//澶嶉�夋
                 var Comparator1 = $("#Comparator1").val();
                 var ColContent1 = $("#ColContent1").val();
+                var ColName2 = $("#ColName2").val();//澶嶉�夋
+                var Comparator2 = $("#Comparator2").val()
+                var ColContent2 = $("#ColContent2").val();
                 var HNumber = $("#HNumber").val(); //浜у搧浠g爜 鍗崇墿鏂欑紪鐮�
                 var HName = $("#HName").val(); //褰撳墠宸ュ簭
                 var HEmpNumber = $("#HEmpNumber").val(); //鎿嶄綔鍛樹唬鐮�
@@ -2136,6 +2139,27 @@
                             break;
                     }
                     sWhere += " and " + ColName1 + " " + com;
+                }
+                if (ColName2 != 0 && Comparator2 != 0) {
+                    var com2 = "";
+                    switch (Comparator2) {
+                        case "7":
+                            com2 = "like'%" + ColContent2 + "%'";
+                            break;
+                        case "8":
+                            com2 = "like'%" + ColContent2 + "'";
+                            break;
+                        case "9":
+                            com2 = "like'" + ColContent2 + "%'";
+                            break;
+                        case "10":
+                            com2 = "not like'%" + ColContent2 + "%'";
+                            break;
+                        default:
+                            com2 = "" + Comparator2 + "'" + ColContent2 + "'";
+                            break;
+                    }
+                    sWhere += " and " + ColName2 + " " + com2;
                 }
 
                 if (HBeginDate) {
@@ -2892,6 +2916,8 @@
                 $("#ColName").append(Organization);
                 $("#ColName1").empty()
                 $("#ColName1").append(Organization);
+                $("#ColName2").empty();
+                $("#ColName2").append(Organization);
                 form.render('select');
             }
 

--
Gitblit v1.9.1