From 211d4845aeaaebbf033adabd112015c569d96dc9 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 10 四月 2024 14:23:04 +0800
Subject: [PATCH] 设备管理全部模块,选择基础资料的界面,全部增加 双击返回 的功能; (设备保养规程,设备点检规程,设备保养记录单,设备点检记录单,设备故障登记单,设备维修派工单,设备维修记录单,设备维修验收单)

---
 WebTM/views/基础资料/基础资料/Gy_RepairList.html                     |   25 ++
 WebTM/views/设备管理/设备规程单/Sb_EquipMaintainRuleEdit.html         |   59 ++++
 WebTM/views/设备管理/设备规程单/Sb_EquipMaintainRuleList.html         |    9 
 WebTM/views/设备管理/设备规程单/Sb_EquipDotCheckRuleEdit.html         |   28 ++
 WebTM/views/设备管理/Sb_Add_EqpConkBookBillList.html             |  152 ++++++++----
 WebTM/views/基础资料/基础资料/Gy_MaintainList.html                   |    9 
 WebTM/views/设备管理/Sb_Add_EqpMaintenanceBillList.html          |  106 ++++++++
 WebTM/views/设备管理/设备规程单/Sb_EquipDotCheckRuleList.html         |    8 
 WebTM/views/设备管理/设备维修派工单/Sb_EquipRepairSendWorkBillEdit.html |   67 +++++
 WebTM/views/设备管理/Sb_EquipDotCheckBillEdit.html               |   43 +++
 WebTM/views/基础资料/基础资料/Gy_ConkReasonList.html                 |   10 
 WebTM/views/基础资料/基础资料/Gy_DotCheckList.html                   |    9 
 WebTM/views/设备管理/Sb_Add_EqpRepairCheckBillList.html          |   56 ++++
 WebTM/views/基础资料/基础资料/Gy_RepairCheckList.html                |   10 
 WebTM/views/设备管理/Sb_EquipMaintainBillEdit.html               |   85 ++++++
 15 files changed, 590 insertions(+), 86 deletions(-)

diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ConkReasonList.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ConkReasonList.html"
index 54b8d09..77f5bb1 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ConkReasonList.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ConkReasonList.html"
@@ -168,6 +168,16 @@
             form.on('submit(btnReSearch)', function (data) {
                 set_ClearQuery();
             });
+
+            //#region 鍙屽嚮杩斿洖鏁版嵁
+            table.on('rowDouble(mainTable)', function (obj) {
+                var data = [];
+                data.push(obj.data);
+                parent.GetGy_ConkReasonListValue(data);
+                var index = parent.layer.getFrameIndex(window.name);
+                parent.layer.close(index);
+            });
+            //#endregion
             //#endregion
 
 
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_DotCheckList.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_DotCheckList.html"
index 1fd24e7..8e2bada 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_DotCheckList.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_DotCheckList.html"
@@ -196,6 +196,15 @@
             });
             //#endregion
 
+            //鍙屽嚮琛ㄦ牸浜嬩欢
+            table.on('rowDouble(mainTable)', function (obj) {
+                var index = parent.layer.getFrameIndex(window.name);
+                var data = obj.data;
+                //杩斿洖鏂规硶
+                parent.GetDotCheckListValue(data);
+                parent.layer.close(index);
+            })
+
             //#region 鏌ヨ鎸夐挳
             form.on('submit(btnSearch)', function (data) {
                 get_FastQuery();
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaintainList.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaintainList.html"
index 2f19707..998dccf 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaintainList.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaintainList.html"
@@ -183,6 +183,15 @@
             });
             //#endregion
 
