fix(wms): 修复异常表单和报表导出功能
修正异常表单中的产线字段名从line改为productionLine 优化报表导出功能,使用actionIds替代coilIds 为异常管理添加程度字典显示和产线字段 移除冗余代码并统一报表模板中的导出逻辑
This commit is contained in:
@@ -225,6 +225,8 @@ export default {
|
||||
|
||||
lossColumns: [],
|
||||
outputColumns: [],
|
||||
|
||||
actionIds: '',
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -270,7 +272,7 @@ export default {
|
||||
fetchLossList(this.actionTypes, {
|
||||
...this.queryParams,
|
||||
...this.actionQueryParams
|
||||
}),
|
||||
}, (ids) => { this.actionIds = ids }),
|
||||
fetchOutputList({
|
||||
...this.queryParams,
|
||||
...this.baseQueryParams,
|
||||
@@ -298,7 +300,8 @@ export default {
|
||||
return
|
||||
}
|
||||
this.download('wms/materialCoil/export', {
|
||||
coilIds: this.lossList.map(item => item.coilId).join(',')
|
||||
// coilIds: this.lossList.map(item => item.coilId).join(',')
|
||||
actionIds: this.actionIds
|
||||
}, `materialCoil_${this.queryParams.date}_${new Date().getTime()}.xlsx`)
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user