From ebef191888d9d2c2a2e7a7f677189164e4eef0b3 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期二, 05 八月 2025 19:04:33 +0800
Subject: [PATCH] 车间委外接收单列表bug处理

---
 WebTM/views/Baseset/基础资料/Gy_GetProductionTeamList.html |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_GetProductionTeamList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_GetProductionTeamList.html"
index 3dbca76..3252ad9 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_GetProductionTeamList.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_GetProductionTeamList.html"
@@ -81,7 +81,6 @@
                 }
                 parent.layer.close(index);
             });
-            RoadQuery($('#Value').val());
             table.render({
                 elem: '#mainTable'
                 // , url: '/demo/table/user/'
@@ -94,7 +93,11 @@
                     , { field: '鐝粍', title: '鐝粍', sort: true }
                 ]]
                 , page: true
+                , limits: [50, 500, 5000, 50000],
+                limit: 50
             });
+            RoadQuery($('#Value').val());
+            
             ///鍔犺浇鏄剧ず鏁版嵁
             function RoadQuery(Where) {
                 var Value = " and HUSEORGID = " + sessionStorage["OrganizationID"] + "";
@@ -103,9 +106,11 @@
                 }
                 $.ajax({
                     type: "get",
-                    url: GetWEBURL() + "/Web/GetProductionTeamList_Json",
-                    async: true,
-                    data: { "sWhere": Value },
+                    //url: GetWEBURL() + "/Web/GetProductionTeamList_Json",     //鍘熻繑鍥炴暟鎹皟鐢ㄦ柟娉�
+                    url: GetWEBURL() + "/Web/GetGroupListByUser_Json",
+                    async: false,
+                    //data: { "sWhere": Value },
+                    data: { "sWhere": Value, "user": sessionStorage["HUserName"] },
                     success: function (result) {
                         ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
                         table.reload('mainTable', {

--
Gitblit v1.9.1