+            //鍙屽嚮琛ㄦ牸浜嬩欢
+            table.on('rowDouble(mainTable)', function (obj) {
+                var index = parent.layer.getFrameIndex(window.name);
+                var data = obj.data;
+                //杩斿洖鏂规硶
+                parent.GetMaintainListValue(data);
+                parent.layer.close(index);
+            })
+
             //浠g爜鍥炶溅鏂规硶
             $('#HNumber').on('keydown', function (event) {
                 if (event.keyCode == 13) {
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RepairCheckList.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RepairCheckList.html"
index fda0c0f..3298ae3 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RepairCheckList.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RepairCheckList.html"
@@ -177,6 +177,16 @@
             });
             //#endregion
 
+            //#region 鍙屽嚮杩斿洖鏁版嵁
+            table.on('rowDouble(mainTable)', function (obj) {
+                var data = [];
+                data.push(obj.data);
+                parent.GetGy_RepairCheckListValue(data);
+                var index = parent.layer.getFrameIndex(window.name);
+                parent.layer.close(index);
+            });
+            //#endregion
+
             //#region 鏌ヨ鎸夐挳
             form.on('submit(btnSearch)', function (data) {
                 get_FastQuery();
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RepairList.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RepairList.html"
index 6c7904c..c4ad28c 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RepairList.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_RepairList.html"
@@ -130,6 +130,9 @@
 
 
             //#region 杩涘叆椤甸潰鍗冲姞杞�
+            var params = getUrlVars();
+            var Type = params[params[0]];
+
             //鍒濆鍖栬〃鏍�
             set_ClearBill();
             //#endregion
@@ -201,7 +204,14 @@
             table.on('rowDouble(mainTable)', function (obj) {
                 var data = [];
                 data.push(obj.data);
-                parent.GetRepairValue(data);
+                switch (Type) {
+                    case "service":  //杩斿洖鑱屽憳
+                        parent.GetRepairServiceValue(data);
+                        break;
+                    default:
+                        parent.GetRepairValue(data);
+                        break;
+                }
                 var index = parent.layer.getFrameIndex(window.name);
                 parent.layer.close(index);
             });
@@ -707,6 +717,19 @@
             }
             //#endregion
 
+            //#region 鑾峰彇鍙傛暟
+            function getUrlVars() {
+                var vars = [], hash;
+                var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+                for (var i = 0; i < hashes.length; i++) {
+                    hash = hashes[i].split('=');
+                    vars.push(hash[0]);
+                    vars[hash[0]] = hash[1];
+                }
+                return vars;
+            }
+            //#endregion
+
             //浠ヤ笂鏄痩ayui妯″潡
         });
     </script>
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpConkBookBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpConkBookBillList.html"
index 9251a33..6b58107 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpConkBookBillList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpConkBookBillList.html"
@@ -167,6 +167,7 @@
     <script src="../../layuiadmin/Scripts/webConfig.js"></script>
     <script src="../../layuiadmin/PubCustom.js"></script>
     <script>
+        var OptionData = [];
         //鑾峰彇鍙傛暟
         function getUrlVars() {
             var vars = [], hash;
@@ -379,7 +380,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HConkReasonID: OptionData[0].hitemid,
+                                            HConkReasonCode: OptionData[0].鏁呴殰鍘熷洜浠g爜,
+                                            HConkReasonName: OptionData[0].鏁呴殰鍘熷洜
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -395,7 +404,7 @@
                                 shift: 2,
                                 area: ['80%', '80%'],
                                 maxmin: true
-                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HSecManager', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
 
@@ -420,7 +429,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HManagerID: OptionData[0].HItemID,
+                                            HManagerCode: OptionData[0].鑱屽憳浠g爜,
+                                            HManagerName: OptionData[0].鑱屽憳鍚嶇О,
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -555,7 +572,7 @@
                     shift: 2,
                     area: ['80%', '80%'],
                     maxmin: true
-                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HEmp', 'yes']
                     , btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
 
@@ -593,7 +610,7 @@
                     shift: 2,
                     area: ['80%', '80%'],
                     maxmin: true
-                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HManager', 'yes']
                     , btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
 
@@ -790,61 +807,82 @@
 
 
         });
