From cee2eca9c3e40b48c40a8fe80f938a777f03d463 Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期二, 10 六月 2025 17:57:11 +0800 Subject: [PATCH] 1 --- src/views/mall/checklog/index.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/mall/checklog/index.vue b/src/views/mall/checklog/index.vue index b048841..04bc396 100644 --- a/src/views/mall/checklog/index.vue +++ b/src/views/mall/checklog/index.vue @@ -333,7 +333,7 @@ }, created() { // this.getNowTime() - this.getList(); + this.getdate(); }, methods: { @@ -343,6 +343,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00") ];; + this.getList(); }); }, getNowTime() { @@ -358,8 +359,14 @@ /** 鏌ヨ鏍搁攢璁板綍鍒楄〃 */ getList() { this.loading = true; - this.queryParams.startTime = this.createTimeList[0] + if(this.createTimeList){ + this.queryParams.startTime = this.createTimeList[0] this.queryParams.endTime = this.createTimeList[1] + }else if(this.createTimeList == null){ + this.queryParams.startTime = null + this.queryParams.endTime = null + } + listChecklog(this.queryParams).then((response) => { response.rows.forEach((item, index) => { item.newID = -- Gitblit v1.8.0