From f723b2593301fd64db542f852f23bfd81f03b1e8 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Tue, 9 Jul 2024 11:27:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/invoicing/goods_stoks.vue | 8 ++++---- src/views/product/specification.vue | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/invoicing/goods_stoks.vue b/src/views/invoicing/goods_stoks.vue index 03588c2..71b4bf8 100644 --- a/src/views/invoicing/goods_stoks.vue +++ b/src/views/invoicing/goods_stoks.vue @@ -103,7 +103,7 @@
+ layout="total, sizes, prev, pager, next, jumper">
@@ -153,6 +153,7 @@ export default { num: '', categoryId: '' }, + resetQuery: '', downloadLoading: false, uploadLoading: false, warnLine: null, // 警戒线 @@ -167,6 +168,7 @@ export default { } }, mounted() { + this.resetQuery = { ...this.query } this.tbShopCategoryGet() this.getTableData() }, @@ -352,9 +354,7 @@ export default { }, // 重置查询 resetHandle() { - this.query.name = '' - this.query.num = '' - this.query.isStock = '' + this.query = { ...this.resetQuery } this.tableData.page = 0; this.tableData.list = [] this.getTableData() diff --git a/src/views/product/specification.vue b/src/views/product/specification.vue index 111862e..e030bbd 100644 --- a/src/views/product/specification.vue +++ b/src/views/product/specification.vue @@ -106,7 +106,8 @@ export default { page: this.tableData.page, size: this.tableData.size, sort: 'id', - shopId: localStorage.getItem('shopId') + shopId: localStorage.getItem('shopId'), + name: this.query.blurry }) this.tableData.loading = false this.tableData.list = res.content From 6f1c8bf455ac977ba94468ad1b265eb37bd32bd6 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 9 Jul 2024 11:53:38 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/data_tables.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/home/data_tables.vue b/src/views/home/data_tables.vue index 887ead3..42bcde0 100644 --- a/src/views/home/data_tables.vue +++ b/src/views/home/data_tables.vue @@ -57,7 +57,8 @@ - + +