From 7d990c71c703a9874f76d701a4046d28a8dfda11 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 28 十二月 2022 10:54:57 +0800
Subject: [PATCH] 点检单据维护

---
 WebTM/views/模治具管理/器具点检规程单/Sc_MouldDotCheckRuleBillEdit.html   |  225 -----------
 WebTM/views/模治具管理/模治具管理/Sc_MouldDotCheckBillList.html         |  110 ------
 WebTM/views/模治具管理/模治具管理/Sc_MouldDotCheckPlanBillList.html     |  109 ------
 WebTM/views/模治具管理/器具点检规程单/Sc_MouldDotCheckRuleBillList.html   |  110 ------
 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldDotCheckBillList.html     |  283 --------------
 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldDotCheckPlanBillList.html |  236 ------------
 6 files changed, 36 insertions(+), 1,037 deletions(-)

diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html"
index c8f17a1..4855fbb 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html"
@@ -101,14 +101,14 @@
                                                     <input type="text" name="HCheckCycle" id="HCheckCycle" class="layui-input" 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">
                                                     <textarea placeholder="璇疯緭鍏ユ憳瑕�" class="layui-textarea" name="HExplanation" id="HExplanation"></textarea>
                                                 </div>
                                             </div>
-                                        </div>
-                                        <div class="layui-form-item">
                                             <div class="layui-inline">
                                                 <label class="layui-form-label">澶囨敞</label>
                                                 <div class="layui-input-inline">
@@ -121,16 +121,9 @@
                             </div>
                         </div>
                         <div class="layui-tab layui-tab-card" lay-filter="TabTest">
-                            <ul class="layui-tab-title">
-                                <li class="layui-this">鐐规椤逛俊鎭�</li>
-                                <li>閰嶄欢淇℃伅</li>
-                            </ul>
                             <div class="layui-tab-content">
                                 <div class="layui-tab-item layui-show">
                                     <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
-                                </div>
-                                <div class="layui-tab-item">
-                                    <table class="layui-hide" id="mainTable1" lay-filter="mainTable1"></table>
                                 </div>
                             </div>
                         </div>
@@ -142,20 +135,11 @@
 
                             </div>
                         </script>
-                        <script type="text/html" id="toolbarDemo1">
-                            <div class="layui-btn-container">
-
-                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine1"><i class="layui-icon layui-icon-form"></i>澧炲姞涓�琛�</button>
-                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine1"><i class="layui-icon layui-icon-form"></i>澶嶅埗涓�琛�</button>
-
-                            </div>
-                        </script>
+                       
                         <script type="text/html" id="xuhao">
                             {{d.LAY_TABLE_INDEX+1}}
                         </script>
-                        <script type="text/html" id="xuhao1">
-                            {{d.LAY_TABLE_INDEX+1}}
-                        </script>
+                       
                     </form>
                 </div>
             </div>
@@ -198,7 +182,6 @@
                 , element = layui.element;
             //鏌ヨ鏉′欢
             var option = [];//鐐规
-            var option1 = [];//閰嶄欢
             var sBillType = "3834";
             //#endregion
 
@@ -243,30 +226,13 @@
                         break;
                 }
             });
-            //澶村伐鍏锋爮浜嬩欢
-            table.on('toolbar(mainTable1)', function (obj) {
-                var checkStatus = table.checkStatus('mainTable1')
-                    , data = checkStatus.data;
-                var NewRow = { "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": 0, "HUnitNumber": "", "HUnitName": "", "HManagerID": "0 ", "HManagerNumber": " ", "HManagerName": " ", "HQty": "0","HQtyMust":"0", "HRemark": "" };
-                switch (obj.event) {
-                    //鏂板涓�琛�
-                    case 'btn-AddLine1': btnAddLine1(NewRow);
-                        break;
-                    //澶嶅埗涓�琛�
-                    case 'btn-CopyLine1': btnCopyLine1(data);
-                        break;
-                }
-            });
+          
             //琛屽唴浜嬩欢
             table.on('tool(mainTable)', function (obj) {
                 set_GridDelete(obj);   //琛屽唴鍒犻櫎
                 set_GridCellCheck(obj); //琛屽唴蹇嵎閿瓫閫�
             });
-            //琛屽唴浜嬩欢
-            table.on('tool(mainTable1)', function (obj) {
-                set_GridDelete1(obj);   //琛屽唴鍒犻櫎
-                set_GridCellCheck1(obj); //琛屽唴蹇嵎閿瓫閫�
-            });
+        
 
             //瀵瑰簲妯″叿
             form.on('submit(btnHMould)', function () {
@@ -301,8 +267,8 @@
                 data.field.HMaker = sessionStorage["HUserName"];//鍒跺崟浜�
                 var sMainStr = JSON.stringify(data.field);
                 var sSubStr = JSON.stringify(table.cache['mainTable']);
-                var sSubStr1 = JSON.stringify(table.cache['mainTable1']);
-                var sMainSub = sMainStr + ';' + sSubStr + ';' + sSubStr1 + ";" + sessionStorage["HUserName"];
+              
+                var sMainSub = sMainStr + ';' + sSubStr  + ";" + sessionStorage["HUserName"];
                 if (!AllowLoadData(sSubStr))//鏁版嵁楠岃瘉
                 {
                     return false;
@@ -384,7 +350,6 @@
             //鍒濆鍖栬〃鏍�
             function set_InitGrid() {
                 Table();  //鐐规椤瑰垪琛�
-                Table1();  //閰嶄欢椤瑰垪琛�
             }
             //鍒濆鍖栫偣妫�椤瑰垪琛�
             function Table() {
@@ -416,46 +381,14 @@
                     }
                 };
             }
-            //鍒濆鍖栭厤浠堕」鍒楄〃
-            function Table1() {
-                //琛ㄥご
-                columns = [
-                    { type: 'checkbox', fixed: 'left' }
-                    , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                    , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true }
-                    , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterCode" }
-                    , { field: 'HMaterName', title: '閰嶄欢鍚嶇О' }
-                    , { field: 'HUnitID', title: '鍗曚綅ID', edit: 'text', hide: true }
-                    , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', edit: 'text', event: "HUnitCode" }
-                    , { field: 'HUnitName', title: '鍗曚綅鍚嶇О' }
-                    , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', edit: 'text' }
-                    , { field: 'HQtyMust', title: '鍗曚綅鐢ㄩ噺', edit: 'text' }
-                    , { field: 'HRemark', title: '澶囨敞', edit: 'text' }
-                    , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo', width: 150 }
-                ];
-                option1 = {
-                    id: 'mainTable1'
-                    , elem: '#mainTable1'
-                    , toolbar: '#toolbarDemo1'
-                    , height: 500
-                    , page: true
-                    , limit: 500
-                    , cellMinWidth: 120
-                    , height: 500
-                    , cols: [columns]
-                    , done: function (res, curr, count) {
-                    }
-                };
-            }
+       
 
             //鏃犳簮鍗曟柊澧�
             function set_AddFNew() {
                 //鑾峰彇鏈�澶у崟鎹彿
                 get_MAXNum();
                 option.data = [{ "HDotCheckItemID": 0, "HDotCheckItemNumber": " ", "HDotCheckItem": " ", "HDotCheckPart": " ", "HClaim": " ", "HManagerID": "0 ", "HManagerNumber": " ", "HManagerName": " ", "HRemark": " " }];
-                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": 0, "HUnitNumber": "", "HUnitName": "", "HQty": "0","HQtyMust":"0", "HRemark": "" }];
                 table.render(option);
-                table.render(option1);
             }
             //鑾峰彇鏈�澶у崟鎹彿
             function get_MAXNum() {
@@ -481,8 +414,6 @@
                 set_EditGrid(linterid);  //缂栬緫鑾峰彇琛ㄤ綋
                 option.data = [{ "HDotCheckItemID": 0, "HDotCheckItemNumber": " ", "HDotCheckItem": " ", "HDotCheckPart": " ", "HClaim": " ", "HManagerID": "0 ", "HManagerNumber": " ", "HManagerName": " ", "HRemark": " " }];
                 table.render(option);
-                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": 0, "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": "" }];
-                table.render(option1);
             }
             //缂栬緫鑾峰彇琛ㄥご
             function set_EditForm(linterid) {
@@ -533,8 +464,6 @@
                         if (result.count == 1) {
                             option.data = result.list[0];
                             table.render(option);
-                            option1.data = result.list[1];
-                            table.render(option1);
                         } else {
                             layer.alert(result.code + result.Message, { icon: 5 });
                         }
@@ -569,18 +498,7 @@
                     data: buttonArr    //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
                 })
             }
