From 9f497caae37f88d5a095e5cd9a6454af4eb6b22d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 11 三月 2021 16:23:05 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/custOrder/custOrder.js | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/main/webapp/static/js/custOrder/custOrder.js b/src/main/webapp/static/js/custOrder/custOrder.js
index a5adbdd..7b2d4c5 100644
--- a/src/main/webapp/static/js/custOrder/custOrder.js
+++ b/src/main/webapp/static/js/custOrder/custOrder.js
@@ -1,14 +1,16 @@
var pageCurr;
-
function right(){
- top.layui.admin.popupRight({
+ top.popupRight = top.layui.admin.popupRight({
id: 'LAY_adminPopupLayerTest'
, area: '750px'
, type: 2
- ,content:'custOrder/matQuery.html'
- ,success: function(){
+ , content:'custOrder/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();
}
});
}
@@ -142,7 +144,7 @@
success: function (res) {
if (res.code === 200){
layer.closeAll();
- tableReload(false);
+ $(".layui-laypage-btn")[0].click();
} else if (res.code === 403){
top.location.href = baseUrl+"/";
} else {
@@ -225,12 +227,12 @@
} else if (res.code === 20001) {
layer.confirm(res.msg, {
shadeClose: true
- , btn: ['搴撳瓨璋冩嫧', '鎵撳嵃']
+ , btn: ['搴撳瓨璋冩嫧', '鍙栨秷']
}, function() {
// todo 搴撳瓨璋冩嫧
layer.closeAll();
}, function() {
- printPakouts(data.number);
+ // printPakouts(data.number);
layer.closeAll();
}
)
--
Gitblit v1.9.1