From 3ecd2daef4b7160d6281c4f01519ba36fd979c80 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 10 Jul 2024 13:55:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=87=B3=E5=A4=87=E7=94=A8?= =?UTF-8?q?=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AppKeyGoods.vue | 10 +++++----- src/views/AppNavbar.vue | 22 +++++++++------------- src/views/AppStoresTable.vue | 7 ++----- 3 files changed, 16 insertions(+), 23 deletions(-) diff --git a/src/views/AppKeyGoods.vue b/src/views/AppKeyGoods.vue index a0a51cf..3d5e0cb 100644 --- a/src/views/AppKeyGoods.vue +++ b/src/views/AppKeyGoods.vue @@ -9,7 +9,7 @@ export default { {label: "重点单品", prop: "goodsCategoryName"}, {label: "销售额", prop: "saleNum", width: 70}, {label: "库存数量", prop: "stockNum", width: 70}, - {label: "销售目标", prop: "targetSaleNum", width:70}, + {label: "销售目标", prop: "targetSaleNum", width: 70}, {label: "销售达成", prop: "saleAchieveRate"}, ] } @@ -32,7 +32,7 @@ export default { getTableData() { const {$http, $waitFor} = window $waitFor($http).then(() => $http.post("/data-boot/la/screen/marketBoard/marketKeyGoods", { - // ...this.search, limit: 999 + ...this.search, limit: 999 })).then(res => { if (res?.data) { this.tableData = res.data?.records || [] @@ -40,9 +40,9 @@ export default { }) } }, - watch:{ + watch: { search: { - immediate:true,deep:true,handler(){ + immediate: true, deep: true, handler() { this.getTableData() } } @@ -52,7 +52,7 @@ export default { diff --git a/src/views/AppNavbar.vue b/src/views/AppNavbar.vue index daf178c..14c41cc 100644 --- a/src/views/AppNavbar.vue +++ b/src/views/AppNavbar.vue @@ -1,25 +1,22 @@