From fa81723ece156a1bf7df0652d65c61bc255c6dc0 Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期五, 25 二月 2022 13:57:23 +0800
Subject: [PATCH] 采购订单、送货单页面查询条件及影藏列调整

---
 WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html |   66 ++++++++++++++++----------------
 1 files changed, 33 insertions(+), 33 deletions(-)

diff --git a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html
index 60d22b8..0bc5d1e 100644
--- a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html
+++ b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html
@@ -10,11 +10,11 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
     <link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
     <link rel="stylesheet" href="../../layuiadmin/style/admin.css" media="all">
-    <style type="text/css">
-        .layui-input-block {
-            width: 200px;
-        }
-    </style>
+        <style type="text/css">
+            .layui-input-block {
+                width: 200px;
+            }
+        </style>
 </head>
 <body>
 
@@ -66,12 +66,12 @@
                                         <input type="text" class="layui-input" name="HInnerBillNo" id="HInnerBillNo">
                                     </div>
                                 </div>
-                                <div class="layui-inline">
+                                <!--<div class="layui-inline">
                                     <label class="layui-form-label">鐗╂枡缂栫爜</label>
                                     <div class="layui-input-block">
                                         <input type="text" class="layui-input" name="HShortNumber" id="HShortNumber">
                                     </div>
-                                </div>
+                                </div>-->
                                 <div class="layui-inline">
                                     <label class="layui-form-label">鐗╂枡浠g爜</label>
                                     <div class="layui-input-block">
@@ -84,12 +84,12 @@
                                         <input type="text" class="layui-input" name="HName" id="HName">
                                     </div>
                                 </div>
-                                <div class="layui-inline">
+                                <!--<div class="layui-inline">
                                     <label class="layui-form-label">瑙勬牸鍨嬪彿</label>
                                     <div class="layui-input-block">
                                         <input type="text" class="layui-input" name="HModel" id="HModel">
                                     </div>
-                                </div>
+                                </div>-->
                                 <div class="layui-inline">
                                     <label class="layui-form-label">鍗曟嵁鐘舵��</label>
                                     <div class="layui-input-block">
@@ -103,18 +103,18 @@
                                     </div>
                                 </div>
 
-                                <div class="layui-inline">
+                                <!--<div class="layui-inline">
                                     <label class="layui-form-label">寮�濮嬫棩鏈�</label>
                                     <div class="layui-input-block">
                                         <input type="text" class="layui-input" name="HDate1" id="HDate1">
                                     </div>
-                                </div>
-                                <div class="layui-inline">
+                                </div>-->
+                                <!--<div class="layui-inline">
                                     <label class="layui-form-label">缁撴潫鏃ユ湡</label>
                                     <div class="layui-input-block">
                                         <input type="text" class="layui-input" name="HDate2" id="HDate2">
                                     </div>
-                                </div>
+                                </div>-->
                                 <!--<div class="layui-inline">
         <label class="layui-form-label">鐘舵��</label>
         <div class="layui-input-block">
@@ -126,7 +126,7 @@
         </div>
     </div>-->
 
-                                <div class="layui-inline">
+                                <!--<div class="layui-inline">
                                     <label class="layui-form-label">閲囪喘缁勭粐</label>
                                     <div class="layui-input-block">
                                         <select id="HPURCHASEORGID" name="HPURCHASEORGID" lay-filter="">
@@ -134,7 +134,7 @@
                                             <option value="">缁勭粐2</option>
                                         </select>
                                     </div>
-                                </div>
+                                </div>-->
                                 <div class="layui-inline">
                                     <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="f_Query">
                                         <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
@@ -285,18 +285,18 @@
                     , { field: '閲戦', title: '閲戦', width: 100, sort: true, hide: true }
                     , { field: '鏃ユ湡', title: '鏃ユ湡', width: 150, sort: true }
                     , { field: '鎵规', title: '鎵规', width: 150, sort: true }
-                    , { field: '鐢熶骇鏃ユ湡', title: '鐢熶骇鏃ユ湡', width: 150, sort: true }
-                    , { field: '棰勮鍒拌揣鏃ユ湡', title: '棰勮鍒拌揣鏃ユ湡', width: 150, sort: true }
+                    , { field: '鐢熶骇鏃ユ湡', title: '鐢熶骇鏃ユ湡', width: 150, sort: true, hide: true}
+                    , { field: '棰勮鍒拌揣鏃ユ湡', title: '棰勮鍒拌揣鏃ユ湡', width: 150, sort: true, hide: true}
                     , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓籌D', width: 100, hide: true }
                     , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛怚D', width: 100, hide: true }
                     , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 180 }
