From b51eadaa66a5c0ee6da0e418a3ba193dfc878fca Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 03 七月 2025 13:21:56 +0800
Subject: [PATCH] 1

---
 src/main/webapp/static/js/locDetlStatis/locDetlStatis.js |   30 ++++++++++++++++++++++++++++--
 1 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js b/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js
index aac1566..ae2639a 100644
--- a/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js
+++ b/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js
@@ -24,8 +24,8 @@
         headers: {token: localStorage.getItem('token')},
         url: baseUrl+'/locDetl/statis/auth',
         page: true,
-        limit: 16,
-        limits: [16, 30, 50, 100, 200, 500],
+        limit: 20,
+        limits: [20, 30, 50, 100, 200, 500],
         even: true,
         toolbar: '#toolbar',
         cellMinWidth: 50,
@@ -59,6 +59,19 @@
                     res.data[_index][data.value] = 'N';
                 }
             });
+            /**
+             * 鏄剧ず搴撳瓨鎬绘暟閲�
+             */
+            $.ajax({
+                url: baseUrl+"/locDetl/count",
+                headers: {'token': localStorage.getItem('token')},
+                contentType:'application/json;charset=UTF-8',
+                method: 'POST',
+                success: function (res) {
+                    $("#countNum").text(res.data + '涓�');
+                }
+            });
+
         }
     });
 
@@ -222,6 +235,19 @@
             limit(child);
         }
     });
+    /**
+     * 鏄剧ず搴撳瓨鎬绘暟閲�
+     */
+    $.ajax({
+        url: baseUrl+"/locDetl/matnr/count",
+        headers: {'token': localStorage.getItem('token')},
+        contentType:'application/json;charset=UTF-8',
+        method: 'POST',
+        data: JSON.stringify(searchData),
+        success: function (res) {
+            $("#countNum").text(res.data + '涓�');
+        }
+    });
 }
 
 function detailScreen(index) {

--
Gitblit v1.9.1