-        //瀹氫箟鍏ㄥ眬鍙橀噺
-        var HReasonName, ReasonID, EmpName, SQProcName,
-            ProcID, ZRProcName, QRName
-            ;
-        function GetHReasonValue(obj)  //杩斿洖涓嶈壇鍘熷洜
-        {
-            HReasonName = obj[0].HName;
-            ReasonID = obj[0].HItemID;
-        }
-        //杩斿洖鐗╂枡
-        function GetHMaterNameValue(obj) {  //杩斿洖鐗╂枡
-            $("#HMater").val(obj[0].HName);
-            $("#HMaterID").val(obj[0].HItemID);
-            $("#HMaterNumber").val(obj[0].HNumber);
-        }
-        //杩斿洖宸ュ簭
-        function GetHProcValue(obj) {  //杩斿洖宸ュ簭
-            $("#HProcName").val(obj[0].宸ュ簭);
-            $("#HProcID").val(obj[0].HItemID);
-            $("#HProcNumber").val(obj[0].宸ュ簭浠g爜);
-        }
-        function GetHDeptNameValue(obj) {  //杩斿洖閮ㄩ棬
-            $("#HDepName").val(obj[0].HName);
+        //杩斿洖閮ㄩ棬
+        function GetHDeptNameValue(obj) {  
+            $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
             $("#HDeptID").val(obj[0].HItemID);
-            $("#HDeptNumber").val(obj[0].HNumber);
         }
-        //杩斿洖鍗曚綅
-        function GetHUnitNameValue(obj) {
-            $("#HUName").val(obj[0].HName);
-            $("#HUnitID").val(obj[0].HItemID);
-            $("#HUnitNumber").val(obj[0].HNumber);
+        //杩斿洖鍙戠幇浜�
+        function GetHEmpValue(obj) {
+            $("#HEmpName").val(obj[0].鑱屽憳鍚嶇О);
+            $("#HEmpID").val(obj[0].HItemID);
         }
-
-        function GetHKeeperValue(obj) {  //杩斿洖璐d换浜�
-            EmpName = obj[0].HName;
-            // $("#HEmpName").val(obj[0].HName);
-            //$("#HItemID").val(obj[0].HItemID);
+        //杩斿洖璐d换浜�
+        function GetHManagerValue(obj) {  //杩斿洖璐d换浜�
+            $("#HManagerName").val(obj[0].鑱屽憳鍚嶇О);
+            $("#HManagerID").val(obj[0].HItemID);
         }
-        //function GetHProcValue(obj) {  //杩斿洖鐢宠宸ュ簭
-        //    SQProcName = obj[0].宸ュ簭;
-        //    ProcID = obj[0].HItemID;
-        //    //$("#HSQProcName").val(obj[0].宸ュ簭);
-        //    //$("#HProcID").val(obj[0].HItemID);
+        //杩斿洖璁惧
+        function GetEquipFileValue(obj) {  
+            $("#HEquipName").val(obj[0].璁惧鍚嶇О);
+            $("#HEquipID").val(obj[0].hmainid);
+        }
+        //杩斿洖鏁呴殰绫诲埆
+        function GetConkTypeValue(obj) {
+            $("#HConkTypeName").val(obj[0].鏁呴殰绫诲埆);
+            $("#HConkTypeID").val(obj[0].hitemid);
+        }
+        //鏁呴殰鍘熷洜
+        function GetGy_ConkReasonListValue(obj) {
+            OptionData = obj;
+        }
+        //楠屾敹鍛�
+        function GetHSecManagerValue(obj) {
+            OptionData = obj;
+        }
+        //function GetHReasonValue(obj)  //杩斿洖涓嶈壇鍘熷洜
+        //{
+        //    HReasonName = obj[0].HName;
+        //    ReasonID = obj[0].HItemID;
         //}
-        function GetHZRValue(obj) {   //杩斿洖璐d换宸ュ簭
-            ZRProcName = obj[0].宸ュ簭;
-            //$("#HZRProcName").val(obj[0].宸ュ簭);
-            //$("#HItemID").val(obj[0].HItemID);
-        }
-        //HWorker
-        function GetHWorkerValue(obj) {  //杩斿洖涓嶈壇纭浜�
-            QRName = obj[0].HName;
-            //$("#HQRName").val(obj[0].HName);
-            //$("#HItemID").val(obj[0].HItemID);
-        }
+        ////杩斿洖鐗╂枡
+        //function GetHMaterNameValue(obj) {  //杩斿洖鐗╂枡
+        //    $("#HMater").val(obj[0].HName);
+        //    $("#HMaterID").val(obj[0].HItemID);
+        //    $("#HMaterNumber").val(obj[0].HNumber);
+        //}
+        ////杩斿洖宸ュ簭
+        //function GetHProcValue(obj) {  //杩斿洖宸ュ簭
+        //    $("#HProcName").val(obj[0].宸ュ簭);
+        //    $("#HProcID").val(obj[0].HItemID);
+        //    $("#HProcNumber").val(obj[0].宸ュ簭浠g爜);
+        //}
+      
+        ////杩斿洖鍗曚綅
+        //function GetHUnitNameValue(obj) {
+        //    $("#HUName").val(obj[0].璁¢噺鍗曚綅鍚嶇О);
+        //    $("#HUnitID").val(obj[0].HItemID);
+        //    $("#HUnitNumber").val(obj[0].璁¢噺鍗曚綅浠g爜);
+        //}
+
+       
+        ////function GetHProcValue(obj) {  //杩斿洖鐢宠宸ュ簭
+        ////    SQProcName = obj[0].宸ュ簭;
+        ////    ProcID = obj[0].HItemID;
+        ////    //$("#HSQProcName").val(obj[0].宸ュ簭);
+        ////    //$("#HProcID").val(obj[0].HItemID);
+        ////}
+        //function GetHZRValue(obj) {   //杩斿洖璐d换宸ュ簭
+        //    ZRProcName = obj[0].宸ュ簭;
+        //    //$("#HZRProcName").val(obj[0].宸ュ簭);
+        //    //$("#HItemID").val(obj[0].HItemID);
+        //}
+        ////HWorker
+        //function GetHWorkerValue(obj) {  //杩斿洖涓嶈壇纭浜�
+        //    QRName = obj[0].HName;
+        //    //$("#HQRName").val(obj[0].HName);
+        //    //$("#HItemID").val(obj[0].HItemID);
+        //}
         //闈炵┖楠岃瘉
         function AllowLoadData(sSubStr) {
             if ($("#HDeptName").val() == '') {
@@ -894,6 +932,8 @@
             else {
                 return true;
             }
-        }</script>
+        }
+    
+    </script>
 </body>
 </html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html"
index c4ce9b3..36484ee 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html"
@@ -252,6 +252,7 @@
     <script src="../../layuiadmin/Scripts/webConfig.js"></script>
     <script src="../../layuiadmin/PubCustom.js"></script>
     <script>
+        var OptionData = [];
         //鑾峰彇鍙傛暟
         var params = get_UrlVars();
         if (typeof (params[params[0]]) == "undefined") {
@@ -393,7 +394,7 @@
                     shift: 2,
                     area: ['80%', '80%'],
                     maxmin: true
-                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HEmp', 'yes']
                     , btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
 
@@ -469,7 +470,7 @@
                     shift: 2,
                     area: ['80%', '80%'],
                     maxmin: true
-                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HManager', 'yes']
                     , btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
 
@@ -998,7 +999,7 @@
                                 shift: 2,
                                 area: ['80%', '80%'],
                                 maxmin: true
-                                , content: ['../鍩虹璧勬枡/鍩虹璧勬枡/Gy_RepairList.html', 'yes']
+                                , content: ['../鍩虹璧勬枡/鍩虹璧勬枡/Gy_RepairList.html?type=service', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
 
@@ -1022,7 +1023,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HRepairID: OptionData[0].hitemid,
+                                            HRepairCode: OptionData[0].缁翠慨椤圭洰浠g爜,
+                                            HRepairName: OptionData[0].缁翠慨椤圭洰,
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1038,7 +1047,7 @@
                                 shift: 2,
                                 area: ['80%', '80%'],
                                 maxmin: true
-                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HSecManager', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
 
@@ -1063,7 +1072,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HManagerID: OptionData[0].HItemID,
+                                            HManagerCode: OptionData[0].鑱屽憳浠g爜,
+                                            HManagerName: OptionData[0].鑱屽憳鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1133,6 +1150,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HUnitID: OptionData[0].HItemID,
+                                            HUnitNumber: OptionData[0].璁¢噺鍗曚綅浠g爜,
+                                            HUnitName: OptionData[0].璁¢噺鍗曚綅鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1169,6 +1195,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HMaterID: OptionData[0].HItemID,
+                                            HMaterNumber: OptionData[0].鐗╂枡浠g爜,
+                                            HMaterName: OptionData[0].鐗╂枡鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1183,7 +1218,7 @@
                                 shift: 2,
                                 area: ['90%', '90%'],
                                 maxmin: true
-                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HKeeper', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
 
@@ -1208,7 +1243,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HManagerID: OptionData[0].HItemID,
+                                            HManagerNumber: OptionData[0].鑱屽憳浠g爜,
+                                            HManagerName: OptionData[0].鑱屽憳鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1360,7 +1403,52 @@
             //#endregion
 
         });
-
+        //杩斿洖缁翠慨浜�
+        function GetHEmpValue(obj) {
+            $("#HEmpName").val(obj[0].鑱屽憳鍚嶇О);
+            $("#HEmpID").val(obj[0].HItemID);
+        }
+        //杩斿洖璁惧
+        function GetEquipFileValue(obj) {
+            $("#HEquipName").val(obj[0].璁惧鍚嶇О);
+            $("#HEquipID").val(obj[0].hmainid);
+        }
+        //杩斿洖璐d换浜�
+        function GetHManagerValue(obj) {  //杩斿洖璐d换浜�
+            $("#HManagerName").val(obj[0].鑱屽憳鍚嶇О);
+            $("#HManagerID").val(obj[0].HItemID);
+        }
+        //杩斿洖缁翠慨椤圭洰
+        function GetRepairValue(obj) {
+            $("#HRepairName").val(obj[0].缁翠慨椤圭洰); //缁翠慨椤圭洰鍚嶇О
+            $("#HRepairID").val(obj[0].hitemid); //缁翠慨椤圭洰ID
+        }
+        //杩斿洖閮ㄩ棬
+        function GetHDeptNameValue(obj) {
+            $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+            $("#HDeptID").val(obj[0].HItemID);
+        }
+        //杩斿洖璐d换浜�
+        function GetHSecManagerValue(obj) {  //杩斿洖璐d换浜�
+            OptionData = obj;
+        }
+        //杩斿洖缁翠慨椤圭洰
+        function GetRepairServiceValue(obj) {
+            OptionData = obj;
+        }
+        //鐗╂枡
+        function GetMaterValue(obj) {
+            OptionData = obj;
+        }
+        //璁¢噺鍗曚綅
+        function GetUnitValue(obj) {
+            OptionData = obj;
+        }
+        //璐熻矗浜�
+        function GetHKeeperValue(obj) {
+            OptionData = obj;
+        }
+        
     </script>
 </body>
 </html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html"
index 5af1805..9b8fe05 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html"
@@ -180,6 +180,7 @@
     <script src="../../layuiadmin/PubCustom.js"></script>
     <script src="../../layuiadmin/zgqCustom/zgqCustom.js"></script>
     <script>
+        var OptionData = [];
         //鑾峰彇椤甸潰璺宠浆鍙傛暟
         var params = get_UrlVars();
         if (typeof (params[params[0]]) == "undefined") {
@@ -300,7 +301,7 @@
                     shift: 2,
                     area: ['80%', '80%'],
                     maxmin: true
-                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HEmp', 'yes']
                     , btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
 
@@ -338,7 +339,7 @@
                     shift: 2,
                     area: ['80%', '80%'],
                     maxmin: true
-                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                    , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HManager', 'yes']
                     , btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
 
@@ -763,7 +764,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HRepairCheckID: OptionData[0].HItemID,
+                                            HRepairCheckCode: OptionData[0].缁翠慨楠屾敹椤圭洰浠g爜,
+                                            HRepairCheckName: OptionData[0].缁翠慨楠屾敹椤圭洰,
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -779,7 +788,7 @@
                                 shift: 2,
                                 area: ['80%', '80%'],
                                 maxmin: true
-                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HSecManager', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
 
@@ -804,7 +813,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HManagerID: OptionData[0].HItemID,
+                                            HManagerCode: OptionData[0].鑱屽憳浠g爜,
+                                            HManagerName: OptionData[0].鑱屽憳鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -868,6 +885,35 @@
 
             //#endregion
         });
+        //杩斿洖閮ㄩ棬
+        function GetHDeptNameValue(obj) {
+            $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+            $("#HDeptID").val(obj[0].HItemID);
+        }
+        //杩斿洖楠屾敹浜�
+        function GetHEmpValue(obj) {
+            $("#HEmpName").val(obj[0].鑱屽憳鍚嶇О);
+            $("#HEmpID").val(obj[0].HItemID);
+        }
+        //杩斿洖璐d换浜�
+        function GetHManagerValue(obj) {  //杩斿洖璐d换浜�
+            $("#HManagerName").val(obj[0].鑱屽憳鍚嶇О);
+            $("#HManagerID").val(obj[0].HItemID);
+        }
+        //杩斿洖璁惧
+        function GetEquipFileValue(obj) {
+            $("#HEquipName").val(obj[0].璁惧鍚嶇О);
+            $("#HEquipID").val(obj[0].hmainid);
+        }
+        //杩斿洖璐d换浜�
+        function GetHSecManagerValue(obj) {  //杩斿洖璐d换浜�
+            OptionData = obj;
+        }
+        //杩斿洖楠屾敹椤圭洰
+        function GetGy_RepairCheckListValue(obj) {
+            OptionData = obj;
+        }
+       
     </script>
 </body>
 </html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html"
index 789007e..71cf943 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html"
@@ -156,6 +156,7 @@
         <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">鍒犻櫎</a>
     </script>
     <script>
+        var OptionData = [];
         //鑾峰彇鍙傛暟
         var params = get_UrlVars();
         if (typeof (params[params[0]]) == "undefined") {
@@ -347,7 +348,7 @@
                     }
                 });
             });
