From a18fc75e659e12d77c73eba4cbacc5822552c563 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期一, 28 十月 2024 17:54:42 +0800
Subject: [PATCH] 安灯呼叫规则增加复制功能,系统用户管理,增加钉钉id号字段

---
 WebTM/WebTM.csproj.user                                      |    2 
 WebTM/views/生产管理/异常反馈单/Sc_MESExecptFeedBackBillType.html     |   79 ++++++++++++++++++++++----
 WebTM/views/质量管理/安灯逐级呼叫规则/OA_AndengFlowRuleBillMain.html     |   21 +++++--
 WebTM/views/模治具管理/模治具管理/Sc_MouldDotCheckBillList.html        |    2 
 WebTM/views/系统管理/用户管理/Xt_UserListEdit.html                   |    7 ++
 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldDotCheckBillList.html    |    4 
 WebTM/views/生产管理/异常反馈单/Sc_Add_MESExecptFeedBackBillList.html |    5 +
 WebTM/views/质量管理/安灯逐级呼叫规则/OA_AndengFlowRuleBillMainList.html |   45 +++++++++------
 8 files changed, 123 insertions(+), 42 deletions(-)

diff --git a/WebTM/WebTM.csproj.user b/WebTM/WebTM.csproj.user
index 67044c2..e39639b 100644
--- a/WebTM/WebTM.csproj.user
+++ b/WebTM/WebTM.csproj.user
@@ -1,7 +1,7 @@
 锘�<?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
-    <NameOfLastUsedPublishProfile>C:\Users\86130\Desktop\鏅轰簯杩堟�漒MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
+    <NameOfLastUsedPublishProfile>D:\鏅轰簯杩堟�漒MES\MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
     <ProjectView>ProjectFiles</ProjectView>
     <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
     <UseIISExpress>true</UseIISExpress>
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/Sc_Add_MouldDotCheckBillList.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/Sc_Add_MouldDotCheckBillList.html"
index c888503..0e0dc56 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/Sc_Add_MouldDotCheckBillList.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/Sc_Add_MouldDotCheckBillList.html"
@@ -977,11 +977,11 @@
                                 , "HPlanNo": data.鐐规璁″垝鍐呯爜
                                 , "HMouldID": data.HMouldID == undefined ? 0 : data.HPlanInterID
                                 , "HMouldDotCheckRuleName": data.鍣ㄥ叿鐐规瑙勭▼鍗曟嵁鍙�
-                                , "HMouldDotCheckRuleID": data.HMouldDotCheckRuleID == undefined ? 0 : data.HPlanInterID
+                                , "HMouldDotCheckRuleID": data.HMouldDotCheckRuleID == undefined ? 0 : data.HMouldDotCheckRuleID
                                 , "HErrNote": data.寮傚父鎯呭喌璁板綍 //寮傚父鎯呭喌璁板綍
                                 , "HBigSafeNote": data.閲嶅ぇ瀹夊叏闅愭偅璁板綍 //閲嶅ぇ瀹夊叏闅愭偅璁板綍
                                 , "HDotCheckNote": data.鐐规鏁版嵁 //鐐规鏁版嵁