-            //澧炲姞涓�琛�
-            function btnAddLine1(NewRow) {
-                var tableBak = table.cache["mainTable1"]; //鑾峰彇涔嬪墠缂栬緫杩囩殑琛ㄦ牸鏁版嵁
-                buttonArr = [];//娓呯┖鏁扮粍
-                for (var i = 0; i < tableBak.length; i++) {
-                    buttonArr.push(tableBak[i]);  //灏嗕箣鍓嶇殑鏁版嵁瀛樺偍
-                }
-                buttonArr.push(NewRow);  //鍦ㄥ熬閮ㄥ姞涓�琛�
-                table.reload("mainTable1", {
-                    data: buttonArr    //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
-                })
-            }
+          
             //澶嶅埗涓�琛�
             function btnCopyLine(data) {
                 var copydata = JSON.stringify(data);
@@ -598,23 +516,7 @@
                     table.render(option);//灏嗘暟鎹覆鏌撳埌琛ㄦ牸涓�
                 }
             }
-            //澶嶅埗涓�琛�
-            function btnCopyLine1(data) {
-                var copydata = JSON.stringify(data);
-                if (data.length <= 0) {
-                    layer.msg("璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒");
-                }
-                else if (data.length > 1) {
-                    layer.msg("鍙兘閫夋嫨澶嶅埗涓�琛岋紒");
-                }
-                else {
-                    var copydata2 = copydata.substring(1, copydata.length);//鍘婚櫎棣栬瀛楃'['
-                    var copyrow = copydata2.substring(0, copydata2.length - 1);//鍘婚櫎鏈熬瀛楃']'
-                    table.cache["mainTable1"].push(JSON.parse(copyrow));//灏嗗鍒剁殑琛屽己杞垚json杩藉姞鍒拌〃鏍间笂
-                    option1.data = table.cache["mainTable1"];//灏嗘暟鎹粦瀹氬埌data涓�
-                    table.render(option1);//灏嗘暟鎹覆鏌撳埌琛ㄦ牸涓�
-                }
-            }
+           
             // 琛ㄦ牸琛屽唴浜嬩欢鍒犻櫎
             function set_GridDelete(obj) {
                 var data = obj.data;
@@ -635,26 +537,7 @@
                     });
                 }
             }
-            // 琛ㄦ牸琛屽唴浜嬩欢鍒犻櫎
-            function set_GridDelete1(obj) {
-                var data = obj.data;
-                var rowIndex = $(obj.tr).attr("data-index");
-                if (obj.event === 'del') {
-                    layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function (index) {
-                        console.log("绱㈠紩涓�:" + rowIndex);
-                        if (rowIndex === '0') {
-                            layer.msg('棣栬鏃犳硶鍒犻櫎锛侊紒锛�');
-                        } else {
-                            //obj.del();
-                            //layer.close(index);
-                            var oldData = table.cache["mainTable1"];
-                            oldData.splice(obj.tr.data('index'), 1);
-                            table.reload('mainTable1', { data: oldData });
-                            layer.close(index);
-                        }
-                    });
-                }
-            }
+          
 
             //琛ㄦ牸琛屽唴浜嬩欢蹇嵎閿瓫閫�--鐐规
             function set_GridCellCheck(obj) {
@@ -742,89 +625,7 @@
                     }
                 })
             }
-            // 琛ㄦ牸琛屽唴浜嬩欢蹇嵎閿瓫閫�--閰嶄欢
-            function set_GridCellCheck1(obj) {
-                $(document).off('keydown', ".layui-table-edit").on('keydown', '.layui-table-edit', function (e) {
-                    if (event.key == "F7") {
-                        //鍗曚綅浠g爜
-                        if (obj.event === 'HUnitCode') {
-                            //椤甸潰灞�-鑷畾涔�
-                            layer.open({
-                                type: 2,
-                                skin: 'layui-layer-rim', //鍔犱笂杈规
-                                title: '鍗曚綅鍒楄〃',
-                                closeBtn: 1,
-                                shift: 2,
-                                area: ['90%', '90%'],
-                                maxmin: true,
-                                content: ['../../PublicPage/UnitInformation.html', 'yes'],
-                                btn: ['纭畾', '鍙栨秷']
-                                , btn1: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
-                                    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
-                                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
-                                    if (checkStatus.data.length === 0) {
-                                        return layer.msg('璇烽�夋嫨鏁版嵁');
-                                    }
-                                    //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
-                                    obj.update({
-                                        HUnitID: checkStatus.data[0].HItemID,
-                                        HUnitNumber: checkStatus.data[0].HNumber,
-                                        HUnitName: checkStatus.data[0].HName
-                                    });
-                                    layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
-                                }
-                                , btn2: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
-                                    //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
-                                },
-                                end: function () {
-                                }
-                            });
-                        }
-                        //閰嶄欢浠g爜
-                        if (obj.event === 'HMaterCode') {
-                            //椤甸潰灞�-鑷畾涔�
-                            layer.open({
-                                type: 2,
-                                skin: 'layui-layer-rim', //鍔犱笂杈规
-                                title: '鍗曚綅鍒楄〃',
-                                closeBtn: 1,
-                                shift: 2,
-                                area: ['90%', '90%'],
-                                maxmin: true,
-                                content: ['../../PublicPage/PartInformation.html', 'yes'],
-                                btn: ['纭畾', '鍙栨秷']
-                                , btn1: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
-                                    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
-                                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
-                                    if (checkStatus.data.length === 0) {
-                                        return layer.msg('璇烽�夋嫨鏁版嵁');
-                                    }
-                                    //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
-                                    obj.update({
-                                        HMaterID: checkStatus.data[0].HItemID,
-                                        HMaterNumber: checkStatus.data[0].HNumber,
-                                        HMaterName: checkStatus.data[0].HName
-                                    });
-                                    layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
-                                }
-                                , btn2: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
-                                    //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
-                                },
-                                end: function () {
-                                }
-                            });
-                        }
-                        obj.event = "";
-                        return false;
-
-                    }
-                })
-            }
-
+        
             //闈炵┖楠岃瘉
             function AllowLoadData(sSubStr) {
                 var Result = true;
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillList.html"
index 5f68356..9995b62 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillList.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillList.html"
@@ -91,20 +91,6 @@
                             </div>
                         </div>
                         <table class="" id="mainTable" lay-filter="mainTable"></table>
-                        <div class="layui-tab layui-tab-card">
-                            <ul class="layui-tab-title">
-                                <li class="layui-this">鐐规椤逛俊鎭�</li>
-                                <li>閰嶄欢淇℃伅</li>
-                            </ul>
-                            <div class="layui-tab-content">
-                                <div class="layui-tab-item layui-show">
-                                    <table class="layui-hide" id="mainTable1" lay-filter="mainTable1"></table>
-                                </div>
-                                <div class="layui-tab-item">
-                                    <table class="layui-hide" id="mainTable2" lay-filter="mainTable2"></table>
-                                </div>
-                            </div>
-                        </div>
                         <script type="text/html" id="toolbarDemo">
                             <div class="layui-btn-container">
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="btnAdd"><i class="layui-icon layui-icon-add-1"></i>鏂板</button>
@@ -116,12 +102,6 @@
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></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>
-                        <script type="text/html" id="xuhao">
-                            {{d.LAY_TABLE_INDEX+1}}
-                        </script>
-                        <script type="text/html" id="xuhao1">
-                            {{d.LAY_TABLE_INDEX+1}}
                         </script>
                     </form>
                 </div>
@@ -151,8 +131,6 @@
             , laydate = layui.laydate
             var sWhere = "";
             var option = [];
-            var option1 = [];
-            var option2 = [];
             var HModName = "Sc_MouldDotCheckRuleBillList";
             var titleData = ["hmainid", "鐐规椤圭洰ID", "璐熻矗浜篒D", "hbilltype", "HMoudType", "hsubid","鍐呴儴鍗曟嵁鍙�"];//涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
             //#endregion
@@ -203,28 +181,6 @@
                 get_Refresh();
             });
 
