From 32bb782c3ff2dee184e485f1ebd71c10313571a1 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期六, 10 七月 2021 16:13:53 +0800
Subject: [PATCH] 1.平仓库存管理新增导出功能
---
src/main/webapp/static/js/report/workIn.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/static/js/report/workIn.js b/src/main/webapp/static/js/report/workIn.js
index 367d367..c648ce8 100644
--- a/src/main/webapp/static/js/report/workIn.js
+++ b/src/main/webapp/static/js/report/workIn.js
@@ -1,4 +1,5 @@
var pageCurr;
+var workInData = [];
function getCol() {
var cols = [
{field: 'io_time', align: 'center', title: '鍏ュ簱鏃ユ湡', width: 200}
@@ -48,6 +49,8 @@
}
pageCurr=curr;
limit();
+ // 鍒嗛〉鏁版嵁涓存椂瀛樺偍
+ workInData = res.data;
}
});
@@ -94,10 +97,10 @@
});
var param = {
fields: fields,
- exportData: exportData
+ exportData: workInData
};
$.ajax({
- url: baseUrl+"/report/viewWorkInExport.action",
+ url: baseUrl+"/report/viewWorkInExportByPage.action",
headers: {'token': localStorage.getItem('token')},
data: JSON.stringify(param),
dataType:'json',
--
Gitblit v1.9.1