From ccb72d1aa7a9358e30bd45ccb6cd7ebef4786fe7 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期五, 31 五月 2024 15:08:16 +0800
Subject: [PATCH] 故障登记单 我维修单 验收单 优化

---
 WebTM/views/Baseset/基础资料/Gy_RoutingBillList.html |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RoutingBillList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RoutingBillList.html"
index ee43c5f..e73213a 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RoutingBillList.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RoutingBillList.html"
@@ -67,9 +67,11 @@
             }
 
             var HMaterID = "";
+            var HProID = 0;
             var params = getUrlVars();
             if (params[params[0]] != "undefined") {
                 HMaterID = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇
+                HProID = params[params[1]]; //浠庡弬鏁颁腑鑾峰彇
             }
 
             RoadQuery($('#Value').val());
@@ -83,20 +85,23 @@
                     { type: 'radio' }
                     , { field: 'hmainid', title: '宸ヨ壓璺嚎ID', hide: true }
                     , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�' }
+                    , { field: '宸ヨ壓鍚嶇О', title: '宸ヨ壓璺嚎鍚嶇О' }
                     , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜' }
                     , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', sort: true }
                     , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿' }
                     , { field: '缁勭粐', title: '缁勭粐' }
                 ]]
                 , page: true
+                , limits: [50, 500, 5000, 50000],
+                limit: 50
             });
             ///鍔犺浇鏄剧ず鏁版嵁
             function RoadQuery(Where) {
                 var Value = Where;
                 if (Value == null) {
-                    Value = " and HMaterID=" + HMaterID + " and HOrgID = " + sessionStorage["OrganizationID"];
+                    Value = " and HMaterID=" + HMaterID + " and HMainProcID=" + HProID+" and HOrgID = " + sessionStorage["OrganizationID"];
                 } else {
-                    Value = " and HMaterID=" + HMaterID + " and HOrgID = " + sessionStorage["OrganizationID"] + " and ( 鍗曟嵁鍙� like '%" + Where + "%' or 鍗曟嵁鍙� like '%" + Where + "%' ) "
+                    Value = " and HMaterID=" + HMaterID + " and HMainProcID=" + HProID +" and HOrgID = " + sessionStorage["OrganizationID"] + " and ( 鍗曟嵁鍙� like '%" + Where + "%' or 鍗曟嵁鍙� like '%" + Where + "%' ) "
                 }
                 var index = layer.load();
                 $.ajax({

--
Gitblit v1.9.1