-            //鐐瑰嚮涓昏〃甯﹀嚭浠庤〃鏁版嵁
-            table.on('row(mainTable)', function (obj) { //娉細tool 鏄伐鍏锋潯浜嬩欢鍚嶏紝test 鏄� table 鍘熷瀹瑰櫒鐨勫睘鎬� lay-filter="瀵瑰簲鐨勫��"
-                var datas = obj.data; //鑾峰緱褰撳墠琛屾暟鎹�
-                var linterid = datas.hmainid;
-                $.ajax({
-                    url: GetWEBURL() + '/Sc_MouldDotCheckRuleBill/Sc_MouldDotCheckRuleBillSubAndSubItem',
-                    type: "GET",
-                    data: { "HInterID": linterid },
-                    success: function (data1) {
-                        if (data1.count == 1) {
-                            option1.data = data1.list[0];
-                            table.render(option1);
-                            option2.data = data1.list[1];
-                            table.render(option2);
-                        } else {
-                            layer.alert("鑾峰彇澶辫触", { icon: 5 });
-                        }
-                    }, error: function () {
-                        layer.alert("鎺ュ彛澶辨晥!", { icon: 5 });
-                    }
-                });
-            });
 
             //#endregion
 
@@ -234,10 +190,6 @@
                 $("#EndHCreateDate").val(Format(new Date(), "yyyy-MM-dd"));
                 //鏌ヨ
                 get_Display(sWhere);
-                //鍒濆鍖栬〃鏍�(瀛愯〃1)
-                set_InitGrid1();
-                //鍒濆鍖栬〃鏍�(瀛愯〃2)
-                set_InitGrid2();
             }
 
             //鏌ヨ
@@ -281,7 +233,7 @@
                                 , toolbar: '#toolbarDemo'
                                 , cols: [col]
                                 , data: data1.data
-                                , height: 450
+                                , height: 750
                                 , page: true
                                 , cellMinWidth: 90
                                 , limit: 50
@@ -308,66 +260,6 @@
                 });
             }
 
-            //鍒濆鍖栬〃鏍�(瀛愯〃1)
-            function set_InitGrid1() {
-                var ajaxLoad = layer.load();
-                option1 = {
-                    elem: '#mainTable1'
-                    //, toolbar: '#toolbarDemo'
-                    , height: '250'
-                    , page: true
-                    , cellMinWidth: 90
-                    , limit: 50
-                    , limits: [50, 500, 5000, 20000]
-                    , loading: false
-                    , cols: [[
-                        //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left' }
-                        , { field: 'HDotCheckItemID', title: '鐐规椤圭洰ID', width: 200, hide: true }
-                        , { field: 'HDotCheckItem', title: '鐐规椤圭洰', width: 200 }
-                        , { field: 'HDotCheckPart', title: '鐐规閮ㄤ綅', width: 200 }
-                        , { field: 'HClaim', title: '鍏蜂綋瑕佹眰', width: 200 }
-                        , { field: 'HManagerID', title: '璐熻矗浜篒D', width: 200, hide: true }
-                        , { field: 'HManagerNumber', title: '璐熻矗浜轰唬鐮�', width: 200 }
-                        , { field: 'HManagerName', title: '璐熻矗浜�', width: 200 }
-                        , { field: 'HRemark', title: '澶囨敞', width: 200 }
-                    ]]
-                };
-                option1.data = [];
-                table.render(option1);
-                layer.close(ajaxLoad);
-            }
-
-            //鍒濆鍖栬〃鏍�(瀛愯〃2)
-            function set_InitGrid2() {
-                var ajaxLoad = layer.load();
-                option2 = {
-                    elem: '#mainTable2'
-                    //, toolbar: '#toolbarDemo'
-                    , height: '250'
-                    , page: true
-                    , cellMinWidth: 90
-                    , limit: 50
-                    , limits: [50, 500, 5000, 20000]
-                    , loading: false
-                    , cols: [[
-                        //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                        , { field: 'HMaterID', title: '閰嶄欢ID', width: 200, hide: true }
-                        , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', width: 200 }
-                        , { field: 'HMaterName', title: '閰嶄欢鍚嶇О', width: 200 }
-                        , { field: 'HUnitID', title: '鍗曚綅ID', width: 200, hide: true }
-                        , { field: 'HUnitNumber', title: '璁¢噺鍗曚綅浠g爜', width: 200 }
-                        , { field: 'HUnitName', title: '璁¢噺鍗曚綅鍚嶇О', width: 200 }
-                        , { field: 'HQty', title: '鐢ㄩ噺', width: 200 }
-                        , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200 }
-                        , { field: 'HRemark', title: '澶囨敞', width: 200 }
-                    ]]
-                };
-                option2.data = [];
-                table.render(option2);
-                layer.close(ajaxLoad);
-            }
 
             //蹇�熻繃婊�
             function get_FastQuery() {
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 d49ffaf..0f7674a 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"
@@ -67,16 +67,16 @@
                                             </div>
                                         </div>
                                         <div class="layui-form-item">
+                                            <!--<div class="layui-inline">
+        <label class="layui-form-label">鐐规璁″垝缂栧彿</label>
+        <div class="layui-input-inline">
+            <input type="text" name="HPlanNo" id="HPlanNo" class="layui-input">
+        </div>
+    </div>-->
                                             <div class="layui-inline">
-                                                <label class="layui-form-label">鐐规璁″垝缂栧彿</label>
+                                                <label class="layui-form-label">鐐规璁″垝缂栧彿<label style="color:red"> * </label></label>
                                                 <div class="layui-input-inline">
-                                                    <input type="text" name="HPlanNo" id="HPlanNo" class="layui-input">
-                                                </div>
-                                            </div>
-                                            <div class="layui-inline">
-                                                <label class="layui-form-label">鐐规璁″垝鍐呯爜<label style="color:red"> * </label></label>
-                                                <div class="layui-input-inline">
-                                                    <input type="text" name="HPlanInterName" id="HPlanInterName" class="layui-input" value="" style="float:left;width:150px;">
+                                                    <input type="text" name="HPlanNo" id="HPlanNo" class="layui-input" value="" style="float:left;width:150px;">
                                                     <input type="hidden" name="HPlanInterID" id="HPlanInterID" class="layui-input" value="" style="float:left;width:150px;">
                                                     <button type="button" lay-submit="" class="layui-btn" lay-filter="HPlanInterList" style="width:40px;">
                                                         <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
@@ -95,8 +95,6 @@
                                                     <input class="layui-input" name="HEndDate" id="HEndDate" autocomplete="off" model="datetime" dateFormat="yyyy-MM-dd" placeholder="yyyy-MM-dd">
                                                 </div>
                                             </div>
-                                        </div>
-                                        <div class="layui-form-item">
                                             <div class="layui-inline">
                                                 <label class="layui-form-label" style="width:95px;">鍣ㄥ叿鐐规瑙勭▼<label style="color:red"> * </label></label>
                                                 <div class="layui-input-inline">
@@ -107,6 +105,9 @@
                                                     </button>
                                                 </div>
                                             </div>
+                                        </div>
+                                        <div class="layui-form-item">
+                                           
                                             <div class="layui-inline">
                                                 <label class="layui-form-label">鎽樿</label>
                                                 <div class="layui-input-inline">
@@ -125,16 +126,9 @@
                             </div>
                         </div>
                         <div class="layui-tab layui-tab-card" lay-filter="TabTest">
-                            <ul class="layui-tab-title">
-                                <li class="layui-this">鐐规淇℃伅</li>
-                                <li>閰嶄欢淇℃伅</li>
-                            </ul>
                             <div class="layui-tab-content">
                                 <div class="layui-tab-item layui-show">
                                     <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
-                                </div>
-                                <div class="layui-tab-item">
-                                    <table class="layui-hide" id="mainTable1" lay-filter="mainTable1"></table>
                                 </div>
                             </div>
                         </div>
@@ -214,7 +208,6 @@
 
             //鍒濆鍖栬〃鏍�
             set_InitGrid();
-            set_InitGrid1();
 
             //鍒ゆ柇鎿嶄綔绫诲瀷
             if (OperationType == 1) {//鏃犳簮鍗�
@@ -248,33 +241,10 @@
                 }
             });
 
-            // 澶村伐鍏锋爮浜嬩欢
-            table.on('toolbar(mainTable1)', function (obj) {
-                var rowid = 0;
-                var checkStatus = table.checkStatus('mainTable1')
-                    , data = checkStatus.data;;
-                var AddRow = table.cache['mainTable1'];
-                var NewRow = { "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": "0", "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": " " };
-                switch (obj.event) {
-                    //鏂板涓�琛�
-                    case 'btn-AddLine1': btnAddLine1(NewRow);
-                        break;
-                    //澶嶅埗涓�琛�
-                    case 'btn-CopyLine1': btnCopyLine1(data);
-                        break;
-                }
-            });
-
             // 琛屽唴浜嬩欢
             table.on('tool(mainTable)', function (obj) {
                 set_GridDelete(obj);   //琛屽唴鍒犻櫎
                 set_GridCellCheck(obj); //琛屽唴蹇嵎閿瓫閫�
-            });
-
-            // 琛屽唴浜嬩欢
-            table.on('tool(mainTable1)', function (obj) {
-                set_GridDelete1(obj);   //琛屽唴鍒犻櫎
-                set_GridCellCheck1(obj); //琛屽唴蹇嵎閿瓫閫�
             });
 
 
