From 82ba14eeb57b4e7ccc652afb0e700a89ce4e64f6 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期二, 25 二月 2025 11:21:39 +0800
Subject: [PATCH] 增加斯莫尔  性能检测散点图报表,修改送测登记数据台账报表

---
 WebTM/views/质量管理/质量报表/QC_RegistrationForTestingReport.html |  426 ++++++++++++++++++++++++++++++-----------------------
 1 files changed, 240 insertions(+), 186 deletions(-)

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_RegistrationForTestingReport.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_RegistrationForTestingReport.html"
index 4de6512..6e62de4 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_RegistrationForTestingReport.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_RegistrationForTestingReport.html"
@@ -63,93 +63,34 @@
                                     <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                                 </button>
                                 <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>
-                                <!--<div class="layui-colla-content" style="padding: 0px; margin-left: 6%;">
-                                    <div class="layui-row" style="margin-top:10px;margin-left:5%;">
-
-                                    </div>
-                                    <div class="layui-row" style="margin-top: 10px; margin-bottom: 10px ">
-                                        <div class="layui-inline">
-                                            <label class="layui-form-label">杩囨护</label>
-                                            <div class="layui-input-block">
-                                                <select name="ColName" id="ColName" lay-filter="ColName" style="width:190px;">
-                                                </select>
-                                            </div>
-                                        </div>
-                                        <div class="layui-inline">
-                                            <select name="Comparator" id="Comparator" lay-filter="Comparator" style="width:190px;">
-                                                <option value="0" selected="selected"></option>
-                                                <option value="=">=</option>
-                                                <option value=">=">>=</option>
-                                                <option value=">">></option>
-                                                <option value="<="><=</option>
-                                                <option value="<"><</option>
-                                                <option value="<>"><></option>
-                                                <option value="7">鍖呭惈</option>
-                                                <option value="8">宸﹀寘鍚�</option>
-                                                <option value="9">鍙冲寘鍚�</option>
-                                                <option value="10">涓嶅寘鍚�</option>
+                                <div class="layui-row" style="margin-top:5px;margin-left:82px;margin-bottom:5px;">
+                                    <div class="layui-inline">
+                                        <label class="layui-form-label" style="width: 85px;">鏄惁閲忎骇</label>
+                                        <div class="layui-input-block" style="margin-left: 120px; width: 185px;">
+                                            <select name="HBatchWork" id="HBatchWork" lay-verify="HBatchWork">
+                                                <option value="">璇烽�夋嫨</option>
+                                                <option value="1">閲忎骇</option>
+                                                <option value="0">闈為噺浜�</option>
                                             </select>
                                         </div>
-                                        <div class="layui-inline">
-                                            <input type="text" class="layui-input" value="" name="ColContent" id="ColContent">
-                                        </div>
                                     </div>
-                                    <div class="layui-row" style=" margin-top: 10px;">
-                                        <div class="layui-inline">
-                                            <label class="layui-form-label">杩囨护</label>
-                                            <div class="layui-input-block">
-                                                <select name="ColName1" id="ColName1" class="ForFilteringSchemes" lay-filter="ColName1" style="width:190px;">
-                                                </select>
-                                            </div>
-                                        </div>
-                                        <div class="layui-inline">
-                                            <select name="Comparator1" id="Comparator1" class="ForFilteringSchemes" lay-filter="Comparator1" style="width:190px;">
-                                                <option value="0" selected="selected"></option>
-                                                <option value="=">=</option>
-                                                <option value=">=">>=</option>
-                                                <option value=">">></option>
-                                                <option value="<="><=</option>
-                                                <option value="<"><</option>
-                                                <option value="<>"><></option>
-                                                <option value="7">鍖呭惈</option>
-                                                <option value="8">宸﹀寘鍚�</option>
-                                                <option value="9">鍙冲寘鍚�</option>
-                                                <option value="10">涓嶅寘鍚�</option>
+                                    <div class="layui-inline">
+                                        <label class="layui-form-label" style="width: 85px;">椤圭洰鍙�</label>
+                                        <div class="layui-input-block" style="margin-left: 120px; width: 185px;">
+                                            <select name="HProject" id="HProject" class=" ForFilteringSchemes" lay-verify="HProject">
+                                                <!--鍔ㄦ�佹覆鏌撶粍缁�-->
                                             </select>
                                         </div>
