From 00212ed8e808fc7b76c04389224e65f27f074fb2 Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期五, 26 四月 2024 15:30:04 +0800 Subject: [PATCH] su --- src/views/system/Checkout/index.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/system/Checkout/index.vue b/src/views/system/Checkout/index.vue index 11d0613..46b4bf8 100644 --- a/src/views/system/Checkout/index.vue +++ b/src/views/system/Checkout/index.vue @@ -409,7 +409,7 @@ leave: false, checked: false, radioId1: false, - createTimeList: "", + createTimeList: [], cusId: "", payType: "0", dialogVisible: false, @@ -523,7 +523,7 @@ }, created() { // this.getNowTime(); - this.getList(); + this.getdate(); }, mounted() { @@ -538,6 +538,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; + this.getList(); }); }, // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡 @@ -567,10 +568,14 @@ if (this.startTime) { this.queryParams.djbeginTime = this.startTime[0]; this.queryParams.djendTime = this.startTime[1]; - } else { + } else if(this.createTimeList){ this.queryParams.djbeginTime = this.createTimeList[0]; this.queryParams.djendTime = this.createTimeList[1]; + } else if(this.createTimeList == null){ + this.queryParams.djbeginTime = null; + this.queryParams.djendTime = null; } + this.loading = true; getQianLiList(this.queryParams).then((response) => { @@ -667,6 +672,8 @@ }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { + this.createTimeList = [] + this.startTime= [] this.resetForm("queryForm"); this.handleQuery(); }, -- Gitblit v1.8.0