From 498be181670608e9198b36d32e9e571636a9bd35 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 13 五月 2024 13:45:45 +0800
Subject: [PATCH] 销售订单:维护页面 因为读取过滤方案而加载缓慢问题优化

---
 WebTM/views/销售管理/销售订单/Xs_SeOrderBillList.html     |   17 +++++++++++------
 WebTM/Properties/PublishProfiles/JFTM.pubxml.user |    4 ++--
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
index 0cdc61e..80d4ae5 100644
--- a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
+++ b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
@@ -5943,7 +5943,7 @@
       <publishTime>04/11/2023 16:34:43</publishTime>
     </File>
     <File Include="views/閿�鍞鐞�/閿�鍞鍗�/Xs_SeOrderBillList.html">
-      <publishTime>05/13/2024 13:14:03</publishTime>
+      <publishTime>05/13/2024 13:41:49</publishTime>
     </File>
     <File Include="views/閲囪喘绠$悊/濮斿璁㈠崟/WW_EntrustOrderBillList.html">
       <publishTime>03/05/2024 12:29:40</publishTime>
@@ -5964,7 +5964,7 @@
       <publishTime>03/27/2024 14:01:41</publishTime>
     </File>
     <File Include="views/閿�鍞鐞�/閿�鍞鍗�/Xs_SeOrderBillList.html">
-      <publishTime>05/13/2024 13:14:03</publishTime>
+      <publishTime>05/13/2024 13:41:49</publishTime>
     </File>
     <File Include="views/閿�鍞鐞�/閿�鍞鍗�/Xs_SeOrderBill_LookDown.html">
       <publishTime>01/25/2024 15:36:18</publishTime>
diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\351\224\200\345\224\256\350\256\242\345\215\225/Xs_SeOrderBillList.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\351\224\200\345\224\256\350\256\242\345\215\225/Xs_SeOrderBillList.html"
index c018ed4..8cbf641 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\351\224\200\345\224\256\350\256\242\345\215\225/Xs_SeOrderBillList.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\351\224\200\345\224\256\350\256\242\345\215\225/Xs_SeOrderBillList.html"
@@ -526,8 +526,8 @@
                 var HInitTimeCycle = $("#HInitTimeCycle").val() * 1;
                 //鑻ユ棩鏈熼棿闅斾笉涓� 浠绘剰闂撮殧锛屽垯绂佺敤寮�濮嬫棩鏈熶笌缁撴潫鏃ユ湡鐨勯�夋嫨
                 if (HInitTimeCycle != -1) {
-                    $('#HBeginDate').prop('disabled', true);
-                    $('#HEndDate').prop('disabled', true);
+                    //$('#HBeginDate').prop('disabled', true);
+                    //$('#HEndDate').prop('disabled', true);
 
                     $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * HInitTimeCycle), "yyyy-MM-dd"));
                     $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
@@ -539,8 +539,8 @@
                     //鎵ц鏌ヨ鏂规硶
                     get_FastQuery();
                 } else {
-                    $('#HBeginDate').prop('disabled', false);
-                    $('#HEndDate').prop('disabled', false);
+                    //$('#HBeginDate').prop('disabled', false);
+                    //$('#HEndDate').prop('disabled', false);
                 }
             });
             //#endregion
@@ -569,12 +569,12 @@
                 //鍒濆鍖栬〃鏍�
                 set_InitGrid();
                 //鏌ヨ
-                get_FastQuery();
+                //get_FastQuery();
                 //get_Display(sWhere);
-                DisPlay_HideColumn();
                
                 //鏌ヨ褰撳墠鐧诲綍鐢ㄦ埛鏈夋病鏈夊湪褰撳墠妯″潡璁剧疆榛樿杩囨护鏂规
                 get_DefaultModule();
+                DisPlay_HideColumn();
             }
             //#endregion
 
@@ -1850,6 +1850,11 @@
                     data: { "user": sessionStorage["Czybm"], "HModuleName": HModuleName, "HInterID": 0, "Type": "Default" },
                     success: function (data1) {
                         if (data1.count == 1) {
+                            if ($("#Comparator").val() == 0 && $("#ColContent").val() == "") {
+                                ColFilter();
+                            }
+
+
                             //褰撳墠鐢ㄦ埛璁剧疆鏈夐粯璁ょ殑杩囨护鏂规
                             var data = data1.data;
                             //褰撳墠閫夋嫨鐨勮繃婊ゆ柟妗�

--
Gitblit v1.9.1