-                                , "HShiftsID": data.HShiftsID == undefined ? 0 : data.HPlanInterID
+                                , "HShiftsID": data.HShiftsID == undefined ? 0 : data.HShiftsID
                                 , "HShiftsName": data.鐝鍚嶇О //鐝鍚嶇О
                             });
                             if (data.鏈�缁堢粨璁� == "涓嶅悎鏍�") {
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/Sc_MouldDotCheckBillList.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/Sc_MouldDotCheckBillList.html"
index 881cff5..a6ceb04 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/Sc_MouldDotCheckBillList.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/Sc_MouldDotCheckBillList.html"
@@ -211,7 +211,7 @@
             var option2 = [];
             var HModName = "Sc_MouldDotCheckBillList";
             var HBillType = "3821";
-            var titleData = ["hmainid", "HPlanInterID", "HDotCheckItemID", "鍗曟嵁ID", "HMouldID", "hsubid", "HManagerID", "婧愬崟涓诲唴鐮�", "婧愬崟瀛愬唴鐮�", "HBillType","HMouldDotCheckRuleID"];//涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
+            var titleData = ["hmainid", "HPlanInterID", "HDotCheckItemID", "鍗曟嵁ID", "HMouldID", "hsubid", "HManagerID", "婧愬崟涓诲唴鐮�", "婧愬崟瀛愬唴鐮�", "HBillType", "HMouldDotCheckRuleID","HShiftsID"];//涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
             //#endregion
 
             //#region 杩涘叆椤甸潰鍗冲姞杞�
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 99e3cd5..2d5c516 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"
@@ -724,7 +724,10 @@
                     } else if ($("#HErrMsgBackTypeName").val() == "妯″叿鍘熷洜") {
                         $("#HHandleEmpName").val("鍚存枌");  //鎸囨淳澶勭悊浜�
                         $("#HHandleEmpID").val(162686);        //鎸囨淳澶勭悊浜�
-                    } else if ($("#HErrMsgBackTypeName").val() == "涓嶅悎鏍煎師鍥�") {
+                    } else if ($("#HErrMsgBackTypeName").val() == "娴嬭瘯鍘熷洜") {
+                        $("#HHandleEmpName").val("瀛欐枃闈�");  //鎸囨淳澶勭悊浜�
+                        $("#HHandleEmpID").val(162622);        //鎸囨淳澶勭悊浜�
+                    } else if ($("#HErrMsgBackTypeName").val() == "鐜鍘熷洜") {
                         $("#HHandleEmpName").val("瀛欐枃闈�");  //鎸囨淳澶勭悊浜�
                         $("#HHandleEmpID").val(162622);        //鎸囨淳澶勭悊浜�
                     }
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_MESExecptFeedBackBillType.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_MESExecptFeedBackBillType.html"
index d589ab0..34522ce 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_MESExecptFeedBackBillType.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_MESExecptFeedBackBillType.html"
@@ -106,7 +106,7 @@
                                         </ul>
                                         <div class="layui-tab-content" style="height: 700px;">
                                             <div class="layui-tab-item layui-show">
-                                                <div class="layui-form-item" style="margin-top:30px">
+                                                <div class="layui-form-item" style="margin-top:30px" >
                                                     <div class="layui-inline">
                                                         <div class="layui-input-inline" style="margin-left:200px">
                                                             <label class="radio-label">
@@ -117,7 +117,7 @@
                                                     <div class="layui-inline">
                                                         <div class="layui-input-inline" style="margin-left:400px">
                                                             <label class="radio-label">
-                                                                <input type="radio" name="faultType" value="璁惧寮傚父">璁惧寮傚父
+                                                                <input type="radio" name="faultType" value="璁惧鍘熷洜">璁惧鍘熷洜
                                                             </label>
                                                         </div>
                                                     </div>
@@ -127,7 +127,7 @@
                                                     <div class="layui-inline">
                                                         <div class="layui-input-inline" style="margin-left:200px">
                                                             <label class="radio-label">
-                                                                <input type="radio" name="faultType" value="鐗╂枡寮傚父">鐗╂枡寮傚父
+                                                                <input type="radio" name="faultType" value="鏉愭枡鍘熷洜">鏉愭枡鍘熷洜
                                                             </label>
                                                         </div>
                                                     </div>
@@ -140,23 +140,31 @@
                                                     </div>
                                                 </div>
 
-                                                <div class="layui-form-item" style="margin-top:90px">
+                                                <div class="layui-form-item" style="margin-top:60px">
                                                     <div class="layui-inline">
                                                         <div class="layui-input-inline" style="margin-left:200px">
                                                             <label class="radio-label">
-                                                                <input type="radio" name="faultType" value="妫�娴嬪師鍥�">妫�娴嬪師鍥�
+                                                                <input type="radio" name="faultType" value="妯″叿鍘熷洜">妯″叿鍘熷洜
                                                             </label>
                                                         </div>
                                                     </div>
                                                     <div class="layui-inline">
                                                         <div class="layui-input-inline" style="margin-left:400px">
                                                             <label class="radio-label">
-                                                                <input type="radio" name="faultType" value="涓嶅悎鏍煎師鍥�">涓嶅悎鏍煎師鍥�
+                                                                <input type="radio" name="faultType" value="娴嬭瘯鍘熷洜">娴嬭瘯鍘熷洜
                                                             </label>
                                                         </div>
                                                     </div>
                                                 </div>