-                                        <div class="layui-inline">
-                                            <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent1" id="ColContent1">
-                                        </div>
                                     </div>
-
-                                    <div class="layui-row" style=" margin-top: 10px;">
-                                        <div class="layui-inline">
-                                            <label class="layui-form-label">杩囨护</label>
-                                            <div class="layui-input-block">
-                                                <select name="ColName2" id="ColName2" class="ForFilteringSchemes" lay-filter="ColName2" style="width:190px;">
-                                                </select>
-                                            </div>
-                                        </div>
-                                        <div class="layui-inline">
-                                            <select name="Comparator2" id="Comparator2" class="ForFilteringSchemes" lay-filter="Comparator2" style="width:190px;">
-                                                <option value="0" selected="selected"></option>
-                                                <option value="=">=</option>
-                                                <option value=">=">>=</option>
-                                                <option value=">">></option>
-                                                <option value="<="><=</option>
-                                                <option value="<"><</option>
-                                                <option value="<>"><></option>
-                                                <option value="7">鍖呭惈</option>
-                                                <option value="8">宸﹀寘鍚�</option>
-                                                <option value="9">鍙冲寘鍚�</option>
-                                                <option value="10">涓嶅寘鍚�</option>
+                                    <div class="layui-inline">
+                                        <label class="layui-form-label" style="width: 85px;">浜嬩笟閮�</label>
+                                        <div class="layui-input-block" style="margin-left: 120px; width: 185px;">
+                                            <select name="HDivisionName" id="HDivisionName" class=" ForFilteringSchemes" lay-verify="HDivisionName">
+                                                <!--鍔ㄦ�佹覆鏌撶粍缁�-->
                                             </select>
                                         </div>
-                                        <div class="layui-inline">
-                                            <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent2" id="ColContent2">
-                                        </div>
                                     </div>
-                                </div>-->
+                                </div>
                             </div>
                         </div>
                         <div class="layui-tab layui-tab-card">
@@ -161,6 +102,7 @@
                         </div>
                         <script type="text/html" id="toolbarDemo1">
                             <div class="layui-btn-container">
+                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn_Export" id="btn_Export"><i class="layui-icon layui-icon-export"></i>瀵煎嚭</button>
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="set_HideColumn"><i class="layui-icon layui-icon-form"></i>鍒楄缃�</button>
                             </div>
                         </script>
@@ -176,7 +118,7 @@
         base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
     }).extend({
         index: 'lib/index', //涓诲叆鍙fā鍧�
-    }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate','soulTable'], function () {
+    }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate', 'soulTable'], function () {
 
         //#region 鍏叡鍙橀噺
         var $ = layui.$
@@ -190,8 +132,9 @@
             , soulTable = layui.soulTable
         var sWhere = "";
         var option = [];
+        var ins;                //鐢ㄤ簬瀵煎嚭excel
         var HModName = "QC_RegistrationForTestingReport";
-        var titleData = ["HInterID", "HEntryID", "HBadReasonID", "HSourceInterID", "HSourceEntryID"];//瀛愯〃涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
+        var titleData = ["HInterID", "HEntryID", "HBadReasonID", "HSourceInterID", "HSourceEntryID", "HInterIDLKY","HInterIDSZB"];//瀛愯〃涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
 
         //#endregion
 
