From b20b97efa20d7ba4f5cdfcb927974bbb2d5478ea Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期四, 29 八月 2024 11:21:09 +0800
Subject: [PATCH] 异常反馈单 增加页签,显示斯莫尔不需要的,职员增加一个部门参数过滤,在其他页面打开可以根据登录人的部门传参带出对应人

---
 WebTM/WebTM.csproj.user                                      |    7 +
 WebTM/views/质量管理/质量报表/QC_FiveMenOneRingList.html             |   13 +++
 WebTM/views/质量管理/异常反馈/OA_ErrMsgBackSelfQuery_BGT.html        |    4 
 WebTM/views/基础资料/公用基础资料/Gy_EmployeeList.html                 |    5 +
 WebTM/views/生产管理/异常反馈单/Sc_Add_MESExecptFeedBackBillList.html |  172 +++++++++++++++++++++++++-----------------
 5 files changed, 125 insertions(+), 76 deletions(-)

diff --git a/WebTM/WebTM.csproj.user b/WebTM/WebTM.csproj.user
index 65037ad..005e8c8 100644
--- a/WebTM/WebTM.csproj.user
+++ b/WebTM/WebTM.csproj.user
@@ -3,7 +3,7 @@
   <PropertyGroup>
     <NameOfLastUsedPublishProfile>D:\鏅轰簯杩堟�漒MES\MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
     <ProjectView>ProjectFiles</ProjectView>
-    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
+    <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
     <UseIISExpress>true</UseIISExpress>
     <Use64BitIISExpress />
     <IISExpressSSLPort />
@@ -16,8 +16,9 @@
     <VisualStudio>
       <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
         <WebProjectProperties>
-          <StartPageUrl>views/user/login.html</StartPageUrl>
-          <StartAction>SpecificPage</StartAction>
+          <StartPageUrl>
+          </StartPageUrl>
+          <StartAction>CurrentPage</StartAction>
           <AspNetDebugging>True</AspNetDebugging>
           <SilverlightDebugging>False</SilverlightDebugging>
           <NativeDebugging>False</NativeDebugging>
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EmployeeList.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EmployeeList.html"
index 2e470ab..1a1afd1 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EmployeeList.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EmployeeList.html"
@@ -955,8 +955,13 @@
                 var params = getUrlVars();
                 var openType = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇 鎵撳紑鏂瑰紡  1鐩存帴鎵撳紑 2鍏跺畠椤甸潰閫氳繃閫夋嫨鎸夐挳鎵撳紑
                 var HOrgID = params[params[1]];