-
+                                                <div class="layui-form-item" style="margin-top:60px">
+                                                    <div class="layui-inline">
+                                                        <div class="layui-input-inline" style="margin-left:200px">
+                                                            <label class="radio-label">
+                                                                <input type="radio" name="faultType" value="鐜鍘熷洜">鐜鍘熷洜
+                                                            </label>
+                                                        </div>
+                                                    </div>                                                   
+                                                </div>
 
                                             </div>
                                         </div>
@@ -211,13 +219,17 @@
                 Pub_Close(1);
             });
 
-            document.querySelectorAll('input[name="faultType"]').forEach(function (radio) {
+            // 鑾峰彇鎵�鏈夊悕绉颁负 faultType 鐨勫崟閫夋寜閽�
+            const radios = document.querySelectorAll('input[name="faultType"]');
+
+            // 涓烘瘡涓崟閫夋寜閽坊鍔� change 浜嬩欢鐩戝惉鍣�
+            radios.forEach(function (radio) {
                 radio.addEventListener('change', function () {
-                    if (this.checked) { // 鍙湁琚�変腑鐨剅adio鎵嶄細瑙﹀彂  
-                        var value = this.value; // 鑾峰彇閫変腑鐨剅adio鐨勫��  
+                    if (this.checked) {
+                        var value = this.value;
                         layer.open({
                             type: 2,
-                            skin: 'layui-layer-rim', //鍔犱笂杈规
+                            skin: 'layui-layer-rim',
                             title: '寮傚父鍙嶉鍗�',
                             closeBtn: 1,
                             shift: 2,
@@ -236,9 +248,9 @@
                                     "HSourceBillNo": HSourceBillNo      //娴佽浆鍗″彿
                                 });
 
-                                //閫氳繃绱㈠紩鑾峰彇鍒板綋鍓峣frame寮瑰嚭灞�
+                                // 閫氳繃绱㈠紩鑾峰彇鍒板綋鍓� iframe 寮瑰嚭灞�
                                 var iframe = window['layui-layer-iframe' + index];
-                                //璋冪敤iframe寮瑰嚭灞傚唴鐨勬柟娉�
+                                // 璋冪敤 iframe 寮瑰嚭灞傚唴鐨勬柟娉�
                                 iframe.edit(data);
                             },
                         });
@@ -246,7 +258,48 @@
                 });
             });
 
+            // 鑾峰彇鎵�鏈夌殑鍗曢�夋寜閽殑鐖跺厓绱� div.layui-input-inline
+            const radioContainers = document.querySelectorAll('.layui-input-inline');
 
+            // 涓烘瘡涓埗鍏冪礌娣诲姞鐐瑰嚮浜嬩欢鐩戝惉鍣�
+            radioContainers.forEach(function (container) {
+                container.addEventListener('click', function (event) {
+                    // 鍒ゆ柇鐐瑰嚮鐨勫厓绱犳槸鍚︽槸鍗曢�夋寜閽垨鑰呭叾鐩存帴瀛愬厓绱�
+                    if (event.target.tagName === 'INPUT' || event.target.parentNode.tagName === 'INPUT') {
+                        const clickedRadio = event.target.tagName === 'INPUT' ? event.target : event.target.parentNode.querySelector('input');
+                        if (clickedRadio && clickedRadio.checked) {
+                            var value = clickedRadio.value;
+                            layer.open({
+                                type: 2,
+                                skin: 'layui-layer-rim',
+                                title: '寮傚父鍙嶉鍗�',
+                                closeBtn: 1,
+                                shift: 2,
+                                area: ['100%', '100%'],
+                                maxmin: true,
+                                content: './Sc_Add_MESExecptFeedBackBillList.html?OperationType=4&linterid=&HSouceBillType=',
+                                end: function () {
+
+                                },
+                                success: function (dom, index) {
+                                    var data = [];
+                                    data.push({
+                                        "HICMOBillNo": HICMOBillNo,//宸ュ崟鍙�
+                                        "HSourceName": HSourceName, //璁惧
+                                        "HType": value,     //寮傚父绫诲瀷
+                                        "HSourceBillNo": HSourceBillNo      //娴佽浆鍗″彿
+                                    });
+
+                                    // 閫氳繃绱㈠紩鑾峰彇鍒板綋鍓� iframe 寮瑰嚭灞�
+                                    var iframe = window['layui-layer-iframe' + index];
+                                    // 璋冪敤 iframe 寮瑰嚭灞傚唴鐨勬柟娉�
+                                    iframe.edit(data);
+                                },
+                            });
+                        }
+                    }
+                });
+            });
             //浠ヤ笂涓簂ayui妯″潡
         });
     </script>