-            function get_DocCheckItem2() {
+            window.get_DocCheckItem2 = function () {
                 $.ajax({
                     url: GetWEBURL() + "/Web/GetDotCheckRuleItemByDotCheckRuleID",
                     type: "GET",
@@ -673,6 +674,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HDotCheckItemID: OptionData[0].HItemID,
+                                            HDotCheckCode: OptionData[0].鐐规椤圭洰浠g爜,
+                                            HDotCheckItem: OptionData[0].鐐规椤圭洰鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -687,7 +697,7 @@
                                 shift: 2,
                                 area: ['90%', '90%'],
                                 maxmin: true
-                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HManager', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
                                     //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
@@ -709,6 +719,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HManagerID: OptionData[0].HItemID,
+                                            HManagerCode: OptionData[0].鑱屽憳浠g爜,
+                                            HManagerName: OptionData[0].鑱屽憳鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -867,6 +886,26 @@
             //#endregion
 
         });
+
+        //璁惧
+        function GetEquipFileValue(obj) {
+            $("#HEquipName").val(obj[0].璁惧鍚嶇О);
+            $("#HEquipID").val(obj[0].hmainid);
+        }
+        //鐐规瑙勭▼
+        function GetSb_EquipDotCheckRuleListValue(obj) {
+            $("#HEquipDotCheckRuleInterNo").val(obj.鍗曟嵁鍙�);
+            $("#HEquipDotCheckRuleInterID").val(obj.hmainid);
+            get_DocCheckItem2();
+        }
+        //鐐规椤圭洰
+        function GetDotCheckListValue(obj) {
+            OptionData[0] = obj;
+        }
+        //璐d换浜�
+        function GetHManagerValue(obj) {
+            OptionData = obj;
+        }
     </script>
 </body>
 </html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html"
index 9752097..6e7f173 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html"
@@ -181,6 +181,7 @@
     <script src="../../layuiadmin/Scripts/webConfig.js"></script>
     <script src="../../layuiadmin/PubCustom.js"></script>
     <script>
+        var OptionData = [];
         //鑾峰彇鍙傛暟
         var params = get_UrlVars();
         if (typeof (params[params[0]]) == "undefined") {
@@ -418,7 +419,7 @@
                 });
             });
             //閫夋嫨淇濆吇瑙勭▼鐨勬椂鍊欏甫鍑烘暟鎹�
