From b0253945570d45c0d44c2613397debc98848c5b6 Mon Sep 17 00:00:00 2001 From: bklLiudl <673013083@qq.com> Date: 星期六, 09 三月 2024 10:38:33 +0800 Subject: [PATCH] 功能测试修改bug --- HTML/views/ASNSetting/PalletBind.html | 309 +++++++++++++++++++++++++------------------------- 1 files changed, 154 insertions(+), 155 deletions(-) diff --git a/HTML/views/ASNSetting/PalletBind.html b/HTML/views/ASNSetting/PalletBind.html index ea693af..27cd3e6 100644 --- a/HTML/views/ASNSetting/PalletBind.html +++ b/HTML/views/ASNSetting/PalletBind.html @@ -25,13 +25,13 @@ </style> <script> // 杩欓噷鏄渶瑕佸湪椤甸潰娓叉煋涔嬪墠鎵ц鐨勪唬鐮� - document.addEventListener("DOMContentLoaded", function() { + document.addEventListener("DOMContentLoaded", function () { //鑾峰彇table榛樿鏄剧ず鏁� pageCntFirst(); //鍒ゆ柇鏄惁寮�鍚痶able鍒楄〃鍒楀璋冩暣鍔熻兘銆� GetIsSetColW(); }); - </script> + </script> </head> <body id="body"> @@ -64,7 +64,7 @@ <div class="layui-inline"> <label class="layui-form-label" style="width: 60px;">鎵�灞炰粨搴�</label> <div class="layui-input-inline"> - <select name="WareHouseNo" id="WareHouseNo" lay-filter="getWareHouseNo" lay-search> + <select name="WareHouseNo" id="WareHouseNo" lay-filter="getWareHouseNo" lay-search> <option value=""></option> </select> </div> @@ -130,7 +130,7 @@ <label class="layui-form-label">鎾ら攢鍘熷洜</label> <div class="layui-input-inline"> <textarea id="Reason" name="Reason" placeholder="璇疯緭鍏ュ唴瀹�" class="layui-textarea"></textarea> - + </div> </div> <div class="layui-inline"> @@ -142,13 +142,13 @@ </div> </div> </div> - + <div class="layui-card-body"> <div style="position: relative;"> <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief"> <ul class="layui-tab-title" id="tab"> - <li class="layui-this">鎵樼洏淇℃伅</li> - <li >绠辩爜淇℃伅</li> + <li class="layui-this">鎵樼洏淇℃伅</li> + <li>绠辩爜淇℃伅</li> </ul> <div id="center"></div> @@ -164,28 +164,30 @@ </button> </div> <!-- #endregion --> - </div> + </div> </div> <div class="layui-tab-item"> <div class="position-relative"><!-- class="position-relative" --><!-- 鑷畾涔夎〃澶村姞涓� --> <table id="BoxInfo" lay-filter="BoxInfo"></table> <!-- #region 鑷畾涔夎〃澶� --> <div class="headerSetIcon"> - <button class="layui-btn layui-btn-primary layui-btn-sm" data-type="customCols2"> + <button class="layui-btn layui-btn-primary layui-btn-sm" + data-type="customCols2"> <i class="layui-icon"></i> </button> </div> <!-- #endregion --> </div> - + </div> </div> </div> - <button style="margin-right: 5px;position: absolute; top: 5px; right: 10px;" class="layui-btn layuiadmin-btn-list layui-btn-sm addClass" data-type="add"> + <button style="margin-right: 5px;position: absolute; top: 5px; right: 10px;" + class="layui-btn layuiadmin-btn-list layui-btn-sm addClass" data-type="add"> <i class="layui-icon"></i>娣诲姞 </button> </div> - + <script type="text/html" id="PalletBindDemoList"> {{# function GetPalletBindBtn(d){ var html = ''; @@ -227,8 +229,8 @@ {{ GetBoxInfoBtn(d) }} </script> - <!-- #region 鑷畾涔夎〃澶� --> - <script type="text/html" id="templetStatus"> + <!-- #region 鑷畾涔夎〃澶� --> + <script type="text/html" id="templetStatus"> {{# function GetBtn3(d){ switch (d.Status) { case "0": return '<button class="layui-btn layui-btn-radius layui-btn-xs">绛夊緟鍏ュ簱</button>'; @@ -370,11 +372,11 @@ base: '../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰� }).extend({ index: 'lib/index' //涓诲叆鍙fā鍧� - }).use(['index', 'table', 'laypage','element', 'layer', 'laydate'], function () { + }).use(['index', 'table', 'laypage', 'element', 'layer', 'laydate'], function () { var table = layui.table, form = layui.form, element = layui.element; - laypage = layui.laypage, + laypage = layui.laypage, layer = layui.layer; laydate = layui.laydate; var h1 = GetTableTabHeight(); @@ -387,7 +389,7 @@ , format: 'yyyy-MM-dd' //鍙换鎰忕粍鍚� }); //tab鍒囨崲鍒ゆ柇鍊� - var yemianid =0; + var yemianid = 0; //鎺ュ彈鍏ㄥ眬鍙橀噺 let quanSkuNo = 0; // 鑾峰彇table楂樺害 @@ -420,8 +422,7 @@ // 鏌ヨ浜嬩欢 form.on('select(getWareHouseNo)', function (data) { - if($("#WareHouseNo").val() == "W01") - { + if ($("#WareHouseNo").val() == "W01") { //鑾峰彇宸烽亾涓嬫媺妗嗕俊鎭� synData(IP + "/Sys/GetRoadwayList", {}, 'get', function (res) { if (res.code == 0) { //鎴愬姛 @@ -440,38 +441,37 @@ } }); } - else - { + else { $("#RoadwayNo").html(''); $("#RoadwayNo").append('<option value=""></option>'); form.render('select'); } - + }); // 娓叉煋鎬昏〃 //#region 鑷畾涔夎〃澶� var TotalColsArr = [[ - {field:'',title: '搴忓彿',type: 'numbers',width: 60,align: 'center',fixed: 'left', "disabled": true}, - {field: 'ASNNo',title: '鍏ュ簱鍗曞彿',align: 'center',width: 180, "disabled": true}, - {field: 'ASNDetailNo',title: '鍏ュ簱鏄庣粏鍙�',align: 'center'}, - {field: 'PalletNo',title: '鎵樼洏鍙�',align: 'center',width: 100}, - {field: 'PalletNo2',title: '鎵樼洏鍙稬V2',align: 'center'}, - {field: 'PalletNo3',title: '鎵樼洏鍙稬V3',align: 'center'}, - {field: 'LocatNo',title: '鍌ㄤ綅鍦板潃',align: 'center',width: 90}, - {field: 'RoadwayNo',title: '鎵�灞炲贩閬�',align: 'center',width: 90,templet: '#RoadwayButton'}, - {field: 'WareHouseNo',title: '鎵�灞炰粨搴�',align: 'center',width: 90,templet: '#WareHouseButton'}, - {field: 'SkuNo',title: '鐗╂枡缂栫爜',align: 'center',width: 110}, - {field: 'SkuName',title: '鐗╂枡鍚嶇О',align: 'center'}, - {field: 'Qty',title: '鏁伴噺',align: 'center',width: 90}, - {field: 'FullQty',title: '鏁存墭鏁伴噺',align: 'center',width: 90}, - {field: 'Status',title: '鎵ц鐘舵��',align: 'center',width: 90,templet: '#templetStatus'}, - {field: 'BitPalletMark',title: '闆舵墭鏍囪',align: 'center',width: 90,templet: '#templetBitPalletMark'}, - {field: 'CompleteTime',title: '瀹屾垚鏃堕棿',align: 'center',width: 165,templet: '#templetCompleteTime'}, - {field: 'CreateTime',title: '鍒涘缓鏃堕棿',align: 'center',width: 165,templet: '#templetCreateTime'}, - {field:'caozuo',title: '鎿嶄綔',fixed: 'right',width: 180,align: 'center',toolbar: '#PalletBindDemoList', "disabled": true} - ]]; - var TotalColsSysArr=encodeURIComponent(encodeURIComponent(JSON.stringify(TotalColsArr)))//灏嗚〃澶存暟鎹繘琛寀rl缂栫爜 + { field: '', title: '搴忓彿', type: 'numbers', width: 60, align: 'center', fixed: 'left', "disabled": true }, + { field: 'ASNNo', title: '鍏ュ簱鍗曞彿', align: 'center', width: 180, "disabled": true }, + { field: 'ASNDetailNo', title: '鍏ュ簱鏄庣粏鍙�', align: 'center' }, + { field: 'PalletNo', title: '鎵樼洏鍙�', align: 'center', width: 100 }, + { field: 'PalletNo2', title: '鎵樼洏鍙稬V2', align: 'center' }, + { field: 'PalletNo3', title: '鎵樼洏鍙稬V3', align: 'center' }, + { field: 'LocatNo', title: '鍌ㄤ綅鍦板潃', align: 'center', width: 90 }, + { field: 'RoadwayNo', title: '鎵�灞炲贩閬�', align: 'center', width: 90, templet: '#RoadwayButton' }, + { field: 'WareHouseNo', title: '鎵�灞炰粨搴�', align: 'center', width: 90, templet: '#WareHouseButton' }, + { field: 'SkuNo', title: '鐗╂枡缂栫爜', align: 'center', width: 110 }, + { field: 'SkuName', title: '鐗╂枡鍚嶇О', align: 'center' }, + { field: 'Qty', title: '鏁伴噺', align: 'center', width: 90 }, + { field: 'FullQty', title: '鏁存墭鏁伴噺', align: 'center', width: 90 }, + { field: 'Status', title: '鎵ц鐘舵��', align: 'center', width: 90, templet: '#templetStatus' }, + { field: 'BitPalletMark', title: '闆舵墭鏍囪', align: 'center', width: 90, templet: '#templetBitPalletMark' }, + { field: 'CompleteTime', title: '瀹屾垚鏃堕棿', align: 'center', width: 165, templet: '#templetCompleteTime' }, + { field: 'CreateTime', title: '鍒涘缓鏃堕棿', align: 'center', width: 165, templet: '#templetCreateTime' }, + { field: 'caozuo', title: '鎿嶄綔', fixed: 'right', width: 180, align: 'center', toolbar: '#PalletBindDemoList', "disabled": true } + ]]; + var TotalColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(TotalColsArr)))//灏嗚〃澶存暟鎹繘琛寀rl缂栫爜 //#endregion function bindPalletBind() { //#region 鍘熷闈炶嚜瀹氫箟鍒� @@ -659,18 +659,18 @@ //#region 鑷畾涔夎〃澶� var colsJson - var param1={ - Href:'BllAsn/GetPalletBindList' + var param1 = { + Href: 'BllAsn/GetPalletBindList' }; - sendData(IP + "/Sys/GetTableColsByUserId", param1, 'post', function(res) { - if (res.code == 0){ - if(res.data=='' || res.data==undefined || res.data==null){ - colsJson=TotalColsArr - }else{ - colsJson= eval(res.data); + sendData(IP + "/Sys/GetTableColsByUserId", param1, 'post', function (res) { + if (res.code == 0) { + if (res.data == '' || res.data == undefined || res.data == null) { + colsJson = TotalColsArr + } else { + colsJson = eval(res.data); } - }else{ - colsJson=TotalColsArr + } else { + colsJson = TotalColsArr } var param = { ASNNo: $("#ASNNo").val(), @@ -703,7 +703,7 @@ setRight() //bindBoxInfo(res.data[0].BindNo); //鑷畾涔夊垪瀹� - SetTableColW('PalletBind','BllAsn/GetPalletBindList',TotalColsSysArr); + SetTableColW('PalletBind', 'BllAsn/GetPalletBindList', TotalColsSysArr); }, cols: colsJson }); @@ -717,28 +717,28 @@ // 娓叉煋鏄庣粏琛� //#region 鑷畾涔夎〃澶� var DetailColsArr = [[ - {field: '',title: '搴忓彿',type: 'numbers',width: 60,align: 'center',fixed: 'left', "disabled": true}, - {field: 'PalletNo',title: '鎵樼洏鍙�',align: 'center',width: 95}, - {field: 'PalletNo2',title: '鎵樼洏缂栧彿LV2',align: 'center',width: 120}, - {field: 'PalletNo3',title: '鎵樼洏缂栧彿LV3',align: 'center',width: 120}, - {field: 'BoxNo',title: '绠卞彿',align: 'center',width: 220}, - {field: 'BoxNo2',title: '鐩掑彿',align: 'center',width: 220}, - {field: 'BoxNo3',title: '鏀彿',align: 'center',width: 220}, - {field: 'SkuNo',title: '鐗╂枡缂栫爜',align: 'center',width: 150}, - {field: 'SkuName',title: '鐗╂枡鍚嶇О',align: 'center',align: 'center',width: 226}, - {field: 'LotNo',title: '鎵规鍙�',align: 'center',width: 150,}, - {field: 'Qty',title: '鏁伴噺',align: 'center',width: 105,}, - {field: 'FullQty',title: '鏁寸鏁伴噺',align: 'center',width: 105,}, - {field: 'ProductionTime',title: '鐢熶骇鏃ユ湡',align: 'center',width: 160,templet: '#templetProductionTime'}, - {field: 'ExpirationTime',title: '杩囨湡鏃ユ湡',align: 'center',width: 180,templet: '#templetExpirationTime'}, - {field: 'LotText',title: '鎵规鎻忚堪',align: 'center',width: 150,}, - {field: 'SupplierLot',title: '渚涜揣鎵规',align: 'center',width: 150,}, - {field: 'InspectMark',title: '鎶芥鏍囪',align: 'center',width:95,templet: '#templetInspectMark'}, - {field: 'BitBoxMark',title: '闆剁鏍囪',align: 'center',width:95,templet: '#templetBitBoxMark'}, - {field: 'InspectStatus',title: '璐ㄩ噺鐘舵��',align: 'center',width:95,templet: '#templetInspectStatus'}, - {field: 'caozuo',title: '鎿嶄綔',fixed: 'right',width: 155,align: 'center',toolbar: '#BoxInfoDemoList', "disabled": true} - ]]; - var DetailColsSysArr=encodeURIComponent(encodeURIComponent(JSON.stringify(DetailColsArr)))//灏嗚〃澶存暟鎹繘琛寀rl缂栫爜 + { field: '', title: '搴忓彿', type: 'numbers', width: 60, align: 'center', fixed: 'left', "disabled": true }, + { field: 'PalletNo', title: '鎵樼洏鍙�', align: 'center', width: 95 }, + { field: 'PalletNo2', title: '鎵樼洏缂栧彿LV2', align: 'center', width: 120 }, + { field: 'PalletNo3', title: '鎵樼洏缂栧彿LV3', align: 'center', width: 120 }, + { field: 'BoxNo', title: '绠卞彿', align: 'center', width: 220 }, + { field: 'BoxNo2', title: '鐩掑彿', align: 'center', width: 220 }, + { field: 'BoxNo3', title: '鏀彿', align: 'center', width: 220 }, + { field: 'SkuNo', title: '鐗╂枡缂栫爜', align: 'center', width: 150 }, + { field: 'SkuName', title: '鐗╂枡鍚嶇О', align: 'center', align: 'center', width: 226 }, + { field: 'LotNo', title: '鎵规鍙�', align: 'center', width: 150, }, + { field: 'Qty', title: '鏁伴噺', align: 'center', width: 105, }, + { field: 'FullQty', title: '鏁寸鏁伴噺', align: 'center', width: 105, }, + { field: 'ProductionTime', title: '鐢熶骇鏃ユ湡', align: 'center', width: 160, templet: '#templetProductionTime' }, + { field: 'ExpirationTime', title: '杩囨湡鏃ユ湡', align: 'center', width: 180, templet: '#templetExpirationTime' }, + { field: 'LotText', title: '鎵规鎻忚堪', align: 'center', width: 150, }, + { field: 'SupplierLot', title: '渚涜揣鎵规', align: 'center', width: 150, }, + { field: 'InspectMark', title: '鎶芥鏍囪', align: 'center', width: 95, templet: '#templetInspectMark' }, + { field: 'BitBoxMark', title: '闆剁鏍囪', align: 'center', width: 95, templet: '#templetBitBoxMark' }, + { field: 'InspectStatus', title: '璐ㄩ噺鐘舵��', align: 'center', width: 95, templet: '#templetInspectStatus' }, + { field: 'caozuo', title: '鎿嶄綔', fixed: 'right', width: 155, align: 'center', toolbar: '#BoxInfoDemoList', "disabled": true } + ]]; + var DetailColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(DetailColsArr)))//灏嗚〃澶存暟鎹繘琛寀rl缂栫爜 //#endregion function bindBoxInfo(BindNo) { //#region 鍘熷闈炶嚜瀹氫箟鍒� @@ -915,44 +915,44 @@ //#region 鑷畾涔夎〃澶� var colsJson2 - var param1={ - Href:'BllAsn/GetBoxInfoList' + var param1 = { + Href: 'BllAsn/GetBoxInfoList' }; - sendData(IP + "/Sys/GetTableColsByUserId", param1, 'post', function(res) { - if (res.code == 0){ - if(res.data=='' || res.data==undefined || res.data==null){ - colsJson2=DetailColsArr - }else{ - colsJson2= eval(res.data); + sendData(IP + "/Sys/GetTableColsByUserId", param1, 'post', function (res) { + if (res.code == 0) { + if (res.data == '' || res.data == undefined || res.data == null) { + colsJson2 = DetailColsArr + } else { + colsJson2 = eval(res.data); + } + } else { + colsJson2 = DetailColsArr } - }else{ - colsJson2=DetailColsArr - } - var param = { - BindNo: parseInt(BindNo) - }; - table.render({ - id: 'BoxInfo', - elem: '#BoxInfo', - height: h1, - url: IP + "/BllAsn/GetBoxInfoList", - method: 'post', - contentType: 'application/json', - headers: { ToKen: $.cookie('token') }, - where: param, - // toolbar: '#BoxInfoDemo', - // defaultToolbar: ['filter'], //'print', 'exports' - page: true, - limit: pageCnt, // 榛樿澶氬皯椤� - limits: pageLimits, // 榛樿鏁扮粍[10,20,30,40,50] - cellMinWidth: 60, // 鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板 - even: true, - done: function () { - setRight() - //鑷畾涔夊垪瀹� - SetTableColW('BoxInfo','BllAsn/GetBoxInfoList',DetailColsSysArr); - }, - cols: colsJson2 + var param = { + BindNo: parseInt(BindNo) + }; + table.render({ + id: 'BoxInfo', + elem: '#BoxInfo', + height: h1, + url: IP + "/BllAsn/GetBoxInfoList", + method: 'post', + contentType: 'application/json', + headers: { ToKen: $.cookie('token') }, + where: param, + // toolbar: '#BoxInfoDemo', + // defaultToolbar: ['filter'], //'print', 'exports' + page: true, + limit: pageCnt, // 榛樿澶氬皯椤� + limits: pageLimits, // 榛樿鏁扮粍[10,20,30,40,50] + cellMinWidth: 60, // 鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板 + even: true, + done: function () { + setRight() + //鑷畾涔夊垪瀹� + SetTableColW('BoxInfo', 'BllAsn/GetBoxInfoList', DetailColsSysArr); + }, + cols: colsJson2 }); }); //#endregion @@ -960,10 +960,10 @@ // 椤甸潰鐩戞帶锛岀偣鍑绘煡璇㈠姞杞藉叆搴撴�诲崟 form.on('submit(LAY-app-contlist-search)', function (data) { - - if(yemianid == 0){ + + if (yemianid == 0) { bindPalletBind(); - }else if(yemianid == 1){ + } else if (yemianid == 1) { bindBoxInfo(quanSkuNo); } }); @@ -973,20 +973,20 @@ // bindBoxInfo(parseInt(obj.data.Id)); // }); //瑙﹀彂琛屽弻鍑讳簨浠� - table.on('rowDouble(PalletBind)', function(obj) { + table.on('rowDouble(PalletBind)', function (obj) { $(".layui-tab-title>li").attr("class", ""); $('.layui-tab-title>li').eq(1).attr('class', 'layui-this'); $('.layui-tab-content .layui-tab-item').attr('class', 'layui-tab-item') $('.layui-tab-content .layui-tab-item').eq(1).attr('class', 'layui-tab-item layui-show') - + quanSkuNo = parseInt(obj.data.Id); bindBoxInfo(parseInt(obj.data.Id)); - yemianid=1; + yemianid = 1; }); // 娣诲姞鎵樼洏缁戝畾淇℃伅 var doing = true; - //娣诲姞 + //娣诲姞 var active = { add: function () { layer.open({ @@ -998,21 +998,21 @@ }); }, //#region 鑷畾涔夎〃澶� - customCols: function(){ + customCols: function () { layer.open({ type: 2, title: '鑷畾涔夊垪', - content: '../SystemSettings/HeaderSetting.html?Href=BllAsn/GetPalletBindList&ColsSysArr='+TotalColsSysArr, + content: '../SystemSettings/HeaderSetting.html?Href=BllAsn/GetPalletBindList&ColsSysArr=' + TotalColsSysArr, maxmin: false, resize: false, area: ['970px', '650px'] }); }, - customCols2: function(){ + customCols2: function () { layer.open({ type: 2, title: '鑷畾涔夊垪', - content: '../SystemSettings/HeaderSetting.html?Href=BllAsn/GetBoxInfoList&ColsSysArr='+DetailColsSysArr, + content: '../SystemSettings/HeaderSetting.html?Href=BllAsn/GetBoxInfoList&ColsSysArr=' + DetailColsSysArr, maxmin: false, resize: false, area: ['970px', '650px'] @@ -1042,7 +1042,7 @@ time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }, function () { bindPalletBind(); - bindBoxInfo("0"); + bindBoxInfo(quanSkuNo); }); } else { //涓嶆垚鍔� layer.msg(res.msg, { @@ -1064,57 +1064,57 @@ }); break; - case "chexiao" : + case "chexiao": layer.open({ type: 1, title: '鎾ら攢鐢宠', content: $('#divReason'), maxmin: true, - area: ['300px','265px'], + area: ['300px', '265px'], btn: ['纭畾', '鍙栨秷'], - yes: function(index, layero) { + yes: function (index, layero) { var pa = $('#Reason').val(); - if (doing== true) { - doing= false; - + if (doing == true) { + doing = false; + var param = { - Id: data.Id, + Id: data.Id, Reason: pa, }; console.log(param); - sendData(IP + "/BllAsn/CancelPalletBind", param, 'get', function(res) { + sendData(IP + "/BllAsn/CancelPalletBind", param, 'get', function (res) { console.log(res); if (res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, time: 3000 //1绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 - }, function() { + }, function () { bindPalletBind(); - bindBoxInfo("0"); - doing= true; + bindBoxInfo("0"); + doing = true; }); } else { //涓嶆垚鍔� layer.msg(res.msg, { icon: 2, time: 3000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 - }, function() { + }, function () { bindPalletBind(); - bindBoxInfo("0"); - doing= true; + bindBoxInfo("0"); + doing = true; }); } layer.close(index); }); - }else{ + } else { layer.msg("璇峰嬁閲嶅鐐瑰嚮", { icon: 2, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }); } - + } - }); - + }); + break; default: break; } @@ -1144,7 +1144,7 @@ layer.msg(res.msg, { icon: 2, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 - }, function () {}); + }, function () { }); } }); }); @@ -1159,19 +1159,18 @@ maxmin: true, area: ['80%', '85%'], btn: ['鍏抽棴'], - yes: function(index, layero) { + yes: function (index, layero) { var iframeWindow = window['layui-layer-iframe' + index], - submitID = 'layuiadmin-app-form-edit', - submit = layero.find('iframe').contents().find('#' + submitID); - if(doing) - { + submitID = 'layuiadmin-app-form-edit', + submit = layero.find('iframe').contents().find('#' + submitID); + if (doing) { doing = false; - + layer.close(index); //鍏抽棴寮瑰眰 // refreshTable(); doing = true; - - + + } } }); @@ -1224,14 +1223,14 @@ } //鐩戝惉Tab鍒囨崲锛屼互鏀瑰彉鍦板潃hash鍊� - element.on('tab(docDemoTabBrief)', function(data){ + element.on('tab(docDemoTabBrief)', function (data) { yemianid = data.index - if(yemianid == 0){ - bindPalletBind( ); - }else if(yemianid == 1){ + if (yemianid == 0) { + bindPalletBind(); + } else if (yemianid == 1) { bindBoxInfo(quanSkuNo); } - }); + }); }); </script> -- Gitblit v1.8.0