refactor(wms/report): 移除actionIds相关导出逻辑

This commit is contained in:
2026-06-03 16:44:44 +08:00
parent e507887a27
commit 977ea2b021
2 changed files with 4 additions and 10 deletions

View File

@@ -970,12 +970,10 @@ export default {
handleCustomExport(orderedColumns) {
const { pageNum, pageSize, startTime, endTime, ...filters } = this.queryParams
const type = this.customExportType
const ids = type === 'loss'
? { actionIds: this.actionIds }
: { coilIds: this.outList.map(item => item.coilId).join(',') }
const list = type === 'loss' ? this.lossList : this.outList
this.download('wms/materialCoil/exportCustomOrdered', {
...filters,
...ids,
coilIds: list.map(item => item.coilId).join(','),
columnsOrdered: orderedColumns.join(','),
}, `materialCoil_${new Date().getTime()}.xlsx`)
},