diff --git "a/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\347\224\250\346\210\267\347\256\241\347\220\206/Xt_UserListEdit.html" "b/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\347\224\250\346\210\267\347\256\241\347\220\206/Xt_UserListEdit.html"
index 102079d..060bb38 100644
--- "a/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\347\224\250\346\210\267\347\256\241\347\220\206/Xt_UserListEdit.html"
+++ "b/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\347\224\250\346\210\267\347\256\241\347\220\206/Xt_UserListEdit.html"
@@ -86,6 +86,12 @@
                                                                 </button>
                                                             </div>
                                                         </div>
+                                                        <div class="layui-inline">
+                                                            <label class="layui-form-label" style="width:110px;">閽夐拤ID鍙�</label>
+                                                            <div class="layui-input-inline">
+                                                                <input class="layui-input" name="HDingDingUserID" id="HDingDingUserID" value="0">
+                                                            </div>
+                                                        </div>
                                                     </div>
                                                     <div class="layui-form-item">
                                                         <div class="layui-inline">
@@ -1005,6 +1011,7 @@
                                 , "HWorkCenterID": data.HWorkCenterID
                                 , "HWorkCenterName": data.宸ヤ綔涓績
                                 , "HICNumber": data.IC鍗″彿
+                                , "HDingDingUserID": data.閽夐拤ID鍙�
                             });
 
                         } else {
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\256\211\347\201\257\351\200\220\347\272\247\345\221\274\345\217\253\350\247\204\345\210\231/OA_AndengFlowRuleBillMain.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\256\211\347\201\257\351\200\220\347\272\247\345\221\274\345\217\253\350\247\204\345\210\231/OA_AndengFlowRuleBillMain.html"
index ad204cd..c9692b9 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\256\211\347\201\257\351\200\220\347\272\247\345\221\274\345\217\253\350\247\204\345\210\231/OA_AndengFlowRuleBillMain.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\256\211\347\201\257\351\200\220\347\272\247\345\221\274\345\217\253\350\247\204\345\210\231/OA_AndengFlowRuleBillMain.html"
@@ -296,22 +296,31 @@
                 ////绂佺敤缁勭粐閫夐」
                 //$("#HOrgID").attr("disabled", true);
                 OperationType = 1;
-
                 //鍒濆鍖栭」鐩樁娈佃〃
                 get_InitGrid();
 
                 //鐢熸垚骞惰缃富琛ㄧ殑鍐呯爜鍜屽崟鎹彿
                 createBillNo();
 
-
                 //鍒濆鍖栧埗鍗曚汉鍜屽埗鍗曟椂闂�
                 $("#HMaker").val(sessionStorage["HUserName"]);
                 $("#HMakerDate").val(Format(new Date(), "yyyy-MM-dd"));
-
                 //鍒濆鍖栨棩鏈�
                 $("#HDate").val(Format(new Date(), "yyyy-MM-dd"));
 
-
+            }
+            else if (OperationType == 2) {//濡傛灉淇敼鍒欒蛋涓嬮潰 new                                        //缂栬緫
+                OperationType = 1;
+                //鍒濆鍖栭」鐩樁娈佃〃
+                get_InitGrid();
+                RoadBillMain(linterid);
+                //鐢熸垚骞惰缃富琛ㄧ殑鍐呯爜鍜屽崟鎹彿
+                createBillNo();
+                //鍒濆鍖栧埗鍗曚汉鍜屽埗鍗曟椂闂�
+                $("#HMaker").val(sessionStorage["HUserName"]);
+                $("#HMakerDate").val(Format(new Date(), "yyyy-MM-dd"));
+                //鍒濆鍖栨棩鏈�
+                $("#HDate").val(Format(new Date(), "yyyy-MM-dd"));
             }
             else if (OperationType == 3) {//濡傛灉淇敼鍒欒蛋涓嬮潰 new                                        //缂栬緫
                 ////绂佺敤缁勭粐閫夐」
@@ -795,8 +804,8 @@
 
                         //涓昏〃 璧嬪��
                         form.val("formData", { //formTest 鍗� class="layui-form" 鎵�鍦ㄥ厓绱犲睘鎬� lay-filter="" 瀵瑰簲鐨勫��
-                            "HInterID": data[0]["hmainid"]
-                            , "HBillNo": data[0]["鍗曟嵁鍙�"]
+                            "HInterID": OperationType == 2 ? "" : data[0]["hmainid"]
+                            , "HBillNo": OperationType == 2 ? "" : data[0]["鍗曟嵁鍙�"]
                             , "HDate": formatDate(data[0]["鏃ユ湡"])
                             , "HDeptID": data[0]["HDeptID"]
                             , "HDeptName": data[0]["鍙戣捣閮ㄩ棬"]
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\256\211\347\201\257\351\200\220\347\272\247\345\221\274\345\217\253\350\247\204\345\210\231/OA_AndengFlowRuleBillMainList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\256\211\347\201\257\351\200\220\347\272\247\345\221\274\345\217\253\350\247\204\345\210\231/OA_AndengFlowRuleBillMainList.html"
index 06d3bca..8d23ca6 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\256\211\347\201\257\351\200\220\347\272\247\345\221\274\345\217\253\350\247\204\345\210\231/OA_AndengFlowRuleBillMainList.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\256\211\347\201\257\351\200\220\347\272\247\345\221\274\345\217\253\350\247\204\345\210\231/OA_AndengFlowRuleBillMainList.html"
@@ -153,6 +153,7 @@
                             <div class="layui-btn-container">
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="set_AddNew"><i class="layui-icon layui-icon-file-b"></i>鏂板</button>
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="set_ShowBill"><i class="layui-icon layui-icon-form"></i>缂栬緫</button>
+                                <button type="button" class="layui-btn layui-btn-sm" lay-event="set_Copy" id="set_Copy"><i class="layui-icon layui-icon-form"></i>澶嶅埗</button>
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-delete"></i>鍒犻櫎</button>
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>鍒锋柊</button>
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Audit"><i class="layui-icon layui-icon-radio"></i>瀹℃牳</button>
@@ -232,6 +233,9 @@
                         break;
                     //缂栬緫
                     case 'set_ShowBill': set_ShowBill();
+                        break;
+                    //澶嶅埗
+                    case 'set_Copy': set_Copy();
                         break;
                     //鍒犻櫎
                     case 'set_DeleteBill': set_DeleteBill();
@@ -449,23 +453,7 @@
                                             col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120 });
                                     }
                                 }
