refactor(wms): 移除导出文件名中的日期参数
文件名已使用时间戳保证唯一性,移除冗余的日期参数以简化命名
This commit is contained in:
@@ -271,7 +271,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.download('wms/materialCoil/export', {
|
this.download('wms/materialCoil/export', {
|
||||||
coilIds: this.outList.map(item => item.coilId).join(',')
|
coilIds: this.outList.map(item => item.coilId).join(',')
|
||||||
}, `materialCoil_${this.queryParams.date}_${new Date().getTime()}.xlsx`)
|
}, `materialCoil_${new Date().getTime()}.xlsx`)
|
||||||
},
|
},
|
||||||
exportLossData() {
|
exportLossData() {
|
||||||
if (this.lossList.length === 0) {
|
if (this.lossList.length === 0) {
|
||||||
@@ -280,7 +280,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.download('wms/materialCoil/export', {
|
this.download('wms/materialCoil/export', {
|
||||||
coilIds: this.lossList.map(item => item.coilId).join(',')
|
coilIds: this.lossList.map(item => item.coilId).join(',')
|
||||||
}, `materialCoil_${this.queryParams.date}_${new Date().getTime()}.xlsx`)
|
}, `materialCoil_${new Date().getTime()}.xlsx`)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user