+                var DeptName = params[params[2]];
                 if (typeof (openType) != "undefined") {
                     sWhere += " and 绂佺敤鏍囪 = '' ";
+                    DeptName = decodeURI(DeptName);//瀵筓RI 杩涜瑙g爜
+                    if (DeptName != "undefined") {
+                        sWhere += " and 閮ㄩ棬鍚嶇О = '" + DeptName+"' ";
+                    }
                     if (typeof (HOrgID) != "undefined") {
                         Organ(HOrgID);
                     }
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_Add_MESExecptFeedBackBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_Add_MESExecptFeedBackBillList.html"
index 8a8555c..bac467e 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_Add_MESExecptFeedBackBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_Add_MESExecptFeedBackBillList.html"
@@ -99,6 +99,7 @@
                                     <div class="layui-tab layui-tab-card">
                                         <ul class="layui-tab-title">
                                             <li class="layui-this">鍩烘湰淇℃伅</li>
+                                            <li>鍏朵粬淇℃伅</li>
                                             <li>鍒跺崟淇℃伅</li>
                                         </ul>
                                         <div class="layui-tab-content" style="height: 900px;">
@@ -121,7 +122,7 @@
                                                     <div class="layui-inline">
                                                         <label class="layui-form-label">涓婚:<label style="color:red"> * </label></label>
                                                         <div class="layui-input-inline">
-                                                            <input class="layui-input" name="HContext" lay-verify="HContext" id="HContext" autocomplete="off" >
+                                                            <input class="layui-input" name="HContext" lay-verify="HContext" id="HContext" autocomplete="off">
                                                         </div>
                                                     </div>
                                                     <div class="layui-inline">
@@ -149,6 +150,12 @@
                                                             <button type="button" lay-submit="" class="layui-btn" lay-filter="HReceiveManList" id="HReceiveManList" style="width:40px;">
                                                                 <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
                                                             </button>
+                                                            <!--<select name="HReceiveMan" lay-filter="HReceiveMan" id="HReceiveMan">
+                        <option value="" selected="selected">璇烽�夋嫨</option>
+                        <option value="鏉庡痉绂�">鏉庡痉绂�</option>
+                        <option value="宕旀潵姝�">宕旀潵姝�</option>
+                        <option value="閮戦洦">閮戦洦</option>
+                    </select>-->
                                                         </div>
                                                     </div>
                                                     <div class="layui-inline">
@@ -184,14 +191,14 @@
                                                         </div>
                                                     </div>
                                                     <!--<div class="layui-inline">
-            <label class="layui-form-label">杞彂鑷�:</label>
-            <div class="layui-input-inline">
-                <input type="text" name="HReTransmitMan" id="HReTransmitMan" class="layui-input" value="" style="float:left;width:150px;" disabled>
-                <button type="button" lay-submit="" class="layui-btn" lay-filter="HReTransmitManList" id="HReTransmitManList" style="width:40px;">
-                    <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
-                </button>
-            </div>
-        </div>-->
+                <label class="layui-form-label">杞彂鑷�:</label>
+                <div class="layui-input-inline">
+                    <input type="text" name="HReTransmitMan" id="HReTransmitMan" class="layui-input" value="" style="float:left;width:150px;" disabled>
+                    <button type="button" lay-submit="" class="layui-btn" lay-filter="HReTransmitManList" id="HReTransmitManList" style="width:40px;">
+                        <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
+                    </button>
+                </div>
+            </div>-->
                                                 </div>
                                                 <div class="layui-form-item">
                                                     <div class="layui-inline">
@@ -245,14 +252,7 @@
                                                         </div>
                                                     </div>
                                                 </div>
-                                                <div class="layui-form-item">
-                                                    <div class="layui-inline">
-                                                        <label class="layui-form-label">棰勯槻绾犳鎺柦 :</label>
-                                                        <div class="layui-input-inline">
-                                                            <textarea placeholder="璇疯緭鍏ラ闃茬籂姝f帾鏂� " class="layui-textarea" name="HNote" id="HNote" style="width:1080px;"></textarea>
-                                                        </div>
-                                                    </div>
-                                                </div>
+
                                                 <div class="layui-form-item">
                                                     <div class="layui-inline">
                                                         <label class="layui-form-label">澶囨敞:</label>
@@ -298,16 +298,7 @@
                                                             </button>
                                                         </div>
                                                     </div>
-                                                    <div class="layui-inline">
-                                                        <label class="layui-form-label">鐢熶骇鐝</label>
-                                                        <div class="layui-input-inline">
-                                                            <input type="text" class="layui-input" name="HShiftsName" id="HShiftsName" style="float: left; width: 150px;" readonly>
-                                                            <input type="hidden" value="0" name="HShiftsID" id="HShiftsID">
-                                                            <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="BtnHShiftsName" id="BtnHShiftsName" style="width: 40px; padding: 0 10px;">
-                                                                <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
-                                                            </button>
-                                                        </div>
-                                                    </div>
+
                                                     <div class="layui-inline">
                                                         <label class="layui-form-label">鍙戦�侀儴闂�:</label>
                                                         <div class="layui-input-inline">
@@ -318,24 +309,6 @@
                                                             </button>
                                                         </div>
                                                     </div>
-                                                    <div class="layui-inline">
-                                                        <label class="layui-form-label">鎺ユ敹閮ㄩ棬:</label>
-                                                        <div class="layui-input-inline">
-                                                            <input type="text" name="HRecDeptName" id="HRecDeptName" class="layui-input" value="" style="float:left;width:150px;" disabled>
-                                                            <input type="hidden" name="HRecDeptID" id="HRecDeptID" class="layui-input" value="0" style="float:left;width:150px;">
-                                                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HRecDeptList" id="HRecDeptList" style="width:40px;">
-                                                                <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
-                                                            </button>
-                                                        </div>
-                                                    </div>
-                                                    <div class="layui-inline" style="display:none;">
-                                                        <label class="layui-form-label">鍌績娆℃暟:</label>
-                                                        <div class="layui-input-inline">
-                                                            <input class="layui-input" name="HHasten" lay-verify="HHasten" id="HHasten" autocomplete="off" value="0">
-                                                        </div>
-                                                    </div>
-                                                </div>
-                                                <div class="layui-form-item">
                                                     <div class="layui-inline">
                                                         <label class="layui-form-label">鎸囨淳澶勭悊浜�:</label>
                                                         <div class="layui-input-inline">
@@ -354,6 +327,9 @@
                                                             </select>
                                                         </div>
                                                     </div>
+
+                                                </div>
+                                                <div class="layui-form-item">
                                                     <div class="layui-inline">
                                                         <label class="layui-form-label">婧愬崟鍗曞彿:</label>
                                                         <div class="layui-input-inline">
@@ -370,7 +346,48 @@
                                                     </div>
                                                 </div>
                                             </div>
+                                            <!--鍏朵粬淇℃伅-->
                                             <div class="layui-tab-item">
+                                                <div class="layui-form-item">
+                                                    <div class="layui-inline" >
+                                                        <label class="layui-form-label">鎺ユ敹閮ㄩ棬:</label>
+                                                        <div class="layui-input-inline">
+                                                            <input type="text" name="HRecDeptName" id="HRecDeptName" class="layui-input" value="" style="float:left;width:150px;" disabled>
+                                                            <input type="hidden" name="HRecDeptID" id="HRecDeptID" class="layui-input" value="0" style="float:left;width:150px;">
+                                                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HRecDeptList" id="HRecDeptList" style="width:40px;">
+                                                                <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
+                                                            </button>
+                                                        </div>
+                                                    </div>
+                                                    <div class="layui-inline">
+                                                        <label class="layui-form-label">鍌績娆℃暟:</label>
+                                                        <div class="layui-input-inline">
+                                                            <input class="layui-input" name="HHasten" lay-verify="HHasten" id="HHasten" autocomplete="off" value="0">
+                                                        </div>
+                                                    </div>
+                                                    <div class="layui-inline" >
+                                                        <label class="layui-form-label">鐢熶骇鐝</label>
+                                                        <div class="layui-input-inline">
+                                                            <input type="text" class="layui-input" name="HShiftsName" id="HShiftsName" style="float: left; width: 150px;" readonly>
+                                                            <input type="hidden" value="0" name="HShiftsID" id="HShiftsID">
+                                                            <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="BtnHShiftsName" id="BtnHShiftsName" style="width: 40px; padding: 0 10px;">
+                                                                <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                                            </button>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                                <div class="layui-form-item">
+                                                    <div class="layui-inline" >
+                                                        <label class="layui-form-label">棰勯槻绾犳鎺柦 :</label>
+                                                        <div class="layui-input-inline">
+                                                            <textarea placeholder="璇疯緭鍏ラ闃茬籂姝f帾鏂� " class="layui-textarea" name="HNote" id="HNote" style="width:1080px;"></textarea>
+                                                        </div>
+                                                    </div>
+                                                </div>                                               
+                                            </div>
+
+                                            <!--鍒跺崟淇℃伅-->
+                                            <div class="layui-tab-item">                                                                                               
                                                 <div class="layui-form-item">
                                                     <div class="layui-inline">
                                                         <label class="layui-form-label">鍒跺崟浜�:</label>
@@ -471,18 +488,7 @@
         var HMainSourceBillType = "";  //婧愬崟绫诲瀷
         var refSav = "";   //鎻愪氦绫诲瀷
         var Qty = "";
-
-
-
-        //var edit = function (data) {
-        //    HBillType = data[0].HBillType;
-        //    HMainSourceInterID = data[0].HSourceInterID;
-        //    HMainSourceEntryID = data[0].HSourceEntryID;
-        //    HMainSourceBillNo = data[0].HSourceBillNo;
-        //    HMainSourceBillType = data[0].HSourceBillType;
-
-        //}
-
+       
 
         layui.config({
             base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
@@ -551,11 +557,10 @@
             }
             else if (OperationType == 4) {
                 set_AddFNew();
-                $("#HSendMan").val(sessionStorage["HUserName"]); //鍙戦�佷汉              
+                $("#HSendMan").val(sessionStorage["HUserName"]); //鍙戦�佷汉
                 var EquipNumber = "";
                 set_Sc_ICMOBillStatus();//鑾峰彇宸ュ崟鐨� 鐗╂枡 鏁伴噺
-                set_ErrMsgBackType();   //鑾峰彇寮傚父绫诲瀷
-                //set_UserSuperiors();    //鑾峰彇褰撳墠鐧诲綍浜虹殑涓婄骇
+                set_ErrMsgBackType();   //鑾峰彇寮傚父绫诲瀷              
                 set_EquipFile();        //鑾峰彇璁惧鐨勮澶囩紪鐮�
                 var Datetime = Format(new Date(), "yyyy-MM-dd hh:mm:ss");
                 var Person = sessionStorage["HUserName"];
@@ -623,7 +628,7 @@
                     success: function (data) {
                         if (data.count == 1)// 璇存槑楠岃瘉鎴愬姛浜嗭紝
                         {
-                            
+
                             var LoadData = data.data;
                             $("#HMaterNumber").val(LoadData[0].鐗╂枡浠g爜); //浜у搧鍚嶇О
                             $("#HMaterName").val(LoadData[0].鐗╂枡鍚嶇О); //浜у搧鍚嶇О
@@ -672,6 +677,28 @@
                             layer.alert(err, { icon: 5 });
                         }
                     });
+                //鎸囧畾鎸囨淳澶勭悊浜�
+                if (sessionStorage["HDept"] == "鐢熶骇閮�3") {
+                    if ($("#HErrMsgBackTypeName").val()=="浜哄憳鍘熷洜") {
+                        $("#HHandleEmpName").val("鏉庨箯");  //鎸囨淳澶勭悊浜�
+                        $("#HHandleEmpID").val(162680);        //鎸囨淳澶勭悊浜�
+                    } else if ($("#HErrMsgBackTypeName").val() == "璁惧鍘熷洜") {
+                        $("#HHandleEmpName").val("寮犲睍鍧�");  //鎸囨淳澶勭悊浜�
+                        $("#HHandleEmpID").val(161777);        //鎸囨淳澶勭悊浜�
+                    } else if ($("#HErrMsgBackTypeName").val() == "鏉愭枡鍘熷洜") {
+                        $("#HHandleEmpName").val("鏉庨箯");  //鎸囨淳澶勭悊浜�
+                        $("#HHandleEmpID").val(162680);        //鎸囨淳澶勭悊浜�
+                    } else if ($("#HErrMsgBackTypeName").val() == "宸ヨ壓鍘熷洜") {
+                        $("#HHandleEmpName").val("鑲栨按娓�");  //鎸囨淳澶勭悊浜�
+                        $("#HHandleEmpID").val(162662);        //鎸囨淳澶勭悊浜�
+                    } else if ($("#HErrMsgBackTypeName").val() == "妯″叿鍘熷洜") {
+                        $("#HHandleEmpName").val("鍚存枌");  //鎸囨淳澶勭悊浜�
+                        $("#HHandleEmpID").val(162686);        //鎸囨淳澶勭悊浜�
+                    } else if ($("#HErrMsgBackTypeName").val() == "涓嶅悎鏍煎師鍥�") {
+                        $("#HHandleEmpName").val("瀛欐枃闈�");  //鎸囨淳澶勭悊浜�
+                        $("#HHandleEmpID").val(162622);        //鎸囨淳澶勭悊浜�
+                    }
+                }
             }
 
             //鑾峰彇鎶ュ伐鍙拌烦杞� 鑾峰彇 褰撳墠鐧诲綍浜虹殑涓婄骇
@@ -735,8 +762,7 @@
                     });
             }
             //#endregion