-            function get_MaintainItem2() {
+            window.get_MaintainItem2 = function () {
                 $.ajax({
                     url: GetWEBURL() + "/Web/GetMaintainItemtemByMaintainRuleID",
                     type: "GET",
@@ -1020,6 +1021,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HMaintainItemID: OptionData[0].HItemID,
+                                            HMaintainItemNumber: OptionData[0].淇濆吇椤圭洰浠g爜,
+                                            HMaintainItem: OptionData[0].淇濆吇椤圭洰鍚嶇О,
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1034,7 +1044,7 @@
                                 shift: 2,
                                 area: ['90%', '90%'],
                                 maxmin: true
-                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HEmp', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
 
@@ -1059,7 +1069,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HManagerID: OptionData[0].HItemID,
+                                            HManagerNumber: OptionData[0].鑱屽憳浠g爜,
+                                            HManagerName: OptionData[0].鑱屽憳鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1106,6 +1124,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HUnitID: OptionData[0].HItemID,
+                                            HUnitNumber: OptionData[0].璁¢噺鍗曚綅浠g爜,
+                                            HUnitName: OptionData[0].璁¢噺鍗曚綅鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1142,6 +1169,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HMaterID: OptionData[0].HItemID,
+                                            HMaterNumber: OptionData[0].鐗╂枡浠g爜,
+                                            HMaterName: OptionData[0].鐗╂枡鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1156,7 +1192,7 @@
                                 shift: 2,
                                 area: ['90%', '90%'],
                                 maxmin: true
-                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                , content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HManager', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
 
@@ -1181,7 +1217,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HManagerID: OptionData[0].HItemID,
+                                            HManagerNumber: OptionData[0].鑱屽憳浠g爜,
+                                            HManagerName: OptionData[0].鑱屽憳鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -1249,6 +1293,37 @@
             }
             //#endregion
         });
+
+        //璁惧
+        function GetEquipFileValue(obj) {
+            $("#HEquipName").val(obj[0].璁惧鍚嶇О);
+            $("#HEquipID").val(obj[0].hmainid);
+        }
+        //淇濆吇瑙勭▼
+        function GetEquipMaintainRuleListValue(obj) {
+            $("#HEquipMaintainRuleInterNo").val(obj.鍗曟嵁鍙�);
+            $("#HEquipMaintainRuleInterID").val(obj.hmainid);
+            get_MaintainItem2();
+        }
+        //淇濆吇椤圭洰
+        function GetMaintainListValue(obj) {
+            OptionData[0] = obj;
+        }
+        //璐d换浜�
+        function GetHManagerValue(obj) {
+            OptionData = obj;
+        }
+        function GetHEmpValue(obj) {
+            OptionData = obj;
+        }
+        //璁¢噺鍗曚綅
+        function GetUnitValue(obj) {
+            OptionData = obj;
+        }
+        //閰嶄欢
+        function GetMaterValue(obj) {
+            OptionData = obj;
+        }
     </script>
 </body>
 </html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html"
index 139b66f..7dcf2e3 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html"
@@ -194,7 +194,7 @@
         </script>
 
         <script>
-
+            var OptionData = [];
             layui.config({
                 base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
             }).extend({
@@ -446,7 +446,7 @@
                         , area: ["90%", "90%"] //绐椾綋澶у皬
                         , title: "浜哄憳琛�"  //鏍囬
                         , shift: 2 //寮瑰嚭鍔ㄧ敾
-                        , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                        , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HEmp', 'yes']
                         , btn: ["纭畾", "鍙栨秷"]
                         , btn1: function (index) { //鎸夐挳涓�鍥炶皟
                             var iframeWindow = window["layui-layer-iframe" + index]; //鑾峰彇寮圭獥椤甸潰
@@ -475,7 +475,7 @@
                         , area: ["90%", "90%"] //绐椾綋澶у皬
                         , title: "浜哄憳琛�"  //鏍囬
                         , shift: 2 //寮瑰嚭鍔ㄧ敾
-                        , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                        , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HManager', 'yes']
                         , btn: ["纭畾", "鍙栨秷"]
                         , btn1: function (index) { //鎸夐挳涓�鍥炶皟
                             var iframeWindow = window["layui-layer-iframe" + index]; //鑾峰彇寮圭獥椤甸潰
@@ -669,7 +669,7 @@
                                     , shift: 2 //寮瑰嚭鍔ㄧ敾
                                     , area: ["90%", "90%"] //绐椾綋澶у皬
                                     , maxmin: true //璁剧疆鏈�澶ф渶灏忔寜閽槸鍚︽樉绀�
-                                    , content: ["../../鍩虹璧勬枡/鍩虹璧勬枡/Gy_RepairList.html", "yes"]
+                                    , content: ["../../鍩虹璧勬枡/鍩虹璧勬枡/Gy_RepairList.html?type=service", "yes"]
                                     , btn: ["纭畾", "鍙栨秷"]
                                     , btn1: function (index, laero) {
                                         //鎸夐挳涓�  鐨勫洖璋�
@@ -687,6 +687,17 @@
                                         })
                                         layer.close(index);//鍏抽棴寮圭獥
                                     }
+                                    , end: function () {
+                                        if (OptionData.length > 0) {
+                                            //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                            obj.update({
+                                                "瀛愮淮淇」鐩�": OptionData[0].缁翠慨椤圭洰
+                                                , "HRepairID": OptionData[0].hitemid
+                                                , "瀛愮淮淇」鐩唬鐮�": OptionData[0].缁翠慨椤圭洰浠g爜
+                                            });
+                                            OptionData = [];
+                                        }
+                                    }
                                 })
                             }
                             //缁翠慨浜�
