From 4ad1f324ab1fd2b51504afc00b43b4ee40f029c2 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期四, 20 二月 2025 09:40:03 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/pakStore/pakStore.js |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/static/js/pakStore/pakStore.js b/src/main/webapp/static/js/pakStore/pakStore.js
index cdfcffd..166c63e 100644
--- a/src/main/webapp/static/js/pakStore/pakStore.js
+++ b/src/main/webapp/static/js/pakStore/pakStore.js
@@ -4,7 +4,7 @@
 function getCol() {
     var cols = [
         {fixed: 'left', field: 'anfme', title: '鏁伴噺锛堝繀濉級', align: 'center', edit:'text', width: 120,  style:'color: blue;font-weight: bold'},
-        {field: 'batch', title: '鎵瑰彿锛堥�夊~锛�', align: 'center', edit:'text', width: 200,  style:'color: block;font-weight: bold'}
+        {field: 'batch', title: '绠卞彿锛堥�夊~锛�', align: 'center', edit:'text', width: 200,  style:'color: block;font-weight: bold'}
     ];
     cols.push.apply(cols, matCols);
     cols.push({fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 80})
@@ -84,6 +84,7 @@
                     layer.msg("璇烽�夋嫨鍏ュ簱绔�", {icon: 2});
                     return;
                 }
+                console.log(matCodeData)
                 $.ajax({
                     url: baseUrl+"/full/store/put/start",
                     headers: {'token': localStorage.getItem('token')},
@@ -148,6 +149,7 @@
 
     // 鎻愬彇鐗╂枡
     $(document).on('click','#mat-query', function () {
+        let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
         matCodeLayerIdx = admin.open({
             type: 2,
             title: false,
@@ -157,6 +159,7 @@
             shadeClose: true,
             content: 'matQuery.html',
             success: function(layero, index){
+                layer.close(loadIndex);
             }
         });
     })
@@ -171,7 +174,7 @@
         return
     }
     $.ajax({
-        url: baseUrl + "/matCode/" + el.value + "/auth",
+        url: baseUrl + "/mat/" + el.value + "/auth",
         headers: {'token': localStorage.getItem('token')},
         method: 'GET',
         success: function (res) {

--
Gitblit v1.9.1