From b7e08df5a07b3fa832a46ecc31983e16f2bccc8c Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 24 七月 2023 14:56:01 +0800
Subject: [PATCH] # 出库作业,和库存明细管理 排序

---
 src/main/webapp/static/js/report/workOut.js |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/report/workOut.js b/src/main/webapp/static/js/report/workOut.js
index 035d6b5..6ec4bab 100644
--- a/src/main/webapp/static/js/report/workOut.js
+++ b/src/main/webapp/static/js/report/workOut.js
@@ -5,7 +5,11 @@
         ,{field: 'loc_no', align: 'center',title: '搴撲綅鍙�'}
         ,{field: 'crn_str_time', align: 'center',title: '鍫嗗灈鏈哄惎鍔ㄦ椂闂�'}
         ,{field: 'crn_end_time', align: 'center',title: '鍫嗗灈鏈哄仠姝㈡椂闂�'}
+        ,{field: 'mat_no', align: 'center',title: '鐗╂枡缂栧彿'}
+        ,{field: 'mat_name', align: 'center',title: '鐗╂枡鍚嶇О'}
     ];
+    arrRemove(detlCols, "field", "matNo");
+    arrRemove(detlCols, "field", "matName")
     cols.push.apply(cols, detlCols);
     return cols;
 }
@@ -90,8 +94,13 @@
                             fields.push(col.field);
                         }
                     });
+                    var exportData = {};
+                    $.each($('#search-box [name]').serializeArray(), function() {
+                        exportData[this.name] = this.value;
+                    });
                     var param = {
-                        'fields': fields
+                        fields: fields,
+                        exportData: exportData
                     };
                     $.ajax({
                         url: baseUrl+"/report/viewWorkOutExport.action",

--
Gitblit v1.9.1