From 012f80529db9aa5065f51bde3fd65ff1ffe9eb61 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期日, 07 四月 2024 08:23:10 +0800
Subject: [PATCH] bug修复

---
 src/main/webapp/static/js/locDetlStatis/locDetlStatis.js |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js b/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js
index fd1da33..33fae30 100644
--- a/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js
+++ b/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js
@@ -1,11 +1,14 @@
 var pageCurr;
 function getCol() {
     var cols = [
-        {field: 'anfme', align: 'center',title: '搴撳瓨鏁伴噺', style: 'font-weight: bold'}
+        {field: 'brand', align: 'center',title: '鐗屽彿', style: 'font-weight: bold'},
+        {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', style: 'font-weight: bold'},
+        {field: 'workshop', align: 'center',title: '杞﹂棿', style: 'font-weight: bold'},
+        {field: 'weight', align: 'center',title: '搴撳瓨閲嶉噺锛圞G锛�', style: 'font-weight: bold'}
     ];
-    arrRemove(detlCols, "field", "anfme")
-    arrRemove(detlCols, "field", "zpallet")
-    cols.push.apply(cols, detlCols);
+    // arrRemove(detlCols, "field", "anfme")
+    // arrRemove(detlCols, "field", "zpallet")
+    // cols.push.apply(cols, detlCols);
     // cols.push({field: 'anfme', align: 'center',title: '鏁伴噺', style: 'font-weight: bold'}
     // )
     return cols;
@@ -22,12 +25,17 @@
     tableIns = table.render({
         elem: '#locDetlStatis',
         headers: {token: localStorage.getItem('token')},
-        url: baseUrl+'/locDetl/statis/auth',
+        url: baseUrl+'/pla/statis/auth',
         page: true,
         limit: 20,
         limits: [20, 30, 50, 100, 200, 500],
         even: true,
         toolbar: '#toolbar',
+        defaultToolbar: ['filter', 'exports', 'print', {
+            title: '鎻愮ず',
+            layEvent: 'LAYTABLE_TIPS',
+            icon: 'layui-icon-tips'
+        }],
         cellMinWidth: 50,
         cols: [getCol()],
         request: {

--
Gitblit v1.9.1