-                    , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 80 }
+                    , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 80, hide: true}
                     , { field: '閲囪喘璁㈠崟鍙�', title: '閲囪喘璁㈠崟鍙�', width: 180, sort: true, hide: true }
                     , { field: '濮斿璁㈠崟鍙�', title: '濮斿璁㈠崟鍙�', width: 180, sort: true, hide: true }
                     , { field: '鍙樻洿鐘舵��', title: '鍙樻洿鐘舵��', sort: true }
-                    , { field: '鏀舵枡缁勭粐', title: '鏀舵枡缁勭粐', sort: true }
-                    , { field: '閲囪喘缁勭粐', title: '閲囪喘缁勭粐', sort: true }
-                    , { field: '闇�姹傜粍缁�', title: '闇�姹傜粍缁�', sort: true }
+                    , { field: '鏀舵枡缁勭粐', title: '鏀舵枡缁勭粐', sort: true, hide: true}
+                    , { field: '閲囪喘缁勭粐', title: '閲囪喘缁勭粐', sort: true, hide: true}
+                    , { field: '闇�姹傜粍缁�', title: '闇�姹傜粍缁�', sort: true, hide: true }
                 ]]
                 , page: true //鏄惁鏄剧ず鍒嗛〉
                 , limits: [10, 20, 50, 100]
@@ -550,24 +550,24 @@
                     sqlWhere += " and 婧愬崟鍗曞彿 like ^^%" + $("#HBillNoFrom").val() + "%^^";
                 if ($("#HInnerBillNo").val() != "")
                     sqlWhere += " and 閫佽揣鍗曞彿 like ^^%" + $("#HInnerBillNo").val() + "%^^";
-                if ($("#HShortNumber").val() != "")
-                    sqlWhere += " and 鐗╂枡缂栫爜 like ^^%" + $("#HShortNumber").val() + "%^^";
+                //if ($("#HShortNumber").val() != "")
+                //    sqlWhere += " and 鐗╂枡缂栫爜 like ^^%" + $("#HShortNumber").val() + "%^^";
                 if ($("#HNumber").val() != "")
                     sqlWhere += " and 鐗╂枡浠g爜 like ^^%" + $("#HNumber").val() + "%^^";
                 if ($("#HName").val() != "")
                     sqlWhere += " and 鐗╂枡鍚嶇О like ^^%" + $("#HName").val() + "%^^";
-                if ($("#HModel").val() != "")
-                    sqlWhere += " and 瑙勬牸鍨嬪彿 like ^^%" + $("#HModel").val() + "%^^";
+                //if ($("#HModel").val() != "")
+                //    sqlWhere += " and 瑙勬牸鍨嬪彿 like ^^%" + $("#HModel").val() + "%^^";
                 if ($("#HClStatus").val() != "")
                     sqlWhere += " and 鍗曟嵁鐘舵�� like ^^%" + $("#HClStatus").val() + "%^^";
-                if ($("#HPURCHASEORGID").val() != "")
-                    sqlWhere += " and 閲囪喘缁勭粐 like ^^%" + $("#HPURCHASEORGID").val() + "%^^";
-                if ($("#HDate1").val() != "") {
-                    sqlWhere += " and 鏃ユ湡 >= ^^" + $("#HDate1").val() + "^^";
-                }
-                if ($("#HDate2").val() != "") {
-                    sqlWhere += " and 鏃ユ湡 <= ^^" + $("#HDate2").val() + "^^";
-                }
+                //if ($("#HPURCHASEORGID").val() != "")
+                //    sqlWhere += " and 閲囪喘缁勭粐 like ^^%" + $("#HPURCHASEORGID").val() + "%^^";
+                //if ($("#HDate1").val() != "") {
+                //    sqlWhere += " and 鏃ユ湡 >= ^^" + $("#HDate1").val() + "^^";
+                //}
+                //if ($("#HDate2").val() != "") {
+                //     sqlWhere += " and 鏃ユ湡 <= ^^" + $("#HDate2").val() + "^^";
+                //}
 
                 sql = sqlWhere;
                 //浠庣涓�椤靛紑濮�

--
Gitblit v1.9.1