@@ -700,7 +711,7 @@
                                     , shift: 2 //寮瑰嚭鍔ㄧ敾
                                     , area: ["90%", "90%"] //绐椾綋澶у皬
                                     , maxmin: true //璁剧疆鏈�澶ф渶灏忔寜閽槸鍚︽樉绀�
-                                    , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                    , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HSecManager', 'yes']
                                     , btn: ["纭畾", "鍙栨秷"]
                                     , btn1: function (index, laero) {
                                         //鎸夐挳涓�  鐨勫洖璋�
@@ -717,6 +728,17 @@
                                             , "瀛愯礋璐d汉浠g爜": checkStatus.data[0].鑱屽憳浠g爜
                                         })
                                         layer.close(index);//鍏抽棴寮圭獥
+                                    }
+                                    , end: function () {
+                                        if (OptionData.length > 0) {
+                                            //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                            obj.update({
+                                                "瀛愯礋璐d汉": OptionData[0].鑱屽憳鍚嶇О
+                                                , "HManagerID": OptionData[0].HItemID
+                                                , "瀛愯礋璐d汉浠g爜": OptionData[0].鑱屽憳浠g爜
+                                            });
+                                            OptionData = [];
+                                        }
                                     }
                                 })
                             }
@@ -785,6 +807,41 @@
                 //#endregion
 
             });
