From e67503fd8cc820ff14fa3398a9a7e072d4964444 Mon Sep 17 00:00:00 2001
From: mrzhssss <pro6@qq.com>
Date: 星期五, 06 五月 2022 14:25:57 +0800
Subject: [PATCH] 新增导出功能
---
src/main/webapp/static/js/diffVal/diffVal.js | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/diffVal/diffVal.js b/src/main/webapp/static/js/diffVal/diffVal.js
index 263d248..1203e8c 100644
--- a/src/main/webapp/static/js/diffVal/diffVal.js
+++ b/src/main/webapp/static/js/diffVal/diffVal.js
@@ -22,6 +22,7 @@
cols: [[
{type: 'checkbox'}
,{field: 'matnr', align: 'center',title: '鐗╂枡缂栧彿'}
+ ,{field: 'maktx', align: 'center',title: '鐗╂枡鍚嶇О'}
,{field: 'stockQty', align: 'center',title: 'WMS搴撳瓨'}
,{field: 'erpQty', align: 'center',title: 'ERP搴撳瓨'}
,{field: 'val', align: 'center',title: '宸紓鍊�', style: 'font-weight: bold;color: blue'}
@@ -46,6 +47,9 @@
statusCode: 200
},
done: function(res, curr, count) {
+ // console.log(res.data);
+ // console.log(res.data.total);
+ console.log(res.data.records);
if (res.code === 403) {
top.location.href = baseUrl+"/";
}
@@ -228,6 +232,14 @@
}
layDateRender();
+
+ form.on("select(chooseItem)", function (data) {
+ console.log(data);
+ tableIns.reload({
+ where: { includeZero: data.value}
+ });
+
+ })
});
--
Gitblit v1.9.1