From 72feab4f9dbfb4a14f6af4cd83c3496286a047f3 Mon Sep 17 00:00:00 2001 From: shidongli Date: Mon, 7 Nov 2022 13:39:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AE=A2=E5=8D=95=20?= =?UTF-8?q?=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/goodsOrder/index.vue | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/src/views/system/goodsOrder/index.vue b/src/views/system/goodsOrder/index.vue index cb32ba6..d7e867a 100644 --- a/src/views/system/goodsOrder/index.vue +++ b/src/views/system/goodsOrder/index.vue @@ -806,6 +806,20 @@ refundcancel() { }, // 表单重置 reset() { + this.queryParams={ + pageNum: 1, + pageSize: 10, + nurseStationId: null, + patientId: null, + orderNo: null, + orderStatus: null, + totalPrice: null, + receiver: null, + receiveAddress: null, + phone: null, + orderTime: null, + orderChannel: null, + } this.form = { id: null, nurseStationId: null, @@ -825,7 +839,7 @@ reset() { updateTime: null, orderStatus: "", }; - this.resetForm("form"); + this.resetForm("queryParams"); }, /** 搜索按钮操作 */ handleQuery() { @@ -834,11 +848,11 @@ handleQuery() { }, /** 重置按钮操作 */ resetQuery() { + this.reset(); this.resetForm("queryForm"); this.handleQuery(); - - }, + // 多选框选中数据 handleSelectionChange(selection) { this.ids = selection.map(item => item.id)