From 4e2f1038ed8d48a057e3a44e0d9a223dca993179 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期三, 07 五月 2025 16:11:38 +0800
Subject: [PATCH] 排产页面调整

---
 WebTM/views/基础资料/公用基础资料/Gy_WorkCenterDyCol.html |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenterDyCol.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenterDyCol.html"
index 8d51477..2ce28f4 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenterDyCol.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenterDyCol.html"
@@ -124,9 +124,9 @@
                     //, toolbar: '#toolbarDemo'
                     , height: 'full-50'
                     , page: true
-                    , cellMinWidth: 90
+                    , limits: [50, 500, 5000, 50000]
                     , limit: 50
-                    , limits: [50, 500, 5000, 20000]
+                    , cellMinWidth: 90
                 };
             }
             //#endregion
@@ -153,7 +153,6 @@
                 })
             }
 
-
             //#region 鏌ヨ
             function get_Display(sWhere) {
                 var ajaxLoad = layer.load();
@@ -171,7 +170,6 @@
                             }
                             //鍒ゆ柇鏄惁鏄函鑻辨枃
                             var patrn = new RegExp("[\u4E00-\u9FA5]+");
-                            col.push({ field: data[i].name, title: data[i].name, hide: true }); //闅愯棌鍒�
                             for (var i = 0; i < data.length; i++) {
                                 if (!patrn.test(data[i].name)) {
                                     col.push({ field: data[i].name, title: data[i].name, hide: true }); //闅愯棌鍒�
@@ -189,6 +187,7 @@
                             option.cols = [col];
                             option.data = data1.data;
                             table.render(option);
+                            layer.close(ajaxLoad);
                         } else {
                             layer.close(ajaxLoad);
                             layer.alert(data1.code + data1.Message, { icon: 5 });

--
Gitblit v1.9.1