This commit is contained in:
2023-10-10 16:06:53 +08:00
parent 51f101ea4e
commit 78796203f6
38 changed files with 487 additions and 438 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-08-24 11:19:43
* @LastEditors: zwq
* @LastEditTime: 2023-09-26 14:00:22
* @LastEditTime: 2023-10-10 15:29:31
* @Description:
*/
export default {
@@ -155,16 +155,16 @@ export default {
this.getDataList()
},
/** 导出按钮操作 */
handleExport() {
handleExport(id) {
// 处理查询参数
let params = { ...this.queryParams };
let params = { warehouseId:id };
params.pageNo = undefined;
params.pageSize = undefined;
this.$modal.confirm('是否确认导出所有数据项?').then(() => {
this.exportLoading = true;
return this.urlOptions.exportURL(params);
}).then(response => {
this.$download.excel(response, '工厂.xls');
this.$download.excel(response, '导出.xls');
this.exportLoading = false;
}).catch(() => { });
}