-                            }
-                            ////鍔ㄦ�佹樉绀哄垪鍚�
-                            //option = {
-                            //    elem: '#mainTable'
-                            //    , toolbar: '#toolbarDemo'
-                            //    , cols: [col]
-                            //    , data: data1.data
-                            //    , height: 800
-                            //    , page: true
-                            //    , totalRow: true
-                            //    , cellMinWidth: 90
-                            //    , limit: 50
-                            //    , limits: [50, 500, 5000, 20000]
-                            //    , done: function (res, curr, count) {
-                            //        soulTable.render(this);
-                            //    }
-                            //}
+                            }                          
 
                             option.cols = [col];
                             option.data = data1.data;
@@ -602,7 +590,6 @@
                     , data = checkStatus.data;
                 if (checkStatus.data.length === 1) {
                     var linterid = data[0].hmainid.toString();
-                    //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉
                     layer.open({
                         type: 2
                         , area: ['100%', '100%']
@@ -621,6 +608,28 @@
             }
             //#endregion
 
+            //澶嶅埗
+            function set_Copy() {
+                var checkStatus = table.checkStatus('mainTable')
+                    , data = checkStatus.data;
+                if (checkStatus.data.length === 1) {
+                    var linterid = data[0].hmainid.toString();
+                    layer.open({
+                        type: 2
+                        , area: ['100%', '100%']
+                        , title: '鏂板' + HPageTitle
+                        , shift: 0//寮瑰嚭鍔ㄧ敾
+                        , content: '../../璐ㄩ噺绠$悊/瀹夌伅閫愮骇鍛煎彨瑙勫垯/OA_AndengFlowRuleBillMain.html?OperationType=2&linterid=' + linterid + '&HSouceBillType='
+                        , end: function () {
+                            //鍒锋柊椤甸潰,
+                            location.reload();
+                        }
+                    })
+                } else {
+                    layer.msg('璇烽�夋嫨涓�琛屾暟鎹紪杈戯紒');
+                }
+            }
+
 
             //#region 鍒犻櫎
             function set_DeleteBill() {

--
Gitblit v1.9.1