From fef7cdb9a7402aafb225b03ecc0e0e09eaebe58c Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期二, 08 四月 2025 08:59:17 +0800 Subject: [PATCH] 1 --- WebTM/views/设备管理/Sb_EquipDotCheckPlanBillEdit.html | 113 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 97 insertions(+), 16 deletions(-) diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html" index a5fb2b7..9f475fb 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html" @@ -30,11 +30,11 @@ </div> <div class="layui-card-body"> <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief"> - <!--<ul class="layui-tab-title"> - <li class="layui-this">鍩烘湰淇℃伅</li>--> - <!--<li>鍏朵粬淇℃伅</li>--> - <!--</ul>--> <h1 style="text-align: center; padding: 10px 0;"><b>璁惧鐐规璁″垝鍗�</b></h1> + <ul class="layui-tab-title" lay-filter="tab-all"> + <li lay-id="1" style="padding:1px;" class="layui-this">鍩烘湰淇℃伅</li> + <li lay-id="2" style="padding:1px;">鍒跺崟淇℃伅</li> + </ul> <div class="layui-tab-content"> <div class="layui-tab-item layui-show"> <div class="layui-row"> @@ -144,6 +144,76 @@ </div> </div> </div> + <!--鍒跺崟淇℃伅--> + <div class="layui-tab-item"> + <div class="layui-form-item"> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">鍒跺崟浜�</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">瀹℃牳浜�</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HChecker" id="HChecker" style="background-color:#efefef4d;" readonly> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">鍏抽棴浜�</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HCloseMan" id="HCloseMan" style="background-color:#efefef4d;" readonly> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">淇敼浜�</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HUpDater" id="HUpDater" style="background-color:#efefef4d;" readonly> + </div> + </div> + + </div> + <div class="layui-form-item"> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">鍒跺崟鏃ユ湡</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HMakeDate" id="HMakeDate" style="background-color:#efefef4d;" readonly> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">瀹℃牳鏃ユ湡</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HCheckDate" id="HCheckDate" style="background-color:#efefef4d;" readonly> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">鍏抽棴鏃ユ湡</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HCloseDate" id="HCloseDate" style="background-color:#efefef4d;" readonly> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">淇敼鏃ユ湡</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HUpDateDate" id="HUpDateDate" style="background-color:#efefef4d;" readonly> + </div> + </div> + </div> + <div class="layui-form-item"> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">浣滃簾浜�</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HDeleteMan" id="HDeleteMan" style="background-color:#efefef4d;" readonly> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label" style="width: 85px;">浣滃簾鏃ユ湡</label> + <div class="layui-input-block" style="margin-left: 120px;"> + <input type="text" class="layui-input" name="HDeleteDate" id="HDeleteDate" style="background-color:#efefef4d;" readonly> + </div> + </div> + </div> + </div> </div> </div> </div> @@ -160,9 +230,9 @@ <div class="layui-tab-item"> <!--鐐规璁″垝--> <table class="layui-hide" id="mainTable_plan" lay-filter="mainTable_plan"></table> - </div> + </div> </div> - </div> + </div> <script type="text/html" id="toolbarDemo"> <div class="layui-btn-container"> @@ -188,6 +258,7 @@ <script src="../../layuiadmin/Scripts/jquery-1.4.1.js"></script> <script src="../../layuiadmin/Scripts/webConfig.js"></script> <script src="../../layuiadmin/PubCustom.js"></script> + <script src="../../layuiadmin/zgqCustom/zgqCustom.js"></script> <script> //鑾峰彇鍙傛暟 var params = get_UrlVars(); @@ -337,7 +408,7 @@ shift: 2, area: ['80%', '80%'], maxmin: true - , content: ['../璁惧绠$悊/璁惧妗f/Gy_EquipFileMainList.html', 'yes'] + , content: ['../璁惧绠$悊/璁惧妗f/Gy_EquipFileMainList.html?openType=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) { @@ -375,7 +446,7 @@ shift: 2, area: ['80%', '80%'], maxmin: true, - content: ['../璁惧绠$悊/璁惧瑙勭▼鍗�/Sb_EquipDotCheckRuleList.html', 'yes'], + content: ['../璁惧绠$悊/璁惧瑙勭▼鍗�/Sb_EquipDotCheckRuleList.html?openType=2', 'yes'], btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) { //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 @@ -409,7 +480,7 @@ shift: 2, area: ['80%', '80%'], maxmin: true, - content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'], + content: ['../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html?openType=2&HOrgName=' + sessionStorage["Organization"], 'yes'], btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) { //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 @@ -617,7 +688,7 @@ }, success: function (result) { if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 - var data = result.data.h_v_Sb_EquipDotCheckPlanBillList[0]; + var data = result.data.h_v_Sb_EquipDotCheckPlanBill_Edit2[0]; form.val("component-form-group", { //formTest 鍗� class="layui-form" 鎵�鍦ㄥ厓绱犲睘鎬� lay-filter="" 瀵瑰簲鐨勫�� "HInterID": OperationType == 2 ? "" : linterid , "HBillNo": OperationType == 2 ? "" : data.鍗曟嵁鍙� @@ -637,6 +708,16 @@ , "HUSEORGID": data.HUSEORGID , "HDeptID": data.HDeptID , "HDeptName": data.閮ㄩ棬鍚嶇О + , "HMaker": data.鍒跺崟浜� + , "HMakeDate": data.鍒跺崟鏃ユ湡 == null ? "" : Format(new Date(data.鍒跺崟鏃ユ湡), "yyyy-MM-dd") + , "HChecker": data.瀹℃牳浜� + , "HCheckDate": data.瀹℃牳鏃ユ湡 == null ? "" : Format(new Date(data.瀹℃牳鏃ユ湡), "yyyy-MM-dd") + , "HUpDater": data.淇敼浜� + , "HUpDateDate": data.淇敼鏃ユ湡 == null ? "" : Format(new Date(data.淇敼鏃ユ湡), "yyyy-MM-dd") + , "HCloseMan": data.鍏抽棴浜� + , "HCloseDate": data.鍏抽棴鏃ユ湡 == null ? "" : Format(new Date(data.鍏抽棴鏃ユ湡), "yyyy-MM-dd") + , "HDeleteMan": data.浣滃簾浜� + , "HDeleteDate": data.浣滃簾鏃ユ湡 == null ? "" : Format(new Date(data.浣滃簾鏃ユ湡), "yyyy-MM-dd") }); if ($("#HUSEORGID").val() == null || $("#HUSEORGID").val() == "" || $("#HUSEORGID").val() == undefined) { $("#HUSEORGID").val(sessionStorage["OrganizationID"]) @@ -650,7 +731,7 @@ }); } // 缂栬緫鑾峰彇琛ㄤ綋--鐐规椤圭洰 - function set_EditGrid(linterid) { + function set_EditGrid(linterid) { //缂栬緫鍔犺浇鏁版嵁 $.ajax({ url: GetWEBURL() + 'Sb_EquipDotCheckPlanBill/Sb_EquipDotCheckPlanBillListProjectDetai', @@ -678,7 +759,7 @@ } // 缂栬緫鑾峰彇琛ㄤ綋--鐐规璁″垝 - function set_EditGrid_Plan(linterid) { + function set_EditGrid_Plan(linterid) { //缂栬緫鍔犺浇鏁版嵁 $.ajax({ url: GetWEBURL() + 'Sb_EquipDotCheckPlanBill/GetPlanList', @@ -787,7 +868,7 @@ shift: 2, area: ['90%', '90%'], maxmin: true, - content: ['../鍩虹璧勬枡/鍩虹璧勬枡/Gy_DotCheckList.html', 'yes'], + content: ['../鍩虹璧勬枡/鍩虹璧勬枡/Gy_DotCheckList.html?openType=2', 'yes'], btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) { //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 @@ -848,7 +929,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) { //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 @@ -885,7 +966,7 @@ shift: 2, area: ['90%', '90%'], maxmin: true - , content: ['../鍩虹璧勬枡/鍩虹璧勬枡/Gy_DotCheckItemClassList.html', 'yes'] + , content: ['../鍩虹璧勬枡/鍩虹璧勬枡/Gy_DotCheckItemClassList.html?openType=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) { //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 @@ -918,7 +999,7 @@ shift: 2, area: ['90%', '90%'], maxmin: true - , content: ['../鍩虹璧勬枡/鍩虹璧勬枡/Gy_DotCheckItemMethodList.html', 'yes'] + , content: ['../鍩虹璧勬枡/鍩虹璧勬枡/Gy_DotCheckItemMethodList.html?openType=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) { //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 -- Gitblit v1.9.1