From d4105751475cad2028ceb0a34cfa7ead536c7fd5 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 09 四月 2021 19:15:54 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/order/order.js |   19 ++++++++++++++++++-
 1 files changed, 18 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..fa19e71 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,22 @@
 
 });
 
+function right(){
+    top.popupRight = top.layui.admin.popupRight({
+        id: 'LAY_adminPopupLayerTest'
+        , area: '750px'
+        , type: 2
+        , 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