src/main/webapp/static/js/order/order.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/webapp/static/js/order/order.js
@@ -1,4 +1,5 @@ var insTbCount = 0; var tableCache2 = []; layui.config({ base: baseUrl + "/static/layui/lay/modules/" }).extend({ @@ -701,11 +702,13 @@ } ,yes: function(index, layero){ //按钮【退库】的回调 pakout(tableCache, index); pakout(tableCache2, index); tableCache2 = [] } ,btn2: function(index, layero){ //按钮【稍后处理】的回调 layer.close(index) tableCache2 = [] //return false 开启该代码可禁止点击该按钮关闭 } }); @@ -716,6 +719,11 @@ } } }) // 复选框事件 table.on('checkbox(stoPreTab)', function(obj){ tableCache2.push(obj.data) }); } function pakout(tableCache, layerIndex) {