-
-
+            
             //鏃犳簮鍗曟柊澧�
             function set_AddFNew() {
                 //鍔犳簮鍗曠被鍨嬪尯鍒�(鍙互鍐欎笉鍚岀殑鏂规硶)
@@ -746,7 +772,7 @@
                 $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss"));  //鍒跺崟鏃ユ湡
                 $("#HMaker").val(sessionStorage["HUserName"]);     //鍒跺崟浜�
                 $("#HDeptID").val(sessionStorage["HDeptID"]);  //閮ㄩ棬ID
-                $("#HDeptName").val(sessionStorage["HDept"]);  //閮ㄩ棬
+                $("#HDeptName").val(sessionStorage["HDept"]);  //閮ㄩ棬              
             }
 
             //鏈夋簮鍗曟柊澧�
@@ -1148,6 +1174,8 @@
 
             //鎺ユ敹浜�
             form.on('submit(HReceiveManList)', function () {
+                var HOrgID = sessionStorage["OrganizationID"];
+                var DeptName = sessionStorage["HDept"];
                 //椤甸潰灞�-鑷畾涔�
                 layer.open({
                     type: 2,
@@ -1157,7 +1185,7 @@
                     shift: 2,
                     area: ['80%', '80%'],
                     maxmin: true,
-                    content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HReceive', 'yes'],
+                    content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HReceive&HOrgID=' + HOrgID+'&DeptName='+DeptName, 'yes'],
                     btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
 
@@ -1168,8 +1196,12 @@
                             return layer.msg('璇烽�夋嫨鏁版嵁');
                         }
                         $("#HReceiveMan").val(checkStatus.data[0].鑱屽憳鍚嶇О);
-                        $("#HHandleEmpName").val(checkStatus.data[0].鑱屽憳鍚嶇О);  //鎸囨淳澶勭悊浜�
-                        $("#HHandleEmpID").val(checkStatus.data[0].HItemID);        //鎸囨淳澶勭悊浜�
+                        $("#HBadProcManName").val(checkStatus.data[0].鑱屽憳鍚嶇О);  //璐d换浜�
+                        $("#HBadProcMan").val(checkStatus.data[0].HItemID);        //璐d换浜�
+                        if (DeptName=="鐢熶骇閮�3") {
+                            $("#HQEMan").val(162622);
+                            $("#HQEManName").val("瀛欐枃闈�");
+                        }
                         layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
                     }
                     , btn2: function (index, layero) {
@@ -1418,9 +1450,9 @@
             //鎶ュ伐澶紓甯歌烦杞嚜鍔ㄧ敓鎴愬唴瀹�
             function generateString(Datetime, Person, HSourceName, HICMOBillNo, HType, EquipNumber) {
                 // 鎷兼帴瀛楃涓�
-                var result = '寮傚父鍙嶉鍗曞彿:' + $("#HBillNo").val()+',寮傚父绫诲瀷:' + HType + ',璁㈠崟鍙�:' + HICMOBillNo + ',娴佽浆鍗″彿:' + HICMOBillNo
+                var result = '寮傚父鍙嶉鍗曞彿:' + $("#HBillNo").val() + ',寮傚父绫诲瀷:' + HType + ',璁㈠崟鍙�:' + HICMOBillNo + ',娴佽浆鍗″彿:' + HICMOBillNo
                     + ', 浜у搧缂栫爜:' + $("#HMaterNumber").val() + ',浜у搧鍚嶇О:' + $("#HMaterName").val() + ',瑙勬牸鍨嬪彿:' + $("#HMaterModel").val()
-                    + ',鍙戦�佷汉:' + Person + ',鍙戠敓鏃堕棿:' + Datetime + ',鐢熶骇璧勬簮:' + HSourceName + ',璁惧缂栫爜:' + EquipNumber;
+                    + ',鍙戦�佷汉:' + Person + ',鍙戠敓鏃堕棿:' + Datetime + ',鐢熶骇璧勬簮:' + HSourceName + ',璁惧缂栫爜:' + EquipNumber + ',瀵瑰簲澶勭悊浜�:' + $("#HHandleEmpName").val();
                 return result;
             }
 
@@ -1474,7 +1506,7 @@
                     return Result = false;
                 }
             }
-       
+
             return Result;
         }
 
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210/OA_ErrMsgBackSelfQuery_BGT.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210/OA_ErrMsgBackSelfQuery_BGT.html"
index 9589fbc..0b9f660 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210/OA_ErrMsgBackSelfQuery_BGT.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210/OA_ErrMsgBackSelfQuery_BGT.html"
@@ -44,8 +44,8 @@
                         </script>
                         <script type="text/html" id="toolbarDemo1">
                             <div class="layui-btn-container">
