From ef3f5d3fe77c0a3e721db06e424aa516a48b6579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Thu, 25 Apr 2024 17:14:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/report/ingredientReport/day.vue | 8 ++++++-- src/views/report/qcReport/cutDayReport/index.vue | 6 +++++- src/views/report/qcReport/fullInspection/index.vue | 6 +++++- src/views/report/qcReport/lineReport.vue | 7 ++++++- src/views/report/qcReport/optimizeCutData.vue | 6 +++++- 5 files changed, 27 insertions(+), 6 deletions(-) diff --git a/src/views/report/ingredientReport/day.vue b/src/views/report/ingredientReport/day.vue index 47473fe2..64d37df4 100644 --- a/src/views/report/ingredientReport/day.vue +++ b/src/views/report/ingredientReport/day.vue @@ -143,7 +143,7 @@ export default { valueFormat: "timestamp", rangeSeparator: '-', param: 'checkTime', - defaultSelect: Date.now() - 24 * 60 * 60 * 1000, + defaultSelect: Date.now(), width: 150 }, { @@ -170,7 +170,7 @@ export default { mounted() { // this.formConfig[1].defaultSelect[] this.listQuery.startTime = Date.now() - this.time = moment(new Date((Date.now())).setHours(8, 0, 0, 0)).format('YYYY-MM-DD HH:mm:ss') + moment(new Date(Date.now())).format('YYYY-MM-DD HH:mm:ss') + this.time = moment(new Date((Date.now())).setHours(8, 0, 0, 0)).format('YYYY-MM-DD HH:mm:ss') + moment(new Date(Date.now() + 24*60*60*1000).setHours(8, 0, 0, 0)).format('YYYY-MM-DD HH:mm:ss') this.listQuery.endTime = Date.now() // this.formConfig[0].defaultSelect[0] = Date.now()-24*60*60-1000 this.getDataList() @@ -551,6 +551,10 @@ export default { };