@@ -299,7 +269,7 @@
                             return layer.msg('璇烽�夋嫨鏁版嵁');
                         }
 
-                        $("#HPlanInterName").val(checkStatus.data[0].鍗曟嵁鍙�);
+                        $("#HPlanNo").val(checkStatus.data[0].鍗曟嵁鍙�);
                         $("#HPlanInterID").val(checkStatus.data[0].hmainid);
                         layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
                         //$.ajax({
@@ -479,89 +449,6 @@
                 })
             }
 
-            //琛ㄦ牸琛屽唴浜嬩欢蹇嵎閿瓫閫�
-            function set_GridCellCheck1(obj) {
-                $(document).off('keydown', ".layui-table-edit").on('keydown', '.layui-table-edit', function (e) {
-                    if (event.key == "F7") {
-                        if (obj.event === 'HMaterNumber')  //閰嶄欢浠g爜
-                        {
-                            //椤甸潰灞�-鑷畾涔�
-                            layer.open({
-                                type: 2,
-                                skin: 'layui-layer-rim', //鍔犱笂杈规
-                                title: '閰嶄欢鍒楄〃',
-                                closeBtn: 1,
-                                shift: 2,
-                                area: ['90%', '90%'],
-                                maxmin: true,
-                                content: ['../../PublicPage/PartInformation.html', 'yes'],
-                                btn: ['纭畾', '鍙栨秷']
-                                , btn1: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
-                                    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
-                                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
-                                    if (checkStatus.data.length === 0) {
-                                        return layer.msg('璇烽�夋嫨鏁版嵁');
-                                    }
-                                    //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
-                                    obj.update({
-                                        HMaterID: checkStatus.data[0].HItemID,
-                                        HMaterNumber: checkStatus.data[0].HNumber,
-                                        HMaterName: checkStatus.data[0].HName
-
-                                    });
-                                    layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
-                                }
-                                , btn2: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
-                                    //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
-                                },
-                                end: function () {
-                                }
-                            });
-                        }
-                        //鍗曚綅浠g爜
-                        if (obj.event === 'HUnitNumber') {
-                            //椤甸潰灞�-鑷畾涔�
-                            layer.open({
-                                type: 2,
-                                skin: 'layui-layer-rim', //鍔犱笂杈规
-                                title: '鍗曚綅鍒楄〃',
-                                closeBtn: 1,
-                                shift: 2,
-                                area: ['90%', '90%'],
-                                maxmin: true,
-                                content: ['../../PublicPage/UnitInformation.html', 'yes'],
-                                btn: ['纭畾', '鍙栨秷']
-                                , btn1: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
-                                    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
-                                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
-                                    if (checkStatus.data.length === 0) {
-                                        return layer.msg('璇烽�夋嫨鏁版嵁');
-                                    }
-                                    //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
-                                    obj.update({
-                                        HUnitID: checkStatus.data[0].HItemID,
-                                        HUnitNumber: checkStatus.data[0].HNumber,
-                                        HUnitName: checkStatus.data[0].HName
-                                    });
-                                    layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
-                                }
-                                , btn2: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
-                                    //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
-                                },
-                                end: function () {
-                                }
-                            });
-                        }
-                        obj.event = "";
-                        return false;
-
-                    }
-                })
-            }
 
             //鏂板
             form.on('submit(set_AddNew)', function (data) {
@@ -573,8 +460,7 @@
             form.on('submit(Saver)', function (data) {
                 var sMainStr = JSON.stringify(data.field);
                 var sSubStr = JSON.stringify(table.cache['mainTable']);
-                var sSubStr1 = JSON.stringify(table.cache['mainTable1']);
-                var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"] + ";" + sSubStr1;
+                var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"] ;
                 if (!AllowLoadData(sSubStr))//鏁版嵁楠岃瘉
                 {
                     return false;
@@ -676,35 +562,7 @@
 
             }
 
-            //鍒濆鍖栬〃鏍�
-            function set_InitGrid1() {
-                //琛ㄥご
-                columns = [
-                    { type: 'checkbox', fixed: 'left' }
-                    , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                    , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true }
-                    , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterNumber", }
-                    , { field: 'HUnitID', title: '鍗曚綅ID', edit: 'text', event: "", hide: true }
-                    , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', edit: 'text', event: "HUnitNumber" }
-                    , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', edit: 'text' }
-                    , { field: 'HQtyMust', title: '鍗曚綅鐢ㄩ噺', edit: 'text' }
-                    , { field: 'HRemark', title: '澶囨敞', edit: 'text' }
-                    , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo1', width: 150 }
-                ];
-                option1 = {
-                    id: 'mainTable1'
-                    , elem: '#mainTable1'
-                    , toolbar: '#toolbarDemo1'
-                    , page: false
-                    , cellMinWidth: 120
-                    , height: 500
-                    , cols: [columns]
-                    , done: function (res, curr, count) {
-
-                    }
-                };
-
-            }
+         
 
             //鏃犳簮鍗曟柊澧�
             function set_AddFNew() {
@@ -712,8 +570,6 @@
                 get_MAXNum();
                 option.data = [{ "HDotCheckItemID": 0, "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": "0", "HManagerNumber": "", "HManagerName": "", "HRemark": "" }];
                 table.render(option);
-                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": "0", "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": "" }];
-                table.render(option1);
             }
 
             //缂栬緫
@@ -722,8 +578,6 @@
                 set_EditGrid(linterid);  //缂栬緫鑾峰彇琛ㄤ綋
                 option.data = [{ "HDotCheckItemID": 0, "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": "0", "HManagerNumber": "", "HManagerName": "", "HRemark": "" }];
                 table.render(option);
-                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": "0", "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": "" }];
-                table.render(option1);
             }
 
             //鑾峰彇鏈�澶у崟鎹彿鍙婇粯璁ゅ�艰祴鍊�
@@ -759,11 +613,8 @@
                                 var BYData = result.list[0];//鐐规
                                 var PJData = result.list[1];//閰嶄欢
                                 var rowdate1 = layui.table.cache["mainTable"];
-                                var rowdate2 = layui.table.cache["mainTable1"];
                                 option.data = [{ "HDotCheckItemID": 0, "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": "0", "HManagerNumber": "", "HManagerName": "", "HRemark": "" }];
-                                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": "0", "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": "" }];
                                 table.render(option);
-                                table.render(option1);
 
                                 if (BYData.length != 0)  //琛ㄤ綋鏁版嵁涓嶄负绌烘椂
                                 {
@@ -781,22 +632,6 @@
                                     })
                                 }
 
-                                if (PJData.length != 0)  //琛ㄤ綋鏁版嵁涓嶄负绌烘椂
-                                {
-                                    buttonArr = [];//娓呯┖鏁扮粍
-                                    for (var i = 0; i < PJData.length; i++) {
-                                        var checkrow = {
-                                            "HMaterID": PJData[i].HMaterID, "HMaterNumber": PJData[i].HMaterNumber, "HMaterName": PJData[i].HMaterName,
-                                            "HUnitID": PJData[i].HUnitID, "HUnitNumber": PJData[i].HUnitNumber,
-                                            "HUnitName": PJData[i].HUnitName, "HQty": PJData[i].HQty, "HQtyMust": PJData[i].HQtyMust,
-                                            "HRemark": PJData[i].HRemark
-                                        };
-                                        buttonArr.push(checkrow);  //灏嗕箣鍓嶇殑鏁版嵁瀛樺偍
-                                    }
-                                    table.reload("mainTable1", {
-                                        data: buttonArr    //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
-                                    })
-                                }
 
                             } else {
                                 layer.alert(result.code + result.Message, { icon: 5 });
@@ -819,11 +654,8 @@
                                 var BYData = result.list[0];//鐐规
                                 var PJData = result.list[1];//閰嶄欢
                                 var rowdate1 = layui.table.cache["mainTable"];
-                                var rowdate2 = layui.table.cache["mainTable1"];
                                 option.data = [{ "HDotCheckItemID": 0, "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": "0", "HManagerNumber": "", "HManagerName": "", "HRemark": "" }];
-                                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": "0", "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": "" }];
                                 table.render(option);
-                                table.render(option1);
 
                                 if (BYData.length != 0)  //琛ㄤ綋鏁版嵁涓嶄负绌烘椂
                                 {
@@ -837,23 +669,6 @@
                                         buttonArr.push(checkrow);  //灏嗕箣鍓嶇殑鏁版嵁瀛樺偍
                                     }
                                     table.reload("mainTable", {
-                                        data: buttonArr    //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
-                                    })
-                                }
-
-                                if (PJData.length != 0)  //琛ㄤ綋鏁版嵁涓嶄负绌烘椂
-                                {
-                                    buttonArr = [];//娓呯┖鏁扮粍
-                                    for (var i = 0; i < PJData.length; i++) {
-                                        var checkrow = {
-                                            "HMaterID": PJData[i].HMaterID, "HMaterNumber": PJData[i].HMaterNumber, "HMaterName": PJData[i].HMaterName,
-                                            "HUnitID": PJData[i].HUnitID, "HUnitNumber": PJData[i].HUnitNumber,
-                                            "HUnitName": PJData[i].HUnitName, "HQty": PJData[i].HQty, "HQtyMust": PJData[i].HQtyMust,
-                                            "HRemark": PJData[i].HRemark
-                                        };
-                                        buttonArr.push(checkrow);  //灏嗕箣鍓嶇殑鏁版嵁瀛樺偍
-                                    }
-                                    table.reload("mainTable1", {
                                         data: buttonArr    //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
                                     })
                                 }