-                                <button type="button" class="layui-btn layui-btn-normal"  lay-submit=""  lay-filter="btn-XTCheck" id="btn-XTCheck" style="/* display: inline; */height: 100px;margin-left: 100px;">涓嬫帹楠屾敹鍗�</button>
-                                <button type="button" class="layui-btn layui-btn-normal" lay-submit=""  lay-filter="btn-View1" id="btn-View1"  style="/* display: inline; */ height: 100px; width: 100px; margin-left: 100px;">鏌ョ湅</button>
+                                <button type="button" class="layui-btn layui-btn-normal"  lay-submit="" lay-event="btn-XTCheck"  lay-filter="btn-XTCheck" id="btn-XTCheck" style="/* display: inline; */height: 100px;margin-left: 100px;">涓嬫帹楠屾敹鍗�</button>
+                                <button type="button" class="layui-btn layui-btn-normal" lay-submit=""  lay-event="btn-View1"  lay-filter="btn-View1" id="btn-View1"  style="/* display: inline; */ height: 100px; width: 100px; margin-left: 100px;">鏌ョ湅</button>
                                 <button type="button" class="layui-btn layui-btn-normal" lay-submit=""  lay-filter="btnEdit" id="btnEdit"  style="/* display: inline; */ height: 100px; width: 100px; margin-left: 100px;">閫�鍑�</button>
                             </div>
                         </script>
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FiveMenOneRingList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FiveMenOneRingList.html"
index f05c2b1..9d9133e 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FiveMenOneRingList.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FiveMenOneRingList.html"
@@ -166,7 +166,7 @@
             //
             var HModName = "QC_FiveMenOneRingList";
             //涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞� 锛堜汉锛�
