From e4ef7cf77039104bff01cf57ba98f37922c4068b Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 13 六月 2020 14:00:31 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/pakStore/emptyOut.js | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/pakStore/emptyOut.js b/src/main/webapp/static/js/pakStore/emptyOut.js index b66731e..6453b9d 100644 --- a/src/main/webapp/static/js/pakStore/emptyOut.js +++ b/src/main/webapp/static/js/pakStore/emptyOut.js @@ -15,6 +15,7 @@ limit: 16, even: true, toolbar: '#toolbar', + defaultToolbar: ['filter'], cellMinWidth: 50, cols: [[ {type: 'checkbox', fixed: 'left'} @@ -67,6 +68,25 @@ } }); + // 鐩戝惉澶村伐鍏锋爮浜嬩欢 + table.on('toolbar(locMast)', function (obj) { + var checkStatus = table.checkStatus(obj.config.id); + switch (obj.event) { + case 'outbound': + layer.open({ + type: 1, + title: '鍑哄簱', + maxmin: true, + area: [top.detailWidth, top.detailHeight], + shadeClose: true, + content: $("#outboundDiv"), + success: function (layero, index) { + } + }); + break; + } + }); + // 鎼滅储鏍忔悳绱簨浠� form.on('submit(search)', function (data) { pageCurr = 1; -- Gitblit v1.9.1