From 0a82b490aeae7c7b68714a4c42a59e3cf8de75d0 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 16 六月 2020 10:42:12 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/pakStore/locMove.js |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/static/js/pakStore/locMove.js b/src/main/webapp/static/js/pakStore/locMove.js
index 2516b44..232c264 100644
--- a/src/main/webapp/static/js/pakStore/locMove.js
+++ b/src/main/webapp/static/js/pakStore/locMove.js
@@ -86,6 +86,7 @@
     });
 }
 
+// 绉诲簱鍚姩
 function locMove() {
     var sourceLocNo = $("#sourceLocNo").val();
     var targetLocNo = $("#targetLocNo").val();
@@ -116,7 +117,10 @@
         method: 'POST',
         success: function (res) {
             if (res.code === 200) {
-
+                $("#sourceLocNo").val("");
+                $("#targetLocNo").val("");
+                layer.closeAll();
+                layer.msg(res.msg);
             } else if (res.code === 403) {
                 top.location.href = baseUrl + "/";
             } else {
@@ -141,6 +145,7 @@
     // })
 }
 
+// 搴撲綅鐘舵�佽幏鍙�
 var tips;
 function locStatus(el) {
     let val = el.value;
@@ -161,11 +166,11 @@
                     status = "鏈壘鍒板簱浣�";
                 }
                 tips = layer.tips(
-                    "<span style='color:#333;'>"+status+"</span>",
+                    "<span style='color:#333;text-overflow: clip;'>"+status+"</span>",
                     el,
                     {
                         tipsMore: true,
-                        area: ['150px'],
+                        area: ['160px'],
                         tips: [3,'#fff'],
                         time:0
                         ,maxWidth:500

--
Gitblit v1.9.1