From e96735d51730b816041a6123e865c259856b4781 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 06 九月 2023 15:30:02 +0800
Subject: [PATCH] #上架规则完成

---
 src/main/webapp/static/js/picking/picking.js |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/static/js/picking/picking.js b/src/main/webapp/static/js/picking/picking.js
index 9d3afee..06fbb0f 100644
--- a/src/main/webapp/static/js/picking/picking.js
+++ b/src/main/webapp/static/js/picking/picking.js
@@ -335,11 +335,7 @@
                 success: function (res) {
                     layer.closeAll('loading');
                     if (res.code === 200){
-                        if (insTbCount === 0) {
-                            insTb.reload({page: {curr: 1}});
-                        } else {
-                            $(".layui-laypage-btn")[0].click();
-                        }
+                        tableIns.reload({page: {curr: 1}});
                         layer.msg(res.msg, {icon: 1});
                     } else if (res.code === 403){
                         top.location.href = baseUrl+"/";

--
Gitblit v1.9.1