@@ -211,6 +154,9 @@
             switch (obj.event) {
                 //鍒楄缃�
                 case 'set_HideColumn': get_HideColumn();
+                    break;
+                //瀵煎嚭鎸夐挳
+                case 'btn_Export': btn_Export();
                     break;
             };
         });
@@ -239,7 +185,8 @@
         function set_ClearBill() {
             $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));
             $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
-            //set_InitGrid();
+            Get_HProject(); //鑾峰彇椤圭洰鍙�
+            GetGy_Division();//鑾峰彇浜嬩笟閮�
             //鏌ヨ
             get_FastQuery();
         }
@@ -274,20 +221,20 @@
 
             var columns = [];
             columns.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣' });
-            columns.push({ field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 180});
+            columns.push({ field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 180 });
             columns.push({ field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', sort: true, width: 180 });
             columns.push({ field: '鐗╂枡', title: '鐗╂枡', sort: true, width: 110 });
             columns.push({ field: '宸ュ簭', title: '宸ュ簭', sort: true, width: 110 });
             columns.push({ field: '鎵规鍙�', title: '鎵规鍙�', sort: true, width: 110 });
-            columns.push({ field: '(1)浜у搧鍗曢噸/g', title: '(1)浜у搧鍗曢噸/g', sort: true, totalRow: true, width: 140});
-            columns.push({ field: '(2)浜у搧鍗曢噸/g', title: '(2)浜у搧鍗曢噸/g', sort: true, totalRow: true, width: 140});
-            columns.push({ field: '(3)浜у搧鍗曢噸/g', title: '(3)浜у搧鍗曢噸/g', sort: true, totalRow: true, width: 140});
-            columns.push({ field: '閫佹祴鍐呭', title: '閫佹祴鍐呭', sort: true, width: 110});
-            columns.push({ field: '閫佹祴鏁伴噺', title: '閫佹祴鏁伴噺', sort: true, totalRow: true, width: 110});
-            columns.push({ field: '閫佹祴鏃堕棿', title: '閫佹祴鏃堕棿', sort: true, width: 180});
-            columns.push({ field: '鍒ゅ畾缁撴灉', title: '鍒ゅ畾缁撴灉', sort: true, width: 110});
-            columns.push({ field: '鍥炴敹鏁伴噺', title: '鍥炴敹鏁伴噺', sort: true, totalRow: true, width: 110});
-            columns.push({ field: '鍥炴敹鏃堕棿', title: '鍥炴敹鏃堕棿', sort: true, width: 180});
+            columns.push({ field: '(1)浜у搧鍗曢噸/g', title: '(1)浜у搧鍗曢噸/g', sort: true, totalRow: true, width: 140 });
+            columns.push({ field: '(2)浜у搧鍗曢噸/g', title: '(2)浜у搧鍗曢噸/g', sort: true, totalRow: true, width: 140 });
+            columns.push({ field: '(3)浜у搧鍗曢噸/g', title: '(3)浜у搧鍗曢噸/g', sort: true, totalRow: true, width: 140 });
+            columns.push({ field: '閫佹祴鍐呭', title: '閫佹祴鍐呭', sort: true, width: 110 });
+            columns.push({ field: '閫佹祴鏁伴噺', title: '閫佹祴鏁伴噺', sort: true, totalRow: true, width: 110 });
+            columns.push({ field: '閫佹祴鏃堕棿', title: '閫佹祴鏃堕棿', sort: true, width: 180 });
+            columns.push({ field: '鍒ゅ畾缁撴灉', title: '鍒ゅ畾缁撴灉', sort: true, width: 110 });
+            columns.push({ field: '鍥炴敹鏁伴噺', title: '鍥炴敹鏁伴噺', sort: true, totalRow: true, width: 110 });
+            columns.push({ field: '鍥炴敹鏃堕棿', title: '鍥炴敹鏃堕棿', sort: true, width: 180 });
             option = {
                 elem: '#mainTable'
                 , toolbar: '#toolbarDemo1'
@@ -296,7 +243,7 @@
                 //, cellMinWidth: 'auto'
                 , totalRow: true
                 , limit: 500
-                , data:[]
+                , data: []
                 , limits: [50, 500, 5000, 20000]
                 //, done: function (res, curr, count) {
                 //    soulTable.render(this);
@@ -330,6 +277,20 @@
                             for (var i = 0; i < data.length; i++) {
                                 if ($.inArray(data[i].name, titleData) > -1) {
                                     col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒�
+                                }
+                                else if (data[i].name == '涓夊潗鏍�') {//娣诲姞瓒呴摼鎺�
+                                    col.push({
+                                        field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: '涓夊潗鏍�', templet: function (d) {
+                                            return '<span style="color: blue;">' + d.涓夊潗鏍� + '</span>'
+                                        }, style: 'cursor: pointer;'
+                                    });
+                                }
+                                else if (data[i].name == '杞粨浠�') {//娣诲姞瓒呴摼鎺�
+                                    col.push({
+                                        field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: '杞粨浠�', templet: function (d) {
+                                            return '<span style="color: blue;">' + d.杞粨浠� + '</span>'
+                                        }, style: 'cursor: pointer;'
+                                    });
                                 }
                                 else {
                                     switch (data[i].Type) {
@@ -369,15 +330,10 @@
                             option.data = data1.data
                         }
 
-                  
                         table.render(option);
-
+                        ins = table.render(option);
                         //鍒锋柊琛ㄦ牸鏁版嵁
                         DisPlay_HideColumn();
-
-                        //if ($("#Comparator").val() == 0 && $("#ColContent").val() == "") {
-                        //    ColFilter();
-                        //}
 
                         layer.close(ajaxLoad);
                     } else {
@@ -398,110 +354,208 @@
             var HMaterID = $("#HMaterID").val();
             var HBatchNo = $("#HBatchNo").val();
 
-            var ColName = $("#ColName").val();//澶嶉�夋
-            var Comparator = $("#Comparator").val()
-            var ColContent = $("#ColContent").val();
-            var ColName1 = $("#ColName1").val();//澶嶉�夋
-            var Comparator1 = $("#Comparator1").val()
-            var ColContent1 = $("#ColContent1").val();
-            var ColName2 = $("#ColName2").val();//澶嶉�夋
-            var Comparator2 = $("#Comparator2").val()
-            var ColContent2 = $("#ColContent2").val();
-
-            if (ColName != 0 && Comparator != 0) {
-                var com = "";
-                switch (Comparator) {
-                    case "7":
-                        com = "like'%" + ColContent + "%'";
-                        break;
-                    case "8":
-                        com = "like'%" + ColContent + "'";
-                        break;
-                    case "9":
-                        com = "like'" + ColContent + "%'";
-                        break;
-                    case "10":
-                        com = "not like'%" + ColContent + "%'";
-                        break;
-                    default:
-                        com = "" + Comparator + "'" + ColContent + "'";
-                        break;
-                }
-                sWhere += " and " + ColName + " " + com;
-            }
-            if (ColName1 != 0 && Comparator1 != 0) {
-                var com1 = "";
-                switch (Comparator1) {
-                    case "7":
-                        com1 = "like'%" + ColContent1 + "%'";
-                        break;
-                    case "8":
-                        com1 = "like'%" + ColContent1 + "'";
-                        break;
-                    case "9":
-                        com1 = "like'" + ColContent1 + "%'";
-                        break;
-                    case "10":
-                        com1 = "not like'%" + ColContent1 + "%'";
-                        break;
-                    default:
-                        com1 = "" + Comparator1 + "'" + ColContent1 + "'";
-                        break;
-                }
-                sWhere += " and " + ColName1 + " " + com1;
-            }
-            if (ColName2 != 0 && Comparator2 != 0) {
-                var com2 = "";
-                switch (Comparator2) {
-                    case "7":
-                        com2 = "like'%" + ColContent2 + "%'";
-                        break;
-                    case "8":
-                        com2 = "like'%" + ColContent2 + "'";
-                        break;
-                    case "9":
-                        com2 = "like'" + ColContent2 + "%'";
-                        break;
-                    case "10":
-                        com2 = "not like'%" + ColContent2 + "%'";
-                        break;
-                    default:
-                        com2 = "" + Comparator2 + "'" + ColContent2 + "'";
-                        break;
-                }
-                sWhere += " and " + ColName2 + " " + com2;
-            }
-
+            var HProject = $("#HProject").val();//椤圭洰鍙�
+            var HBatchWork = $("#HBatchWork").val();//鏄惁閲忎骇
+            var HDivisionName = $("#HDivisionName").val();//浜嬩笟閮�
 
             sWhere = {
                 HBeginDate: HBeginDate
-                ,HEndDate: HEndDate
+                , HEndDate: HEndDate
                 , HMaterID: HMaterID
                 , HBatchNo: HBatchNo
+                , HProject: HProject
+                , HBatchWork: HBatchWork
+                , HDivisionName: HDivisionName
             }
-            //set_InitGrid();
             get_Display(JSON.stringify(sWhere));
             sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨
         }
 
         function set_ClearQuery() {
-            $("#HICMOBillNo").val("");
-            $("#HBardCode").val("");
-            $("#HProcExchBillNo").val("");
-            $("#ColContent1").val("");
-            $("#ColName1").val("0");
-            $("#Comparator1").val("0");
-            $("#ColContent2").val("");
-            $("#ColName2").val("0");
-            $("#Comparator2").val("0");
-            $("#ColContent").val("");
-            $("#ColName").val("0");
-            $("#Comparator").val("0");
+            $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));
+            $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
+            $("#HMaterID").val("0");
+            $("#HBatchNo").val("");
+            $("#HProject").val("");
+            $("#HBatchWork").val("");
+            $("#HDivisionName").val("");
             form.render('select');
 
             sWhere = "";
         }
 
+
+        //#region 鑾峰彇椤圭洰鍙�
+        function Get_HProject() {
+            //鑾峰彇椤圭洰鍙�
+            var HProjectList = '<option value="" style="color:red;" selected></option>';
+            $.ajax({
+                type: "get",
+                url: GetWEBURL() + "/Gy_Material/Get_HProject",
+                async: false,
+                data: { "HOrgID": sessionStorage["OrganizationID"] },
+                success: function (result) {
+                    if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                        var data = result.data;
+                        for (var i = 0; i < data.length; i++) {
+                            HProjectList += '<option  style="color:blue;"  value="' + data[i].HName + '" >' + data[i].HName + '</option>';
+                        }
+                        $("#HProject").append(HProjectList);
+                        form.render('select');
+
+                    }
+                    layer.closeAll("loading");
+                }
+            })
+        }
+        //#endregion
+
+        //#region 鑾峰彇浜嬩笟閮�
+        function GetGy_Division() {
+            //鑾峰彇浜嬩笟閮�
+            var HDivisionList = '<option value="" style="color:red;" selected></option>';
+            $.ajax({
+                type: "get",
+                url: GetWEBURL() + "/Gy_Material/Get_Gy_Division",
+                async: false,
+                data: { "HOrgID": sessionStorage["OrganizationID"] },
+                success: function (result) {
+                    if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                        var data = result.data;
+                        for (var i = 0; i < data.length; i++) {
+                            HDivisionList += '<option  style="color:blue;"  value="' + data[i].HName + '" >' + data[i].HName + '</option>';
+                        }
+                        $("#HDivisionName").append(HDivisionList);
+                        form.render('select');
+
+                    }
+                    layer.closeAll("loading");
+                }
+            })
+        }
+        //#endregion
+
+
+        table.on('tool(mainTable)', function (obj) {
+            var data = obj.data;
+            if (obj.event == '涓夊潗鏍�') {
+                const HBillNo = data.涓夊潗鏍�.substring(0, 2);
+                var linterid = data.HInterIDSZB;
+                if (HBillNo == "SJ") {
+                    layer.open({
+                        type: 2
+                        , area: ['100%', '100%']
+                        , title: '鏌ョ湅棣栦欢妫�楠屽崟'
+                        , closeBtn: 1
+                        , shade: 0.6 //閬僵閫忔槑搴�
+                        , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                        , content: '../棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
+                        , resize: false,
+                        end: function () {
+                        }
+                        , cancel: function () {
+                        }
+                    })
+                }
+                else if (HBillNo == "XJ") {
+                    layer.open({
+                        type: 2
+                        , area: ['100%', '100%']
+                        , title: '鏌ョ湅宸℃璁板綍鍗�'
+                        , closeBtn: 1
+                        , shade: 0.6 //閬僵閫忔槑搴�
+                        , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                        , content: '../宸℃璁板綍鍗�/QC_Add_Edit_PatrolProcCheckOtherill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
+                        , resize: false,
+                        end: function () {
+                        }
+                        , cancel: function () {
+                        }
+                    })
+                }
+                else if (HBillNo == "GX") {
+                    layer.open({
+                        type: 2
+                        , area: ['100%', '100%']
+                        , title: '鏌ョ湅鏈妫�楠屽崟'
+                        , closeBtn: 1
+                        , shade: 0.6 //閬僵閫忔槑搴�
+                        , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                        , content: '../宸ュ簭妫�楠屽崟/QC_ProcessCheckBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
+                        , resize: false,
+                        end: function () {
+                        }
+                        , cancel: function () {
+                        }
+                    })
+                }
+            }
+            if (obj.event == '杞粨浠�') {
+                const HBillNo = data.杞粨浠�.substring(0, 2);
+                var linterid = data.HInterIDLKY;
+                if (HBillNo == "SJ") {
+                    layer.open({
+                        type: 2
+                        , area: ['100%', '100%']
+                        , title: '鏌ョ湅棣栦欢妫�楠屽崟'
+                        , closeBtn: 1
+                        , shade: 0.6 //閬僵閫忔槑搴�
+                        , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                        , content: '../棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
+                        , resize: false,
+                        end: function () {
+                        }
+                        , cancel: function () {
+                        }
+                    })
+                }
+                else if (HBillNo == "XJ") {
+                    layer.open({
+                        type: 2
+                        , area: ['100%', '100%']
+                        , title: '鏌ョ湅宸℃璁板綍鍗�'
+                        , closeBtn: 1
+                        , shade: 0.6 //閬僵閫忔槑搴�
+                        , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                        , content: '../宸℃璁板綍鍗�/QC_Add_Edit_PatrolProcCheckOtherill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
+                        , resize: false,
+                        end: function () {
+                        }
+                        , cancel: function () {
+                        }
+                    })
+                }
+                else if (HBillNo == "GX") {
+                    layer.open({
+                        type: 2
+                        , area: ['100%', '100%']
+                        , title: '鏌ョ湅鏈妫�楠屽崟'
+                        , closeBtn: 1
+                        , shade: 0.6 //閬僵閫忔槑搴�
+                        , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                        , content: '../宸ュ簭妫�楠屽崟/QC_ProcessCheckBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0'
+                        , resize: false,
+                        end: function () {
+                        }
+                        , cancel: function () {
+                        }
+                    })
+                }
+            }
+        });
+    
+        //#region 瀵煎嚭Execel
+        function btn_Export() {
+            table.exportFile(ins.config.id, option.data, "xls");
+        }
+        //#endregion
+
         //闅愯棌鍒楄缃�
         function get_HideColumn() {
             var colName = "";

--
Gitblit v1.9.1