From 9286111315e67fe3c4f5e0ed4fb0dfa2c0d610f2 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Sun, 29 Jan 2023 15:31:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inventory/invPreProducts.vue | 3 +-- src/views/warehouse/AdditionalOrder.vue | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/inventory/invPreProducts.vue b/src/views/inventory/invPreProducts.vue index 97bf3eb..c171397 100644 --- a/src/views/inventory/invPreProducts.vue +++ b/src/views/inventory/invPreProducts.vue @@ -216,10 +216,10 @@ export default { limit: 20, }; this.getList(); - this.filterQuery.page=null; }, onSubmit() { this.loading = true; + this.filterQuery.page = 1; this.getList(); }, handleSizeChange(val) { @@ -229,7 +229,6 @@ export default { handleCurrentChange(val) { this.filterQuery.page = val; this.getList(); - this.filterQuery.page = 1; }, handleUnitClick(row) { this.curIndex = row.id; diff --git a/src/views/warehouse/AdditionalOrder.vue b/src/views/warehouse/AdditionalOrder.vue index ce2b7c9..61e9c38 100644 --- a/src/views/warehouse/AdditionalOrder.vue +++ b/src/views/warehouse/AdditionalOrder.vue @@ -359,6 +359,7 @@ export default { }, onSubmit() { this.loading = true; + this.filterQuery.page = 1; this.getList(); }, handleSizeChange(val) { @@ -368,7 +369,6 @@ export default { handleCurrentChange(val) { this.filterQuery.page = val; this.getList(); - this.filterQuery.page = 1; }, handleUnitClick(row) { this.curIndex = row.id;