Browse Source

fix 导出生产统计

master
张江玮 1 year ago
parent
commit
95b4537e0d
  1. 2
      lms/nladmin-system/src/main/resources/config/application.yml
  2. 4
      lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue

2
lms/nladmin-system/src/main/resources/config/application.yml

@ -2,7 +2,7 @@ spring:
freemarker:
check-template-location: false
profiles:
active: prod
active: dev
jackson:
time-zone: GMT+8
data:

4
lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue

@ -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

Loading…
Cancel
Save