fix 导出生产统计
This commit is contained in:
@@ -537,6 +537,10 @@ export default {
|
||||
})
|
||||
},
|
||||
downloadExcel() {
|
||||
if (this.crud.query.createTime) {
|
||||
this.crud.query.begin_time = this.crud.query.createTime[0]
|
||||
this.crud.query.end_time = this.crud.query.createTime[1]
|
||||
}
|
||||
download('/api/workorder/downloadExcel', this.crud.query).then(res => {
|
||||
downloadFile(res, '生产统计', 'xlsx')
|
||||
crud.downloadLoading = false
|
||||
|
||||
Reference in New Issue
Block a user