This commit is contained in:
linfso 2024-08-30 19:06:30 +08:00
parent c210d2884f
commit c5c353d788

View File

@ -381,6 +381,7 @@ export default {
daterangeCreateTime: [],
// 修改站点代码时间范围
daterangeUpdateTime: [],
selectionList:[],
// 查询参数
queryParams: {
pageNum: 1,
@ -426,6 +427,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
this.selectionList=selection;
this.ids = selection.map(item => item.id)
this.single = selection.length!==1
this.multiple = !selection.length
@ -611,11 +613,15 @@ export default {
this.exportData(this.selectionList,loadingInstance);
}
else{
let qExportParam={...this.queryParams};
let queryParamsExt=this.addDateRange(this.queryParams, this.dateTimeRange);
let qExportParam={...queryParamsExt};
qExportParam.pageNum=1;
qExportParam.pageSize=20000;
listEmisWaybill(qExportParam).then(response => {
listMonthUser(qExportParam).then(response => {
if (response.code === 200) {
this.exportData(response.rows,loadingInstance);
}