@@ -889,9 +704,9 @@
                                 , "HEndDate": formatDate(data.鐐规缁撴潫鏃ユ湡)
                                 , "HExplanation": data.鎽樿
                                 , "HRemark": data.澶囨敞
-                                , "HPlanNo": data.鐐规璁″垝缂栧彿
+                                //, "HPlanNo": data.鐐规璁″垝缂栧彿
                                 , "HPlanInterID": data.HPlanInterID
-                                , "HPlanInterName": data.鐐规璁″垝鍐呯爜
+                                , "HPlanNo": data.鐐规璁″垝鍐呯爜
                                 , "HMouldID": data.HMouldID
                                 , "HMouldDotCheckRuleName": data.鍣ㄥ叿鐐规瑙勭▼鍗曟嵁鍙�
                                 , "HMouldDotCheckRuleID": data.HMouldDotCheckRuleID
@@ -958,19 +773,6 @@
                 })
             }
 
-            //澧炲姞涓�琛�
-            function btnAddLine1(NewRow) {
-                var tableBak = table.cache["mainTable1"]; //鑾峰彇涔嬪墠缂栬緫杩囩殑琛ㄦ牸鏁版嵁
-                buttonArr = [];//娓呯┖鏁扮粍
-                for (var i = 0; i < tableBak.length; i++) {
-                    buttonArr.push(tableBak[i]);  //灏嗕箣鍓嶇殑鏁版嵁瀛樺偍
-                }
-                buttonArr.push(NewRow);  //鍦ㄥ熬閮ㄥ姞涓�琛�
-                table.reload("mainTable1", {
-                    data: buttonArr    //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
-                })
-            }
-
             //澶嶅埗涓�琛�
             function btnCopyLine(data) {
                 var copydata = JSON.stringify(data);
@@ -989,23 +791,6 @@
                 }
             }
 
-            //澶嶅埗涓�琛�
-            function btnCopyLine1(data) {
-                var copydata = JSON.stringify(data);
-                if (data.length <= 0) {
-                    layer.msg("璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒");
-                }
-                else if (data.length > 1) {
-                    layer.msg("鍙兘閫夋嫨澶嶅埗涓�琛岋紒");
-                }
-                else {
-                    var copydata2 = copydata.substring(1, copydata.length);//鍘婚櫎棣栬瀛楃'['
-                    var copyrow = copydata2.substring(0, copydata2.length - 1);//鍘婚櫎鏈熬瀛楃']'
-                    table.cache["mainTable1"].push(JSON.parse(copyrow));//灏嗗鍒剁殑琛屽己杞垚json杩藉姞鍒拌〃鏍间笂
-                    option1.data = table.cache["mainTable1"];//灏嗘暟鎹粦瀹氬埌data涓�
-                    table.render(option1);//灏嗘暟鎹覆鏌撳埌琛ㄦ牸涓�
-                }
-            }
 
             //琛ㄦ牸琛屽唴浜嬩欢鍒犻櫎
             function set_GridDelete(obj) {
@@ -1022,42 +807,6 @@
                     });
                 }
             }
-
-            //琛ㄦ牸琛屽唴浜嬩欢鍒犻櫎
-            function set_GridDelete1(obj) {
-                var rowIndex = $(obj.tr).attr("data-index");
-                if (obj.event === 'del1') {
-                    layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function (index) {
-                        console.log("绱㈠紩涓�:" + rowIndex);
-                        if (rowIndex === '0') {
-                            layer.msg('棣栬鏃犳硶鍒犻櫎锛侊紒锛�');
-                        } else {
-                            var oldData = table.cache["mainTable1"];
-                            oldData.splice(obj.tr.data('index'), 1);
-                            table.reload('mainTable1', { data: oldData });
-                            layer.close(index);
-                        }
-                    });
-                }
-            };
-
-            //琛ㄦ牸琛屽唴浜嬩欢鍒犻櫎
-            function set_GridDelete1(obj) {
-                var rowIndex = $(obj.tr).attr("data-index");
-                if (obj.event === 'del1') {
-                    layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function (index) {
-                        console.log("绱㈠紩涓�:" + rowIndex);
-                        if (rowIndex === '0') {
-                            layer.msg('棣栬鏃犳硶鍒犻櫎锛侊紒锛�');
-                        } else {
-                            var oldData = table.cache["mainTable1"];
-                            oldData.splice(obj.tr.data('index'), 1);
-                            table.reload('mainTable1', { data: oldData });
-                            layer.close(index);
-                        }
-                    });
-                }
-            };
 
             //闈炵┖楠岃瘉
             function AllowLoadData(sSubStr) {
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_MouldDotCheckPlanBillList.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_MouldDotCheckPlanBillList.html"
index 23d4d34..fea7719 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_MouldDotCheckPlanBillList.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_MouldDotCheckPlanBillList.html"
@@ -127,10 +127,6 @@
                             </div>
 
                             <div class="layui-tab layui-tab-card" lay-filter="TabTest">
-                                <ul class="layui-tab-title">
-                                    <li class="layui-this">鐐规淇℃伅</li>
-                                    <li>閰嶄欢淇℃伅</li>
-                                </ul>
                                 <div class="layui-tab-content">
                                     <div class="layui-tab-item layui-show">
                                         <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
@@ -146,18 +142,11 @@
                                     <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine"><i class="layui-icon layui-icon-form"></i>澶嶅埗涓�琛�</button>
                                 </div>
                             </script>
-                            <script type="text/html" id="toolbarDemo1">
-                                <div class="layui-btn-container">
-                                    <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine1"><i class="layui-icon layui-icon-form"></i>澧炲姞涓�琛�</button>
-                                    <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine1"><i class="layui-icon layui-icon-form"></i>澶嶅埗涓�琛�</button>
-                                </div>
-                            </script>
+                           
                             <script type="text/html" id="xuhao">
                                 {{d.LAY_TABLE_INDEX+1}}
                             </script>
-                            <script type="text/html" id="xuhao1">
-                                {{d.LAY_TABLE_INDEX+1}}
-                            </script>
+                          
                     </form>
                 </div>
             </div>
@@ -166,10 +155,6 @@
     <script type="text/html" id="barDemo">
         <!--<a class="layui-btn layui-btn-xs" lay-event="edit">缂栬緫</a>-->
         <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">鍒犻櫎</a>
-    </script>
-    <script type="text/html" id="barDemo1">
-        <!--<a class="layui-btn layui-btn-xs" lay-event="edit">缂栬緫</a>-->
-        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del1">鍒犻櫎</a>
     </script>
     <script src="../../../layuiadmin/layui/layui.js"></script>
     <script src="../../../layuiadmin/Scripts/json2.js"></script>
@@ -202,14 +187,12 @@
                 , element = layui.element;
 
             var option = [];//鐐规
-            var option1 = [];//閰嶄欢
 
             //#region 杩涘叆椤甸潰鍗冲姞杞�
             //鍒濆鍖栬〃鍗曟彃浠�
             set_InitFrom();
             //鍒濆鍖栬〃鏍�
             set_InitGrid();
-            set_InitGrid1();
             //鍒ゆ柇鎿嶄綔绫诲瀷
             if (OperationType == 1) {//鏃犳簮鍗�
                 set_AddFNew();
@@ -315,33 +298,11 @@
                 }
             });
 
