From 82f5a3c1fdcfcde25c20805feea64e5a3c315201 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 21 十一月 2024 14:12:14 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/inventoryCheckOrder/inventoryCheckOrder.js |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/static/js/inventoryCheckOrder/inventoryCheckOrder.js b/src/main/webapp/static/js/inventoryCheckOrder/inventoryCheckOrder.js
index 417749e..74b1125 100644
--- a/src/main/webapp/static/js/inventoryCheckOrder/inventoryCheckOrder.js
+++ b/src/main/webapp/static/js/inventoryCheckOrder/inventoryCheckOrder.js
@@ -135,8 +135,6 @@
                         return;
                     }
 
-                    console.log(111)
-                    console.log(billNumber)
                     // 鍙戦�� Ajax 璇锋眰鍒板悗绔�
                     $.ajax({
                         url: baseUrl+"/inventoryCheckOrder/add/auth", // 鏇挎崲涓轰綘鐨勫悗绔帴鍙e湴鍧�
@@ -147,6 +145,13 @@
                         success: function (res) {
                             if (res.code === 200){
                                 layer.msg(res.msg, {icon: 1});
+                                // 娓呯┖杈撳叆妗�
+                                $('#billNumber').val('');
+                                $('#warehouseArea').val('鍫嗗灈鏈�'); // 閲嶇疆涓洪粯璁ら�夐」
+                                form.render('select'); // 閲嶆柊娓叉煋 select
+
+                                // 鍏抽棴寮规
+                                layer.close(index);
                             } else if (res.code === 403){
                                 top.location.href = baseUrl+"/";
                             }else {

--
Gitblit v1.9.1