From d417e332b39e7da99f637e94ebacf199fb158a72 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期五, 31 五月 2024 18:16:50 +0800
Subject: [PATCH] #1

---
 src/main/webapp/static/js/report/workCountOut.js |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/static/js/report/workCountOut.js b/src/main/webapp/static/js/report/workCountOut.js
index 1603a81..6ef3da7 100644
--- a/src/main/webapp/static/js/report/workCountOut.js
+++ b/src/main/webapp/static/js/report/workCountOut.js
@@ -2,8 +2,8 @@
 function getCol() {
     var cols = [
         {field: 'oneday', align: 'center', title: '鍏ュ簱鏃ユ湡', width: 200}
-        ,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿'}
-        ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О'}
+        ,{field: 'matnr', align: 'center',title: '鐗╂枡鍙�'}
+        ,{field: 'maktx', align: 'center',title: '鐗╂枡鍚嶇О'}
         ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
     ];
 
@@ -34,11 +34,12 @@
             limitName: 'pageSize'
         },
         parseData: function (res) {
+            $('#countNum').text(res.data.sum + '涓�');
             return {
                 'code': res.code,
                 'msg': res.msg,
-                'count': res.data.total,
-                'data': res.data.records
+                'count': res.data.page.total,
+                'data': res.data.page.records
             }
         },
         response: {

--
Gitblit v1.9.1