From acdc4b3427cbd2a6dc811aed202fbd3e9c309d69 Mon Sep 17 00:00:00 2001
From: 18516761980 <4761516tqsxp>
Date: 星期五, 05 十一月 2021 10:57:12 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/locNormal/locNormal.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/locNormal/locNormal.js b/src/main/webapp/static/js/locNormal/locNormal.js
index 4aba517..fa7b34f 100644
--- a/src/main/webapp/static/js/locNormal/locNormal.js
+++ b/src/main/webapp/static/js/locNormal/locNormal.js
@@ -178,6 +178,7 @@
             statusCode: 200
         },
         done: function (res, curr, count) {
+            console.log(res);
             if (res.code === 403) {
                 top.location.href = baseUrl + "/";
             }
@@ -288,6 +289,12 @@
         }
         switch (obj.event) {
             case 'outLocNormal':
+                var warehourse = data.warehouse;
+                if(warehourse !== 'cs'){
+                    layer.msg("鍙兘鍑烘潗鏂欏钩浠�");
+                    return;
+                }
+
                 layer.confirm('纭畾瑕佸嚭搴揫' + data.matnr + ']鍚楋紵', {
                     btn: ['纭畾', '鍙栨秷'] //鍙互鏃犻檺涓寜閽�
                 }, function (index, layero) {

--
Gitblit v1.9.1