From ce6b5be6c0e1544bcc66f9fce9efec3ced724d95 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 11 七月 2020 15:46:29 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/pakStore/locMove.js |   40 ++++++++++++++++++----------------------
 1 files changed, 18 insertions(+), 22 deletions(-)

diff --git a/src/main/webapp/static/js/pakStore/locMove.js b/src/main/webapp/static/js/pakStore/locMove.js
index 3894446..9164199 100644
--- a/src/main/webapp/static/js/pakStore/locMove.js
+++ b/src/main/webapp/static/js/pakStore/locMove.js
@@ -66,28 +66,24 @@
 
 // 鎼滅储搴撲綅鐗╂枡
 function getLoc(el) {
-    setTimeout(function () {
-        tableIns.reload({
-            url: baseUrl+'/locDetl/list/auth'
-            , where: {loc_no: el.value}
-            , done:function (res) {
-                limit();
-                clearSelect();
-                // 鑾峰彇鍚屼竴鍫嗗灈鏈虹殑绌哄簱浣�
-                http.post(baseUrl + "/group/empty/stock", {sourceLocNo: el.value}, function (res) {
-                    if (res.data != null) {
-                        var tpl = $("#emptyLocStock").html();
-                        var template = Handlebars.compile(tpl);
-                        var html = template(res);
-                        $('#targetLocNo').append(html);
-                        layui.form.render('select');
-                    }
-                });
-            }
-        });
-    }, 100)
-
-
+    tableIns.reload({
+        url: baseUrl+'/locDetl/list/auth'
+        , where: {loc_no: el.value}
+        , done:function (res) {
+            limit();
+            clearSelect();
+            // 鑾峰彇鍚屼竴鍫嗗灈鏈虹殑绌哄簱浣�
+            http.post(baseUrl + "/group/empty/stock", {sourceLocNo: el.value}, function (res) {
+                if (res.data != null) {
+                    var tpl = $("#emptyLocStock").html();
+                    var template = Handlebars.compile(tpl);
+                    var html = template(res);
+                    $('#targetLocNo').append(html);
+                    layui.form.render('select');
+                }
+            });
+        }
+    });
 }
 
 // 绉诲簱鍚姩

--
Gitblit v1.9.1