+
+            //杩斿洖閮ㄩ棬
+            function GetHDeptNameValue(obj) {
+                $("#HDeptIDName").val(obj[0].閮ㄩ棬鍚嶇О);
+                $("#HDeptID").val(obj[0].HItemID);
+            }
+            //杩斿洖缁翠慨浜�
+            function GetHEmpValue(obj) {
+                $("#HEmpIDName").val(obj[0].鑱屽憳鍚嶇О);
+                $("#HEmpID").val(obj[0].HItemID);
+            }
+            //杩斿洖璐d换浜�
+            function GetHManagerValue(obj) {  //杩斿洖璐d换浜�
+                $("#HManagerIDName").val(obj[0].鑱屽憳鍚嶇О);
+                $("#HManagerID").val(obj[0].HItemID);
+            }
+            //杩斿洖璁惧
+            function GetEquipFileValue(obj) {
+                $("#HEquipIDName").val(obj[0].璁惧鍚嶇О);
+                $("#HEquipID").val(obj[0].hmainid);
+            }
+            //杩斿洖缁翠慨椤圭洰
+            function GetRepairValue(obj) {
+                $("#HRepairIDName").val(obj[0].缁翠慨椤圭洰); //缁翠慨椤圭洰鍚嶇О
+                $("#HRepairID").val(obj[0].hitemid); //缁翠慨椤圭洰ID
+            }
+            //杩斿洖璐d换浜�
+            function GetHSecManagerValue(obj) {  //杩斿洖璐d换浜�
+                OptionData = obj;
+            }
+            //杩斿洖缁翠慨椤圭洰
+            function GetRepairServiceValue(obj) {
+                OptionData = obj;
+            }
         </script>
+
 </body>
 </html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html"
index acd303a..24b8aaa 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html"
@@ -138,6 +138,7 @@
     <script src="../../../layuiadmin/layui/lay/modules/util.js"></script>
     <script src="../../../layuiadmin/PubCustom.js"></script>
     <script>
+        var OptionData = [];
         var Stverf = "";
         //鑾峰彇鍙傛暟
         var params = get_UrlVars();
