From be8d1a9e80b7b725daa8ce5f1dd9257dade9065d Mon Sep 17 00:00:00 2001
From: zgq <519541279@qq.com>
Date: 星期二, 20 七月 2021 14:58:05 +0800
Subject: [PATCH] 首检20210720v1

---
 WebTM/views/Baseset/基础资料/Gy_MaterialList.html |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterialList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterialList.html"
index 91afb32..0937922 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterialList.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterialList.html"
@@ -60,10 +60,10 @@
               , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
               , cols: [[
                   { type: 'radio' }
-                , { field: 'HItemID', width: 150, title: '鐗╂枡ID', hide: true }
-                , { field: 'HNumber', width: 150, title: '鐗╂枡浠g爜' }
-                , { field: 'HName', width: 150, title: '鐗╂枡鍚嶇О', sort: true }
-                , { field: 'HModel', width: 150, title: '瑙勬牸鍨嬪彿' }
+                , { field: 'HItemID', title: '鐗╂枡ID', hide: true }
+                , { field: 'HNumber', title: '鐗╂枡浠g爜' }
+                , { field: 'HName', title: '鐗╂枡鍚嶇О', sort: true }
+                , { field: 'HModel', title: '瑙勬牸鍨嬪彿' }
               ]]
               , page: true
             });
@@ -73,6 +73,7 @@
                 if (Value == null) {
                     Value = '';
                 }
+                var index = layer.load();
                 $.ajax({
                     type: "get",
                     //url: "http://61.130.49.162:9090/WMSAPI///Web/GetDepartmentList_Json",
@@ -90,8 +91,10 @@
 
                             }
                         });
+                        layer.close(index);
                     },
                     error: function (result) {
+                        layer.close(index);
                         console.log(result);
                         //layer.msg('鑾峰彇閲囪喘璁㈠崟鍑虹幇寮傚父', { icon: 2, time: 2000 });
                     }

--
Gitblit v1.9.1