-            // 澶村伐鍏锋爮浜嬩欢
-            table.on('toolbar(mainTable1)', function (obj) {
-                var rowid = 0;
-                var checkStatus = table.checkStatus('mainTable1')
-                    , data = checkStatus.data;;
-                var AddRow = table.cache['mainTable1'];
-                var NewRow = { "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": "0", "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": " " };
-                switch (obj.event) {
-                    //鏂板涓�琛�
-                    case 'btn-AddLine1': btnAddLine1(NewRow);
-                        break;
-                    //澶嶅埗涓�琛�
-                    case 'btn-CopyLine1': btnCopyLine1(data);
-                        break;
-                }
-            });
 
             //琛屽唴浜嬩欢
             table.on('tool(mainTable)', function (obj) {
                 set_GirdDelete(obj);//鍒犻櫎浜嬩欢
                 set_GridCellCheck(obj); //琛屽唴蹇嵎閿瓫閫�(F7)
-            });
-
-            // 琛屽唴浜嬩欢
-            table.on('tool(mainTable1)', function (obj) {
-                set_GridDelete1(obj);   //琛屽唴鍒犻櫎
-                set_GridCellCheck1(obj); //琛屽唴蹇嵎閿瓫閫�
             });
 
             //閫�鍑�
@@ -370,8 +331,7 @@
                 //debugger;
                 var sMainStr = JSON.stringify(data.field);
                 var sSubStr = JSON.stringify(table.cache['mainTable']);
-                var sSubStr1 = JSON.stringify(table.cache['mainTable1']);
-                var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"] + ";" + sSubStr1;
+                var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"] ;
                 if (AllowLoadData()) {
                     $.ajax(
                         {
@@ -451,36 +411,6 @@
                 };
             }
 
-            //鍒濆鍖栬〃鏍�
-            function set_InitGrid1() {
-                //琛ㄥご
-                columns = [
-                    { type: 'checkbox', fixed: 'left' }
-                    , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                    , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true }
-                    , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterNumber", }
-                    , { field: 'HUnitID', title: '鍗曚綅ID', edit: 'text', event: "", hide: true }
-                    , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', edit: 'text', event: "HUnitNumber" }
-                    , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', edit: 'text' }
-                    , { field: 'HQtyMust', title: '鍗曚綅鐢ㄩ噺', edit: 'text' }
-                    , { field: 'HRemark', title: '澶囨敞', edit: 'text' }
-                    , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo1', width: 150 }
-                ];
-                option1 = {
-                    id: 'mainTable1'
-                    , elem: '#mainTable1'
-                    , toolbar: '#toolbarDemo1'
-                    , page: false
-                    , cellMinWidth: 120
-                    , height: 500
-                    , cols: [columns]
-                    , done: function (res, curr, count) {
-
-                    }
-                };
-
-            }
-
             // 鐐规淇℃伅 閰嶄欢淇℃伅
             function get_DocCheckItem2(data) {
                 $.ajax({
@@ -496,9 +426,7 @@
                                 var rowdate1 = layui.table.cache["mainTable"];
                                 var rowdate2 = layui.table.cache["mainTable1"];
                                 option.data = [{ "HDotCheckItemID": 0, "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": 0, "HManagerCode": "", "HManagerName": "", "HRemark": "" }];
-                                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": "0", "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": "" }];
                                 table.render(option);
-                                table.render(option1);
 
                                 if (BYData.length != 0)  //琛ㄤ綋鏁版嵁涓嶄负绌烘椂
                                 {
@@ -512,23 +440,6 @@
                                         buttonArr.push(checkrow);  //灏嗕箣鍓嶇殑鏁版嵁瀛樺偍
                                     }
                                     table.reload("mainTable", {
-                                        data: buttonArr    //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
-                                    })
-                                }
-
-                                if (PJData.length != 0)  //琛ㄤ綋鏁版嵁涓嶄负绌烘椂
-                                {
-                                    buttonArr = [];//娓呯┖鏁扮粍
-                                    for (var i = 0; i < PJData.length; i++) {
-                                        var checkrow = {
-                                            "HMaterID": PJData[i].HMaterID, "HMaterNumber": PJData[i].HMaterNumber, "HMaterName": PJData[i].HMaterName,
-                                            "HUnitID": PJData[i].HUnitID, "HUnitNumber": PJData[i].HUnitNumber,
-                                            "HUnitName": PJData[i].HUnitName, "HQty": PJData[i].HQty, "HQtyMust": PJData[i].HQtyMust,
-                                            "HRemark": PJData[i].HRemark
-                                        };
-                                        buttonArr.push(checkrow);  //灏嗕箣鍓嶇殑鏁版嵁瀛樺偍
-                                    }
-                                    table.reload("mainTable1", {
                                         data: buttonArr    //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
                                     })
                                 }
@@ -547,8 +458,6 @@
                 get_MAXNum();
                 option.data = [{ "HDotCheckItemID": 0, "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": 0, "HManagerCode": "", "HManagerName": "", "HRemark": "" }];
                 table.render(option);
-                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": "0", "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": "" }];
-                table.render(option1);
             }
             //鑾峰彇鏈�澶у崟鎹彿鍙婇粯璁ゅ�艰祴鍊�
             function get_MAXNum() {
@@ -577,8 +486,6 @@
                 set_EditGrid(linterid);  //缂栬緫鑾峰彇琛ㄤ綋
                 option.data = [{ "HDotCheckItemID": 0, "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": 0, "HManagerCode": "", "HManagerName": "", "HRemark": "" }];
                 table.render(option);
-                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": "0", "HUnitNumber": "", "HUnitName": "", "HQty": "0", "HQtyMust": "0", "HRemark": "" }];
-                table.render(option1);
             }
             //缂栬緫鍔犺浇琛ㄥご
             function set_EditForm(linterid) {
@@ -631,8 +538,6 @@
                         if (result.count == 1) {
                             option.data = result.list[0];
                             table.render(option);
-                            option1.data = result.list[1];
-                            table.render(option1);
 
                         } else {
                             layer.alert(result.code + result.Message, { icon: 5 });
@@ -668,19 +573,6 @@
                 })
             }
 
-            //澧炲姞涓�琛�
-            function btnAddLine1(NewRow) {
-                var tableBak = table.cache["mainTable1"]; //鑾峰彇涔嬪墠缂栬緫杩囩殑琛ㄦ牸鏁版嵁
-                buttonArr = [];//娓呯┖鏁扮粍
-                for (var i = 0; i < tableBak.length; i++) {
-                    buttonArr.push(tableBak[i]);  //灏嗕箣鍓嶇殑鏁版嵁瀛樺偍
-                }
-                buttonArr.push(NewRow);  //鍦ㄥ熬閮ㄥ姞涓�琛�
-                table.reload("mainTable1", {
-                    data: buttonArr    //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
-                })
-            }
-
 
             //澶嶅埗涓�琛�
             function set_CopyLine(data) {
@@ -701,24 +593,6 @@
                 }
             }
 
-
-            //澶嶅埗涓�琛�
-            function btnCopyLine1(data) {
-                var copydata = JSON.stringify(data);
-                if (data.length <= 0) {
-                    layer.msg("璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒");
-                }
-                else if (data.length > 1) {
-                    layer.msg("鍙兘閫夋嫨澶嶅埗涓�琛岋紒");
-                }
-                else {
-                    var copydata2 = copydata.substring(1, copydata.length);//鍘婚櫎棣栬瀛楃'['
-                    var copyrow = copydata2.substring(0, copydata2.length - 1);//鍘婚櫎鏈熬瀛楃']'
-                    table.cache["mainTable1"].push(JSON.parse(copyrow));//灏嗗鍒剁殑琛屽己杞垚json杩藉姞鍒拌〃鏍间笂
-                    option1.data = table.cache["mainTable1"];//灏嗘暟鎹粦瀹氬埌data涓�
-                    table.render(option1);//灏嗘暟鎹覆鏌撳埌琛ㄦ牸涓�
-                }
-            }
 
             //琛屽唴鍒犻櫎浜嬩欢
             function set_GirdDelete(obj) {
@@ -741,23 +615,7 @@
                 }
             }
 