-            var titleData = ["涓绘祦杞崱id", "閰嶄欢娴佽浆鍗d", "鎴愬搧鐗╂枡id", "閰嶄欢鐗╂枡id"];
+            var titleData = ["涓绘祦杞崱id", "閰嶄欢娴佽浆鍗d", "鎴愬搧鐗╂枡id", "閰嶄欢鐗╂枡id", "涓荤敓浜ц鍗�", "閰嶄欢鐢熶骇璁㈠崟", "鎴愬搧鐗╂枡浠g爜", "鎴愬搧瑙勬牸鍨嬪彿", "閰嶄欢鐗╂枡浠g爜", "閰嶄欢瑙勬牸鍨嬪彿", "鍗曟嵁涓籭d"];
             //鍒濆鍖栫晫闈�
             set_ClearBill();
             //#endregion
@@ -672,6 +672,17 @@
 
             }
 
+            //涓昏〃鏍�  閰嶄欢娴佽浆鍗$偣鍑绘椂闂�
+            //#endregion  鐩戝惉缃戞牸琛ㄤ綋浜嬩欢
+            table.on('tool(mainTable)', function (obj) {
+                var data = obj.data;
+                //鍗曟嵁鍙疯秴閾炬帴
+                if (obj.event == '閰嶄欢娴佽浆鍗�') {                  //妫�鏌� obj.event 鏄惁绛変簬瀛楃涓� '鍗曟嵁鍙�'銆傚鏋滅瓑浜庯紝鍒欐墽琛宨f寰幆
+                    var linterid = data.閰嶄欢娴佽浆鍗d;    //澹版槑鍙橀噺linterid 涓� data.hmainid
+                   
+                }
+            });
+
             //#region 闅愯棌鍒楄缃�
             function get_HideColumn() {
                 var colName = "";

--
Gitblit v1.9.1