From fb8d2664da608d1cb1895c483b904c258f3b171d Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 13 四月 2021 13:52:40 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/order/order.js | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/order/order.js b/src/main/webapp/static/js/order/order.js index 1df6375..e55aafc 100644 --- a/src/main/webapp/static/js/order/order.js +++ b/src/main/webapp/static/js/order/order.js @@ -244,7 +244,8 @@ /* 琛ㄦ牸2澶村伐鍏锋爮鐐瑰嚮浜嬩欢 */ table.on('toolbar(orderTable)', function (obj) { if (obj.event === 'add') { // 娣诲姞 - showEditModel2(); + // showEditModel2(); + right(); } else if (obj.event === 'del') { // 鍒犻櫎 var checkRows = table.checkStatus('orderTable'); if (checkRows.data.length === 0) { @@ -608,6 +609,23 @@ }); +function right(){ + top.popupRight = top.layui.admin.popupRight({ + id: 'LAY_adminPopupLayerTest' + , area: '750px' + , type: 2 + , shade: [0.5,'#000'] + , content:'order/matQuery.html' + , success: function(){ + // $('#'+ this.id).html('<div style="padding: 20px;">鏀惧叆鍐呭</div>'); + //admin.view(this.id).render('system/xxx') + } + , end: function () { + $(".layui-laypage-btn")[0].click(); + } + }); +} + // 鍏抽棴鍔ㄤ綔 $(document).on('click','#data-detail-close', function () { parent.layer.closeAll(); -- Gitblit v1.9.1