-            //琛ㄦ牸琛屽唴浜嬩欢鍒犻櫎
-            function set_GridDelete1(obj) {
-                var rowIndex = $(obj.tr).attr("data-index");
-                if (obj.event === 'del1') {
-                    layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function (index) {
-                        console.log("绱㈠紩涓�:" + rowIndex);
-                        if (rowIndex === '0') {
-                            layer.msg('棣栬鏃犳硶鍒犻櫎锛侊紒锛�');
-                        } else {
-                            var oldData = table.cache["mainTable1"];
-                            oldData.splice(obj.tr.data('index'), 1);
-                            table.reload('mainTable1', { data: oldData });
-                            layer.close(index);
-                        }
-                    });
-                }
-            };
+        
             // 琛ㄦ牸琛屽唴浜嬩欢蹇嵎閿瓫閫�
             function set_GridCellCheck(obj) {
                 $(document).off('keydown', ".layui-table-edit").on('keydown', '.layui-table-edit', function (e) {
@@ -840,92 +698,6 @@
                     }
                 })
             }
-
-            //琛ㄦ牸琛屽唴浜嬩欢蹇嵎閿瓫閫�
-            function set_GridCellCheck1(obj) {
-                $(document).off('keydown', ".layui-table-edit").on('keydown', '.layui-table-edit', function (e) {
-                    if (event.key == "F7") {
-                        if (obj.event === 'HMaterNumber')  //閰嶄欢浠g爜
-                        {
-                            //椤甸潰灞�-鑷畾涔�
-                            layer.open({
-                                type: 2,
-                                skin: 'layui-layer-rim', //鍔犱笂杈规
-                                title: '閰嶄欢鍒楄〃',
-                                closeBtn: 1,
-                                shift: 2,
-                                area: ['90%', '90%'],
-                                maxmin: true,
-                                content: ['../../PublicPage/PartInformation.html', 'yes'],
-                                btn: ['纭畾', '鍙栨秷']
-                                , btn1: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
-                                    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
-                                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
-                                    if (checkStatus.data.length === 0) {
-                                        return layer.msg('璇烽�夋嫨鏁版嵁');
-                                    }
-                                    //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
-                                    obj.update({
-                                        HMaterID: checkStatus.data[0].HItemID,
-                                        HMaterNumber: checkStatus.data[0].HNumber,
-                                        HMaterName: checkStatus.data[0].HName
-
-                                    });
-                                    layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
-                                }
-                                , btn2: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
-                                    //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
-                                },
-                                end: function () {
-                                }
-                            });
-                        }
-                        //鍗曚綅浠g爜
-                        if (obj.event === 'HUnitNumber') {
-                            //椤甸潰灞�-鑷畾涔�
-                            layer.open({
-                                type: 2,
-                                skin: 'layui-layer-rim', //鍔犱笂杈规
-                                title: '鍗曚綅鍒楄〃',
-                                closeBtn: 1,
-                                shift: 2,
-                                area: ['90%', '90%'],
-                                maxmin: true,
-                                content: ['../../PublicPage/UnitInformation.html', 'yes'],
-                                btn: ['纭畾', '鍙栨秷']
-                                , btn1: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
-                                    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
-                                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
-                                    if (checkStatus.data.length === 0) {
-                                        return layer.msg('璇烽�夋嫨鏁版嵁');
-                                    }
-                                    //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
-                                    obj.update({
-                                        HUnitID: checkStatus.data[0].HItemID,
-                                        HUnitNumber: checkStatus.data[0].HNumber,
-                                        HUnitName: checkStatus.data[0].HName
-                                    });
-                                    layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
-                                }
-                                , btn2: function (index, layero) {
-                                    //鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
-                                    //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
-                                },
-                                end: function () {
-                                }
-                            });
-                        }
-                        obj.event = "";
-                        return false;
-
-                    }
-                })
-            }
-
-
 
             //鏁版嵁楠岃瘉
             function AllowLoadData(sSubStr) {
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 159d73d..5556048 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"
@@ -102,20 +102,6 @@
                                     </div>
                                 </div>
                                 <table class="" id="mainTable" lay-filter="mainTable"></table>
-                                <div class="layui-tab layui-tab-card">
-                                    <ul class="layui-tab-title">
-                                        <li class="layui-this">鐐规椤逛俊鎭�</li>
-                                        <li>閰嶄欢淇℃伅</li>
-                                    </ul>
-                                    <div class="layui-tab-content">
-                                        <div class="layui-tab-item layui-show">
-                                            <table class="layui-hide" id="mainTable1" lay-filter="mainTable1"></table>
-                                        </div>
-                                        <div class="layui-tab-item">
-                                            <table class="layui-hide" id="mainTable2" lay-filter="mainTable2"></table>
-                                        </div>
-                                    </div>
-                                </div>
                                 <script type="text/html" id="toolbarDemo">
                                     <div class="layui-btn-container">
                                         <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Add"><i class="layui-icon layui-icon-add-1"></i>鏂板</button>
@@ -128,12 +114,6 @@
                                         <button type="button" class="layui-btn layui-btn-sm" lay-event="set_HideColumn"><i class="layui-icon layui-icon-form"></i>鍒楄缃�</button>
 
                                     </div>
-                                </script>
-                                <script type="text/html" id="xuhao">
-                                    {{d.LAY_TABLE_INDEX+1}}
-                                </script>
-                                <script type="text/html" id="xuhao1">
-                                    {{d.LAY_TABLE_INDEX+1}}
                                 </script>
                             </div>
                         </div>
@@ -175,10 +155,6 @@
             //#region 杩涘叆椤甸潰鍗冲姞杞�
             //鍒濆鍖栬〃鏍�
             set_InitGrid();
-            //鍒濆鍖栬〃鏍�(瀛愯〃1)
-            set_InitGrid1();
-            //鍒濆鍖栬〃鏍�(瀛愯〃2)
-            set_InitGrid2();
             //鍔犺浇鏁版嵁鍒扮綉鏍�
             get_Display(sWhere);
             //鍒濆鍖栬〃鏍�
@@ -186,29 +162,6 @@
             //#endregion
 
             //#region 瑙﹀彂浜嬩欢锛氬寘鎷琭orm.on(){}鏍煎紡鐨勬墍鏈夌偣鍑讳簨浠躲�侀�夋嫨浜嬩欢绛�
-            //鐐瑰嚮涓昏〃甯﹀嚭浠庤〃鏁版嵁
-            table.on('row(mainTable)', function (obj) { //娉細tool 鏄伐鍏锋潯浜嬩欢鍚嶏紝test 鏄� table 鍘熷瀹瑰櫒鐨勫睘鎬� lay-filter="瀵瑰簲鐨勫��"
-                var datas = obj.data; //鑾峰緱褰撳墠琛屾暟鎹�
-                var linterid = datas.hmainid;
-                $.ajax({
-                    url: GetWEBURL() + '/Sc_MouldDotCheckBill/Sc_MouldDotCheckBillListProjectDetai',
-                    type: "GET",
-                    data: { "sqlWhere": "and HInterID=" + linterid },
-                    success: function (data1) {
-                        if (data1.count == 1) {
-                            option1.data = data1.list[0];
-                            table.render(option1);
-                            option2.data = data1.list[1];
-                            table.render(option2);
-                        } else {
-                            layer.alert("鑾峰彇澶辫触", { icon: 5 });
-                        }
-                    }, error: function () {
-                        layer.alert("鎺ュ彛澶辨晥!", { icon: 5 });
-                    }
-                });
-            });
-
             //澶村伐鍏锋爮浜嬩欢
             table.on('toolbar(mainTable)', function (obj) {
                 var checkStatus = table.checkStatus(obj.config.id);
@@ -399,67 +352,6 @@
                 }
             };
 
-            //鍒濆鍖栬〃鏍�(瀛愯〃1)
-            function set_InitGrid1() {
-                var ajaxLoad = layer.load();
-                option1 = {
-                    elem: '#mainTable1'
-                    //, toolbar: '#toolbarDemo'
-                    , height: '250'
-                    , page: true
-                    , cellMinWidth: 90
-                    , limit: 50
-                    , limits: [50, 500, 5000, 20000]
-                    , loading: false
-                    , cols: [[
-                        //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left' }
-                        , { field: 'HDotCheckItemID', title: '鐐规椤圭洰ID', width: 200, hide: true }
-                        , { field: 'HDotCheckItem', title: '鐐规椤圭洰', width: 200 }
-                        , { field: 'HDotCheckPart', title: '鐐规閮ㄤ綅', width: 200 }
-                        , { field: 'HClaim', title: '鍏蜂綋瑕佹眰', width: 200 }
-                        , { field: 'HManagerID', title: '璐熻矗浜篒D', width: 200, hide: true }
-                        , { field: 'HManagerCode', title: '璐熻矗浜轰唬鐮�', width: 200 }
-                        , { field: 'HManagerName', title: '璐熻矗浜�', width: 200 }
-                        , { field: 'HRemark', title: '澶囨敞', width: 200 }
-                    ]]
-                };
-                option1.data = [];
-                table.render(option1);
-                layer.close(ajaxLoad);
-            }
-
-            //鍒濆鍖栬〃鏍�(瀛愯〃2)
-            function set_InitGrid2() {
-                var ajaxLoad = layer.load();
-                option2 = {
-                    elem: '#mainTable2'
-                    //, toolbar: '#toolbarDemo'
-                    , height: '250'
-                    , page: true
-                    , cellMinWidth: 90
-                    , limit: 50
-                    , limits: [50, 500, 5000, 20000]
-                    , loading: false
-                    , cols: [[
-                        //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                        , { field: 'HMaterID', title: '閰嶄欢ID', width: 200, hide: true }
-                        , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', width: 200 }
-                        , { field: 'HMaterName', title: '閰嶄欢鍚嶇О', width: 200 }
-                        , { field: 'HUnitID', title: '鍗曚綅ID', width: 200, hide: true }
-                        , { field: 'HUnitNumber', title: '璁¢噺鍗曚綅浠g爜', width: 200 }
-                        , { field: 'HUnitName', title: '璁¢噺鍗曚綅鍚嶇О', width: 200 }
-                        , { field: 'HQty', title: '鐢ㄩ噺', width: 200 }
-                        , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200 }
-                        , { field: 'HRemark', title: '澶囨敞', width: 200 }
-                    ]]
-                };
-                option2.data = [];
-                table.render(option2);
-                layer.close(ajaxLoad);
-            }
-
             //鏂板
             function set_AddNew() {
                 layer.open({
@@ -620,7 +512,7 @@
                                 , toolbar: '#toolbarDemo'
                                 , cols: [col]
                                 , data: data1.data
-                                , height: 450
+                                , height: 750
                                 , page: true
                                 , cellMinWidth: 90
                                 , limit: 50
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_MouldDotCheckPlanBillList.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_MouldDotCheckPlanBillList.html"
index f30616a..19965ba 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_MouldDotCheckPlanBillList.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_MouldDotCheckPlanBillList.html"
@@ -68,20 +68,6 @@
                             </div>
                         </div>
                         <table class="" id="mainTable" lay-filter="mainTable"></table>
-                        <div class="layui-tab layui-tab-card">
-                            <ul class="layui-tab-title">
-                                <li class="layui-this">鐐规椤逛俊鎭�</li>
-                                <li>閰嶄欢淇℃伅</li>
-                            </ul>
-                            <div class="layui-tab-content">
-                                <div class="layui-tab-item layui-show">
-                                    <table class="layui-hide" id="mainTable1" lay-filter="mainTable1"></table>
-                                </div>
-                                <div class="layui-tab-item">
-                                    <table class="layui-hide" id="mainTable2" lay-filter="mainTable2"></table>
-                                </div>
-                            </div>
-                        </div>
                         <script type="text/html" id="toolbarDemo">
                             <div class="layui-btn-container">
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Add"><i class="layui-icon layui-icon-add-1"></i>鏂板</button>
@@ -93,12 +79,6 @@
                                 <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></i>閫�鍑�</button>
 
                             </div>
-                        </script>
-                        <script type="text/html" id="xuhao">
-                            {{d.LAY_TABLE_INDEX+1}}
-                        </script>
-                        <script type="text/html" id="xuhao1">
-                            {{d.LAY_TABLE_INDEX+1}}
                         </script>
                     </form>
                 </div>
@@ -137,10 +117,6 @@
             $("#EndHCreateDate").val(Format(new Date(), "yyyy-MM-dd"));
             //鍒濆鍖栬〃鏍�
             set_InitGrid();
-            //鍒濆鍖栬〃鏍�(瀛愯〃1)
-            set_InitGrid1();
-            //鍒濆鍖栬〃鏍�(瀛愯〃2)
-            set_InitGrid2();
             //鍔犺浇鏁版嵁鍒扮綉鏍�
             get_Display(sWhere);
             //澶村伐鍏锋爮浜嬩欢
@@ -226,28 +202,6 @@
                 set_ClearQuery();
             });
 
-            //鐐瑰嚮涓昏〃甯﹀嚭浠庤〃鏁版嵁
-            table.on('row(mainTable)', function (obj) { //娉細tool 鏄伐鍏锋潯浜嬩欢鍚嶏紝test 鏄� table 鍘熷瀹瑰櫒鐨勫睘鎬� lay-filter="瀵瑰簲鐨勫��"
-                var datas = obj.data; //鑾峰緱褰撳墠琛屾暟鎹�
-                var linterid = datas.hmainid;
-                $.ajax({
-                    url: GetWEBURL() + '/Sc_MouldDotCheckPlanBill/Sc_MouldDotCheckPlanBillListProjectDetai',
-                    type: "GET",
-                    data: { "sqlWhere": "and HInterID=" + linterid  },
-                    success: function (data1) {
-                        if (data1.count == 1) {
-                            option1.data = data1.list[0];
-                            table.render(option1);
-                            option2.data = data1.list[1];
-                            table.render(option2);
-                        } else {
-                            layer.alert("鑾峰彇澶辫触", { icon: 5 });
-                        }
-                    }, error: function () {
-                        layer.alert("鎺ュ彛澶辨晥!", { icon: 5 });
-                    }
-                });
-            });
 
             //閲嶇疆杩囨护鏉′欢
             function set_ClearQuery() {
@@ -263,7 +217,7 @@
                 option = {
                     elem: '#mainTable'
                     , toolbar: '#toolbarDemo'
-                    , height: 450
+                    , height: 750
                     , page: true
                     , cellMinWidth: 90
                     , limit: 50
@@ -312,67 +266,6 @@
                         , { field: 'hbilltype', title: 'hbilltype', width: 200, hide: true }
                     ]]
                 };
