From b368b72d003d464590042c79db643c812ade6429 Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Mon, 11 Sep 2023 09:37:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=A8=A1=E5=9D=97(=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=9F=A5=E8=AF=A2=E4=BC=98=E5=8C=96)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plan/order/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/plan/order/index.vue b/src/views/plan/order/index.vue index 3853498a..5660b076 100644 --- a/src/views/plan/order/index.vue +++ b/src/views/plan/order/index.vue @@ -1142,6 +1142,9 @@ export default { if (this.queryParams.planDateArray != null) { this.queryParams.planDateStart = moment(this.queryParams.planDateArray[0]).format('YYYY-MM-DD') this.queryParams.planDateEnd = moment(this.queryParams.planDateArray[1]).format('YYYY-MM-DD') + }else { + this.queryParams.planDateStart = null + this.queryParams.planDateEnd = null } listOrder(this.queryParams).then(response => { this.orderList = this.handleTree(response.data, 'orderCode', 'parentOrder') @@ -1240,7 +1243,7 @@ export default { /** 重置按钮操作 */ resetQuery() { this.queryParams = { - planDateArray: [], + planDateArray: [new Date(), new Date()], planFactoryCode: null, orderType: null, orderCode: null,