修复报表时间bug
This commit is contained in:
parent
9cf26fba4c
commit
a2de2e84c4
@ -570,6 +570,10 @@ export default {
|
||||
this.currentReportTable.name = res.data.name
|
||||
this.currentReportTable.remark = res.data.remark
|
||||
this.form = JSON.parse(res.data.data)
|
||||
this.form.date = [
|
||||
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD'),
|
||||
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD')
|
||||
]
|
||||
this.go()
|
||||
}
|
||||
},
|
||||
|
@ -365,6 +365,10 @@ export default {
|
||||
this.currentReportTable.name = res.data.name
|
||||
this.currentReportTable.remark = res.data.remark
|
||||
this.form = JSON.parse(res.data.data)
|
||||
this.form.date = [
|
||||
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD'),
|
||||
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD')
|
||||
]
|
||||
this.go()
|
||||
}
|
||||
},
|
||||
|
@ -354,6 +354,10 @@ export default {
|
||||
this.currentReportTable.name = res.data.name
|
||||
this.currentReportTable.remark = res.data.remark
|
||||
this.form = JSON.parse(res.data.data)
|
||||
this.form.date = [
|
||||
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD'),
|
||||
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD')
|
||||
]
|
||||
this.go()
|
||||
}
|
||||
},
|
||||
|
@ -340,13 +340,16 @@ export default {
|
||||
this.currentReportTable.name = res.data.name
|
||||
this.currentReportTable.remark = res.data.remark
|
||||
this.form = JSON.parse(res.data.data)
|
||||
this.form.date = [
|
||||
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD'),
|
||||
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD')
|
||||
]
|
||||
this.eventNameSelectShow = false
|
||||
this.$nextTick(() => {
|
||||
this.eventNameSelectShow = true
|
||||
})
|
||||
|
||||
this.go()
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user