-            }
-
-            //鍒濆鍖栬〃鏍�(瀛愯〃1)
-            function set_InitGrid1() {
-                var ajaxLoad = layer.load();
-                option1 = {
-                    elem: '#mainTable1'
-                    //, toolbar: '#toolbarDemo'
-                    , height: '250'
-                    , page: true
-                    , cellMinWidth: 90
-                    , limit: 50
-                    , limits: [50, 500, 5000, 20000]
-                    , loading: false
-                    , cols: [[
-                        //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left' }
-                        , { field: 'HDotCheckItemID', title: '鐐规椤圭洰ID', width: 200, hide: true }
-                        , { field: 'HDotCheckItem', title: '鐐规椤圭洰', width: 200 }
-                        , { field: 'HDotCheckPart', title: '鐐规閮ㄤ綅', width: 200 }
-                        , { field: 'HClaim', title: '鍏蜂綋瑕佹眰', width: 200 }
-                        , { field: 'HManagerID', title: '璐熻矗浜篒D', width: 200, hide: true }
-                        , { field: 'HManagerCode', title: '璐熻矗浜轰唬鐮�', width: 200 }
-                        , { field: 'HManagerName', title: '璐熻矗浜�', width: 200 }
-                        , { field: 'HRemark', title: '澶囨敞', width: 200 }
-                    ]]
-                };
-                option1.data = [];
-                table.render(option1);
-                layer.close(ajaxLoad);
-            }
-
-            //鍒濆鍖栬〃鏍�(瀛愯〃2)
-            function set_InitGrid2() {
-                var ajaxLoad = layer.load();
-                option2 = {
-                    elem: '#mainTable2'
-                    //, toolbar: '#toolbarDemo'
-                    , height: '250'
-                    , page: true
-                    , cellMinWidth: 90
-                    , limit: 50
-                    , limits: [50, 500, 5000, 20000]
-                    , loading: false
-                    , cols: [[
-                        //{ type: 'checkbox', fixed: 'left' }
-                        , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
-                        , { field: 'HMaterID', title: '閰嶄欢ID', width: 200, hide: true }
-                        , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', width: 200 }
-                        , { field: 'HMaterName', title: '閰嶄欢鍚嶇О', width: 200 }
-                        , { field: 'HUnitID', title: '鍗曚綅ID', width: 200, hide: true }
-                        , { field: 'HUnitNumber', title: '璁¢噺鍗曚綅浠g爜', width: 200 }
-                        , { field: 'HUnitName', title: '璁¢噺鍗曚綅鍚嶇О', width: 200 }
-                        , { field: 'HQty', title: '鐢ㄩ噺', width: 200 }
-                        , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200 }
-                        , { field: 'HRemark', title: '澶囨敞', width: 200 }
-                    ]]
-                };
-                option2.data = [];
-                table.render(option2);
-                layer.close(ajaxLoad);
             }
 
             //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛�

--
Gitblit v1.9.1