From 937f69c1060ac7acbd0f6e664f73c71a0fcc46d6 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 28 三月 2022 13:12:03 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/order/out.js |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/static/js/order/out.js b/src/main/webapp/static/js/order/out.js
index d9f3b50..95280dd 100644
--- a/src/main/webapp/static/js/order/out.js
+++ b/src/main/webapp/static/js/order/out.js
@@ -173,12 +173,13 @@
                                 let index  = obj.othis.parents('tr').attr("data-index");
                                 let data = tableCache[index];
                                 data['staNo'] = Number(obj.elem.value);
+                                obj.othis.children().find("input").css("color", "blue");
                                 return false;
                             });
                         }
                         ,yes: function(index, layero){
                             //鎸夐挳銆愮珛鍗冲嚭搴撱�戠殑鍥炶皟
-                            pakout(tableCache);
+                            pakout(tableCache, index);
                         }
                         ,btn2: function(index, layero){
                             //鎸夐挳銆愮◢鍚庡鐞嗐�戠殑鍥炶皟
@@ -195,7 +196,7 @@
         })
     }
 
-    function pakout(tableCache) {
+    function pakout(tableCache, layerIndex) {
         let loadIndex = layer.load(2);
         $.ajax({
             url: baseUrl + "/out/pakout/auth",
@@ -206,7 +207,10 @@
             success: function (res) {
                 layer.close(loadIndex);
                 if (res.code === 200) {
-                    layer.msg(res.msg, {icon: 1})
+                    layer.close(layerIndex);
+                    layer.msg(res.msg, {icon: 1});
+                    insTb.reload({where: null});
+                    insTb2.reload({where: null, page: {curr: 1}});
                 } else if (res.code === 403) {
                     top.location.href = baseUrl + "/";
                 } else {

--
Gitblit v1.9.1