From b5e964367ac427a49ebfaa48d0d1517d5295bd72 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 01 四月 2021 16:19:15 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/ioWorks/stockIn.js |    6 ++++--
 src/main/webapp/views/ioWorks/stockIn.html   |    4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/static/js/ioWorks/stockIn.js b/src/main/webapp/static/js/ioWorks/stockIn.js
index d5c7862..bbba770 100644
--- a/src/main/webapp/static/js/ioWorks/stockIn.js
+++ b/src/main/webapp/static/js/ioWorks/stockIn.js
@@ -150,7 +150,6 @@
                 // 琛ㄥ崟鎻愪氦浜嬩欢
                 form.on('submit(pakin)', function (data) {
                     data.field.nodeSel = insXmSel.getValue('valueStr');
-                    console.log(data.field)
                     var loadIndex = layer.load(2);
                     $.ajax({
                         url: baseUrl+"/work/stock/pakin",
@@ -166,7 +165,9 @@
                             if (res.code === 200){
                                 layer.close(dIndex);
                                 matCodeData = [];
-                                tableIns.reload({data: matCodeData,done:function (res) { limit();}});
+                                tableIns.reload({data: matCodeData});
+                                limit();
+                                layer.msg(res.msg, {icon: 1});
                             } else if (res.code === 403){
                                 top.location.href = baseUrl+"/";
                             } else {
@@ -174,6 +175,7 @@
                             }
                         }
                     })
+                    return false;
                 });
                 // 娓叉煋涓嬫媺鏍�
                 var insXmSel = xmSelect.render({
diff --git a/src/main/webapp/views/ioWorks/stockIn.html b/src/main/webapp/views/ioWorks/stockIn.html
index 867206c..44b3169 100644
--- a/src/main/webapp/views/ioWorks/stockIn.html
+++ b/src/main/webapp/views/ioWorks/stockIn.html
@@ -50,7 +50,7 @@
         }
 
         #mat-query {
-            display: none;
+            /*display: none;*/
         }
 
         #staNoSpan {
@@ -77,7 +77,7 @@
 
         #btn-inbound {
             margin-left: 20px;
-            display: none;
+            /*display: none;*/
         }
         #detail {
             margin: 0;

--
Gitblit v1.9.1