From a2a4050db360fa0437ea71adcb9d85f06409e21f Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期二, 16 八月 2022 16:23:52 +0800
Subject: [PATCH] 设备履历+器具履历

---
 WebTM/views/设备管理/Sb_EquipDotCheckBillEdit.html    |    4 
 WebTM/views/模治具管理/模治具管理/Gy_MouldFileResume.html   |  110 +++++++++++++++++++-----------------
 WebTM/views/设备管理/设备档案/Gy_EquipFileBillResume.html |   40 ++++++------
 3 files changed, 79 insertions(+), 75 deletions(-)

diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileResume.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileResume.html"
index 63cc97a..6ad46db 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileResume.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileResume.html"
@@ -186,7 +186,7 @@
                 var datas = obj.data; //鑾峰緱褰撳墠琛屾暟鎹�
                 var linterid = datas.hmainid;
                 $.ajax({
-                    url: GetWEBURL() + 'Sb_EquipMaintainBill/Sb_EquipMaintainBillListProjectDetaiNew',
+                    url: GetWEBURL() + 'Gy_EquipFileMain/Gy_MouldFileBillResumeDate',
                     type: "GET",
                     data: { "HInterID": linterid },
                     success: function (data1) {
@@ -195,6 +195,10 @@
                             table1.render(option1);
                             option2.data = data1.list[1];
                             table2.render(option2);
+                            option3.data = data1.list[2];
+                            table3.render(option3);
+                            option4.data = data1.list[3];
+                            table4.render(option4);
                         } else {
                             layer.alert("鑾峰彇澶辫触", { icon: 5 });
                         }
@@ -313,21 +317,21 @@
                     , limits: [50, 500, 5000, 20000]
                     , cols: [[
                         //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                        , { field: 'HMaintainItemID', title: '鏃ユ湡', width: 200}
-                        , { field: 'HMaintainItemNumber', title: '鍗曟嵁绫诲瀷', width: 200 }
-                        , { field: 'HMaintainItem', title: '鍗曟嵁鍙�', width: 200 }
-                        , { field: 'HMaintainPart', title: '鍣ㄥ叿鍒嗙被', width: 200 }
-                        , { field: 'HClaim', title: '鍣ㄥ叿鏉$爜', width: 200 }
-                        , { field: 'HManagerID', title: '鍣ㄥ叿缂栫爜', width: 200, hide: true }
-                        , { field: 'HManagerNumber', title: '鍣ㄥ叿鍚嶇О', width: 200 }
-                        , { field: 'HManagerNumber', title: '鍣ㄥ叿瑙勬牸', width: 200 }
-                        , { field: 'HManagerNumber', title: '鍣ㄥ叿鍨嬪彿', width: 200 }
-                        , { field: 'HManagerNumber', title: '鏁伴噺', width: 200 }
-                        , { field: 'HManagerName', title: '浠撳簱', width: 200 }
-                        , { field: 'HRemark', title: '浠撲綅', width: 200 }
-                        , { field: 'HRemark', title: '璋冨嚭浠撳簱', width: 200 }
-                        , { field: 'HRemark', title: '璋冨嚭浠撲綅', width: 200 }
+                        , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
+                        , { field: '鏃ユ湡', title: '鏃ユ湡', width: 200}
+                        , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 }
+                        , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 200 }
+                        , { field: '鍣ㄥ叿鍒嗙被', title: '鍣ㄥ叿鍒嗙被', width: 200 }
+                        , { field: '鍣ㄥ叿鏉$爜', title: '鍣ㄥ叿鏉$爜', width: 200 }
+                        , { field: '鍣ㄥ叿缂栫爜', title: '鍣ㄥ叿缂栫爜', width: 200 }
+                        , { field: '鍣ㄥ叿鍚嶇О', title: '鍣ㄥ叿鍚嶇О', width: 200 }
+                        , { field: '鍣ㄥ叿瑙勬牸', title: '鍣ㄥ叿瑙勬牸', width: 200 }
+                        , { field: '鍣ㄥ叿鍨嬪彿', title: '鍣ㄥ叿鍨嬪彿', width: 200 }
+                        , { field: '鏁伴噺', title: '鏁伴噺', width: 200 }
+                        , { field: '浠撳簱', title: '浠撳簱', width: 200 }
+                        , { field: '浠撲綅', title: '浠撲綅', width: 200 }
+                        , { field: '璋冨嚭浠撳簱', title: '璋冨嚭浠撳簱', width: 200 }
+                        , { field: '璋冨嚭浠撲綅', title: '璋冨嚭浠撲綅', width: 200 }
                         , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
                         , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
                         , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
@@ -352,23 +356,23 @@
                     , limits: [50, 500, 5000, 20000]
                     , cols: [[
                         //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                        , { field: 'HMaintainItemID', title: '鏃ユ湡', width: 200 }
-                        , { field: 'HMaintainItemNumber', title: '鍗曟嵁绫诲瀷', width: 200 }
-                        , { field: 'HMaintainItem', title: '鍗曟嵁鍙�', width: 200 }
-                        , { field: 'HMaintainItem', title: '浜у搧浠g爜', width: 200 }
-                        , { field: 'HMaintainItem', title: '浜у搧鍚嶇О', width: 200 }
-                        , { field: 'HMaintainItem', title: '瑙勬牸鍨嬪彿', width: 200 }
-                        , { field: 'HMaintainPart', title: '鍣ㄥ叿鍒嗙被', width: 200 }
-                        , { field: 'HClaim', title: '鍣ㄥ叿鏉$爜', width: 200 }
-                        , { field: 'HManagerID', title: '鍣ㄥ叿缂栫爜', width: 200, hide: true }
-                        , { field: 'HManagerNumber', title: '鍣ㄥ叿鍚嶇О', width: 200 }
-                        , { field: 'HManagerNumber', title: '鍣ㄥ叿瑙勬牸', width: 200 }
-                        , { field: 'HManagerNumber', title: '鍣ㄥ叿鍨嬪彿', width: 200 }
-                        , { field: 'HManagerNumber', title: '鐢熶骇鏁伴噺', width: 200 }
-                        , { field: 'HManagerNumber', title: '璁捐瀵垮懡', width: 200 }
-                        , { field: 'HManagerNumber', title: '鑰楃敤瀵垮懡', width: 200 }
-                        , { field: 'HManagerNumber', title: '鍓╀綑瀵垮懡', width: 200 }
+                        , { templet: '#xuhao2', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
+                        , { field: '鏃ユ湡', title: '鏃ユ湡', width: 200 }
+                        , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 }
+                        , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 200 }
+                        , { field: '浜у搧浠g爜', title: '浜у搧浠g爜', width: 200 }
+                        , { field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О', width: 200 }
+                        , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 200 }
+                        , { field: '鍣ㄥ叿鍒嗙被', title: '鍣ㄥ叿鍒嗙被', width: 200 }
+                        , { field: '鍣ㄥ叿鏉$爜', title: '鍣ㄥ叿鏉$爜', width: 200 }
+                        , { field: '鍣ㄥ叿缂栫爜', title: '鍣ㄥ叿缂栫爜', width: 200, hide: true }
+                        , { field: '鍣ㄥ叿鍚嶇О', title: '鍣ㄥ叿鍚嶇О', width: 200 }
+                        , { field: '鍣ㄥ叿瑙勬牸', title: '鍣ㄥ叿瑙勬牸', width: 200 }
+                        , { field: '鍣ㄥ叿鍨嬪彿', title: '鍣ㄥ叿鍨嬪彿', width: 200 }
+                        , { field: '鐢熶骇鏁伴噺', title: '鐢熶骇鏁伴噺', width: 200 }
+                        , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 200 }
+                        , { field: '鑰楃敤瀵垮懡', title: '鑰楃敤瀵垮懡', width: 200 }
+                        , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 200 }
                         , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
                         , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
                         , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
@@ -393,16 +397,16 @@
                     , limits: [50, 500, 5000, 20000]
                     , cols: [[
                         //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                        , { field: 'HMaintainItemID', title: '鏃ユ湡', width: 200 }
-                        , { field: 'HMaintainItemNumber', title: '鍗曟嵁绫诲瀷', width: 200 }
-                        , { field: 'HMaintainItem', title: '鍗曟嵁鍙�', width: 200 }
-                        , { field: 'HMaintainPart', title: '鍣ㄥ叿鍒嗙被', width: 200 }
-                        , { field: 'HClaim', title: '鍣ㄥ叿鏉$爜', width: 200 }
-                        , { field: 'HManagerID', title: '鍣ㄥ叿缂栫爜', width: 200, hide: true }
-                        , { field: 'HManagerNumber', title: '鍣ㄥ叿鍚嶇О', width: 200 }
-                        , { field: 'HManagerName', title: '鍣ㄥ叿瑙勬牸', width: 200 }
-                        , { field: 'HRemark', title: '鍣ㄥ叿鍨嬪彿', width: 200 }
+                        , { templet: '#xuhao3', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
+                        , { field: '鏃ユ湡', title: '鏃ユ湡', width: 200 }
+                        , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 }
+                        , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 200 }
+                        , { field: '鍣ㄥ叿鍒嗙被', title: '鍣ㄥ叿鍒嗙被', width: 200 }
+                        , { field: '鍣ㄥ叿鏉$爜', title: '鍣ㄥ叿鏉$爜', width: 200 }
+                        , { field: '鍣ㄥ叿缂栫爜', title: '鍣ㄥ叿缂栫爜', width: 200, hide: true }
+                        , { field: '鍣ㄥ叿鍚嶇О', title: '鍣ㄥ叿鍚嶇О', width: 200 }
+                        , { field: '鍣ㄥ叿瑙勬牸', title: '鍣ㄥ叿瑙勬牸', width: 200 }
+                        , { field: '鍣ㄥ叿鍨嬪彿', title: '鍣ㄥ叿鍨嬪彿', width: 200 }
                         , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
                         , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
                         , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
@@ -427,16 +431,16 @@
                     , limits: [50, 500, 5000, 20000]
                     , cols: [[
                         //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                        , { field: 'HMaintainItemID', title: '鏃ユ湡', width: 200 }
-                        , { field: 'HMaintainItemNumber', title: '鍗曟嵁绫诲瀷', width: 200 }
-                        , { field: 'HMaintainItem', title: '鍗曟嵁鍙�', width: 200 }
-                        , { field: 'HMaintainPart', title: '鍣ㄥ叿鍒嗙被', width: 200 }
-                        , { field: 'HClaim', title: '鍣ㄥ叿鏉$爜', width: 200 }
-                        , { field: 'HManagerID', title: '鍣ㄥ叿缂栫爜', width: 200, hide: true }
-                        , { field: 'HManagerNumber', title: '鍣ㄥ叿鍚嶇О', width: 200 }
-                        , { field: 'HManagerName', title: '鍣ㄥ叿瑙勬牸', width: 200 }
-                        , { field: 'HRemark', title: '鍣ㄥ叿鍨嬪彿', width: 200 }
+                        , { templet: '#xuhao4', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
+                        , { field: '鏃ユ湡', title: '鏃ユ湡', width: 200 }
+                        , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 }
+                        , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 200 }
+                        , { field: '鍣ㄥ叿鍒嗙被', title: '鍣ㄥ叿鍒嗙被', width: 200 }
+                        , { field: '鍣ㄥ叿鏉$爜', title: '鍣ㄥ叿鏉$爜', width: 200 }
+                        , { field: '鍣ㄥ叿缂栫爜', title: '鍣ㄥ叿缂栫爜', width: 200, hide: true }
+                        , { field: '鍣ㄥ叿鍚嶇О', title: '鍣ㄥ叿鍚嶇О', width: 200 }
+                        , { field: '鍣ㄥ叿瑙勬牸', title: '鍣ㄥ叿瑙勬牸', width: 200 }
+                        , { field: '鍣ㄥ叿鍨嬪彿', title: '鍣ㄥ叿鍨嬪彿', width: 200 }
                         , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
                         , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
                         , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
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 18158cc..3bf26e7 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"
@@ -280,8 +280,8 @@
                                     for (var i = 0; i < BYData.data.length; i++) {
                                         var checkrow = {
                                             "HDotCheckItemID": BYData.data[i].HDotCheckItemID, "HDotCheckCode": BYData.data[i].HDotCheckCode, "HDotCheckItem": BYData.data[i].HDotCheckItem,
-                                            "HDotCheckPart": BYData.data[i].HDotCheckPart, "HClaim": rowdate1[i].HClaim, "HManagerID": BYData.data[i].HManagerID, "HManagerCode": BYData.data[i].HManagerCode,
-                                            "HManagerName": BYData.data[i].HManagerName,  "HRemark": rowdate1[i].HRemark
+                                            "HDotCheckPart": BYData.data[i].HDotCheckPart,  "HManagerID": BYData.data[i].HManagerID, "HManagerCode": BYData.data[i].HManagerCode,
+                                            "HManagerName": BYData.data[i].HManagerName, "HClaim": rowdate1[i].HClaim, "HRemark": rowdate1[i].HRemark
                                         };
                                         buttonArr.push(checkrow);  //灏嗕箣鍓嶇殑鏁版嵁瀛樺偍
                                     }
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileBillResume.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileBillResume.html"
index b0040ff..5c51329 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileBillResume.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileBillResume.html"
@@ -168,7 +168,7 @@
                 var datas = obj.data; //鑾峰緱褰撳墠琛屾暟鎹�
                 var linterid = datas.hmainid;
                 $.ajax({
-                    url: GetWEBURL() + 'Sb_EquipMaintainBill/Sb_EquipMaintainBillListProjectDetaiNew',
+                    url: GetWEBURL() + 'Gy_EquipFileMain/Sb_EquipFileBillResumeDate',
                     type: "GET",
                     data: { "HInterID": linterid },
                     success: function (data1) {
@@ -282,15 +282,15 @@
                     , cols: [[
                         //{ type: 'checkbox', fixed: 'left' }
                         , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                        , { field: 'HMaintainItemID', title: '鏃ユ湡', width: 200}
-                        , { field: 'HMaintainItemNumber', title: '鍗曟嵁绫诲瀷', width: 200 }
-                        , { field: 'HMaintainItem', title: '鍗曟嵁鍙�', width: 200 }
-                        , { field: 'HMaintainPart', title: '璁惧鍒嗙被', width: 200 }
-                        , { field: 'HClaim', title: '璁惧鏉$爜', width: 200 }
-                        , { field: 'HManagerID', title: '璁惧缂栫爜', width: 200, hide: true }
-                        , { field: 'HManagerNumber', title: '璁惧鍚嶇О', width: 200 }
-                        , { field: 'HManagerName', title: '璁惧瑙勬牸', width: 200 }
-                        , { field: 'HRemark', title: '璁惧鍨嬪彿', width: 200 }
+                        , { field: '鏃ユ湡', title: '鏃ユ湡', width: 200}
+                        , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 }
+                        , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 200 }
+                        , { field: '璁惧鍒嗙被', title: '璁惧鍒嗙被', width: 200 }
+                        , { field: '璁惧鏉$爜', title: '璁惧鏉$爜', width: 200 }
+                        , { field: '璁惧缂栫爜', title: '璁惧缂栫爜', width: 200, hide: true }
+                        , { field: '璁惧鍚嶇О', title: '璁惧鍚嶇О', width: 200 }
+                        , { field: '璁惧瑙勬牸', title: '璁惧瑙勬牸', width: 200 }
+                        , { field: '璁惧鍨嬪彿', title: '璁惧鍨嬪彿', width: 200 }
                         , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
                         , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
                         , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
@@ -315,16 +315,16 @@
                     , limits: [50, 500, 5000, 20000]
                     , cols: [[
                         //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                        , { field: 'HMaintainItemID', title: '鏃ユ湡', width: 200 }
-                        , { field: 'HMaintainItemNumber', title: '鍗曟嵁绫诲瀷', width: 200 }
-                        , { field: 'HMaintainItem', title: '鍗曟嵁鍙�', width: 200 }
-                        , { field: 'HMaintainPart', title: '璁惧鍒嗙被', width: 200 }
-                        , { field: 'HClaim', title: '璁惧鏉$爜', width: 200 }
-                        , { field: 'HManagerID', title: '璁惧缂栫爜', width: 200, hide: true }
-                        , { field: 'HManagerNumber', title: '璁惧鍚嶇О', width: 200 }
-                        , { field: 'HManagerName', title: '璁惧瑙勬牸', width: 200 }
-                        , { field: 'HRemark', title: '璁惧鍨嬪彿', width: 200 }
+                        , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
+                        , { field: '鏃ユ湡', title: '鏃ユ湡', width: 200 }
+                        , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 }
+                        , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 200 }
+                        , { field: '璁惧鍒嗙被', title: '璁惧鍒嗙被', width: 200 }
+                        , { field: '璁惧鏉$爜', title: '璁惧鏉$爜', width: 200 }
+                        , { field: '璁惧缂栫爜', title: '璁惧缂栫爜', width: 200, hide: true }
+                        , { field: '璁惧鍚嶇О', title: '璁惧鍚嶇О', width: 200 }
+                        , { field: '璁惧瑙勬牸', title: '璁惧瑙勬牸', width: 200 }
+                        , { field: '璁惧鍨嬪彿', title: '璁惧鍨嬪彿', width: 200 }
                         , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
                         , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
                         , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }

--
Gitblit v1.9.1