@@ -298,6 +299,14 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HDotCheckItemID: OptionData[0].HItemID,
+                                            HDotCheckItem: OptionData[0].鐐规椤圭洰鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -312,7 +321,7 @@
                                 shift: 2,
                                 area: ['90%', '90%'],
                                 maxmin: true
-                                , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HManager', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
                                     //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
@@ -334,6 +343,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HManagerID: OptionData[0].HItemID,
+                                            HManagerNumber: OptionData[0].鑱屽憳浠g爜,
+                                            HManagerName: OptionData[0].鑱屽憳鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -571,6 +589,14 @@
 
             return Result;
         }
+        //鐐规椤圭洰
+        function GetDotCheckListValue(obj) {
+            OptionData[0] = obj;
+        }
+        //璐d换浜�
+        function GetHManagerValue(obj) {
+            OptionData = obj;
+        }   
     </script>
 </body>
 </html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleList.html"
index 92396c1..aad991d 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleList.html"
@@ -234,6 +234,14 @@
                 });
             })
 
+            //鍙屽嚮琛ㄦ牸浜嬩欢
+            table.on('rowDouble(mainTable)', function (obj) {
+                var index = parent.layer.getFrameIndex(window.name);
+                var data = obj.data;
+                //杩斿洖鏂规硶
+                parent.GetSb_EquipDotCheckRuleListValue(data);
+                parent.layer.close(index);
+            })
 
             //鏌ヨ鎸夐挳
             form.on('submit(btnSearch)', function (data) {
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleEdit.html"
index 1245603..e790a08 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleEdit.html"
@@ -145,6 +145,7 @@
     <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
     <script src="../../../layuiadmin/PubCustom.js"></script>
     <script>
+        var OptionData = [];
         //鑾峰彇鍙傛暟
         var params = get_UrlVars();
         if (typeof (params[params[0]]) == "undefined") {
@@ -675,6 +676,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HMaintainItemID: OptionData[0].HItemID,
+                                            HMaintainItemNumber: OptionData[0].淇濆吇椤圭洰浠g爜,
+                                            HMaintainItem: OptionData[0].淇濆吇椤圭洰鍚嶇О,
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -690,7 +700,7 @@
                                 shift: 2,
                                 area: ['90%', '90%'],
                                 maxmin: true
-                                , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+                                , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?type=HManager', 'yes']
                                 , btn: ['纭畾', '鍙栨秷']
                                 , btn1: function (index, layero) {
 
@@ -715,7 +725,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
-
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HManagerID: OptionData[0].HItemID,
+                                            HManagerNumber: OptionData[0].鑱屽憳浠g爜,
+                                            HManagerName: OptionData[0].鑱屽憳鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -762,6 +780,15 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HUnitID: OptionData[0].HItemID,
+                                            HUnitNumber: OptionData[0].璁¢噺鍗曚綅浠g爜,
+                                            HUnitName: OptionData[0].璁¢噺鍗曚綅鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -801,6 +828,18 @@
                                     //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
                                 },
                                 end: function () {
+                                    if (OptionData.length > 0) {
+                                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                                        obj.update({
+                                            HMaterID: OptionData[0].HItemID,
+                                            HMaterNumber: OptionData[0].鐗╂枡浠g爜,
+                                            HMaterName: OptionData[0].鐗╂枡鍚嶇О,
+                                            HUnitID: OptionData[0].HUnitID,
+                                            HUnitNumber: OptionData[0].璁¢噺鍗曚綅浠g爜,
+                                            HUnitName: OptionData[0].璁¢噺鍗曚綅鍚嶇О
+                                        });
+                                        OptionData = [];
+                                    }
                                 }
                             });
                         }
@@ -850,6 +889,22 @@
             //#endregion
 
         });
+        //淇濆吇椤圭洰
+        function GetMaintainListValue(obj) {
+            OptionData[0] = obj;
+        }
+        //璐d换浜�
+        function GetHManagerValue(obj) {
+            OptionData = obj;
+        }
+        //璁¢噺鍗曚綅
+        function GetUnitValue(obj) {
+            OptionData = obj;
+        }
+        //閰嶄欢
+        function GetMaterValue(obj) {
+            OptionData = obj;
+        }
     </script>
 </body>
 </html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleList.html"
index 348e1e2..667c73d 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleList.html"
@@ -308,6 +308,15 @@
                 });
             })
 
+            //鍙屽嚮琛ㄦ牸浜嬩欢
+            table.on('rowDouble(mainTable)', function (obj) {
+                var index = parent.layer.getFrameIndex(window.name);
+                var data = obj.data;
+                //杩斿洖鏂规硶
+                parent.GetEquipMaintainRuleListValue(data);
+                parent.layer.close(index);
+            })
+
             //閲嶇疆鎸夐挳
             form.on('submit(btnReSearch)', function (data) {
                 set_ClearQuery();

--
Gitblit v1.9.1