From 71b17faf7b5de282f4737ebd7d7e632547081876 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期四, 31 三月 2022 10:37:03 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/pakStore/emptyOut.js |    6 +++++-
 src/main/webapp/static/js/pakStore/locMove.js  |   39 ---------------------------------------
 2 files changed, 5 insertions(+), 40 deletions(-)

diff --git a/src/main/webapp/static/js/pakStore/emptyOut.js b/src/main/webapp/static/js/pakStore/emptyOut.js
index 9b95c8e..8bbc97c 100644
--- a/src/main/webapp/static/js/pakStore/emptyOut.js
+++ b/src/main/webapp/static/js/pakStore/emptyOut.js
@@ -1,10 +1,14 @@
 var pageCurr;
-layui.use(['table','laydate', 'form'], function() {
+
+layui.config({
+    base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function() {
     var table = layui.table;
     var $ = layui.jquery;
     var layer = layui.layer;
     var layDate = layui.laydate;
     var form = layui.form;
+    var admin = layui.admin;
 
     // 鑾峰彇鍑哄簱鍙�
     function getOutBound(){
diff --git a/src/main/webapp/static/js/pakStore/locMove.js b/src/main/webapp/static/js/pakStore/locMove.js
index 18bb214..542f6b9 100644
--- a/src/main/webapp/static/js/pakStore/locMove.js
+++ b/src/main/webapp/static/js/pakStore/locMove.js
@@ -133,42 +133,3 @@
     $("#targetLocNo").empty();
     layui.form.render('select');
 }
-
-// // 搴撲綅鐘舵�佽幏鍙�
-// var tips;
-// function locStatus(el) {
-//     let val = el.value;
-//     if (val === null|| val === ""){
-//         return;
-//     }
-//     $.ajax({
-//         url: baseUrl+"/locMast/"+val+"/auth",
-//         headers: {'token': localStorage.getItem('token')},
-//         dataType:'json',
-//         method: 'POST',
-//         success: function (res) {
-//             if (res.code === 200) {
-//                 var status;
-//                 if (res.data != null) {
-//                     status = res.data.locType$;
-//                 } else {
-//                     status = "鏈壘鍒板簱浣�";
-//                 }
-//                 tips = layer.tips(
-//                     "<span style='color:#333;text-overflow: clip;'>"+status+"</span>",
-//                     el,
-//                     {
-//                         tipsMore: true,
-//                         area: ['160px'],
-//                         tips: [3,'#fff'],
-//                         time:0
-//                         ,maxWidth:500
-//                     });
-//             } else if (res.code === 403) {
-//                 top.location.href = baseUrl+"/";
-//             } else {
-//                 layer.msg(res.msg);
-//             }
-//         }
-//     });
-// }

--
Gitblit v1.9.1