From ac6766c11f8a2b8de903b58c13a8f206fa01dccd Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期五, 15 三月 2024 17:56:32 +0800 Subject: [PATCH] qxtj --- src/views/system/bill/index.vue | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/views/system/bill/index.vue b/src/views/system/bill/index.vue index a7c2974..59ff0d8 100644 --- a/src/views/system/bill/index.vue +++ b/src/views/system/bill/index.vue @@ -635,7 +635,7 @@ }, created() { // this.getNowTime(); - this.getList(); + this.Company(); this.getdate(); }, @@ -651,6 +651,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; + this.getList(); }); }, // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡 @@ -821,8 +822,15 @@ }, /** 鏌ヨ浣撴璁板綍鍒楄〃 */ getList() { - this.queryParams.djbeginTime = this.startTime[0]; + if(this.createTimeList){ + this.queryParams.djbeginTime = this.createTimeList[0]; + this.queryParams.djendTime = this.createTimeList[1]; + }else{ + this.queryParams.djbeginTime = this.startTime[0]; this.queryParams.djendTime = this.startTime[1]; + } + + this.loading = true; getOrderList(this.queryParams).then((response) => { this.orderList = response.data.list; @@ -902,6 +910,7 @@ }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { + this.createTimeList=[] this.resetForm("queryForm"); this.handleQuery(); }, -- Gitblit v1.8.0