From e8d6e98f642114593825c9151806ed1610713a5e Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Mon, 13 Feb 2023 16:14:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/stock/mana.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/stock/mana.vue b/pages/stock/mana.vue index b280525..ef91230 100644 --- a/pages/stock/mana.vue +++ b/pages/stock/mana.vue @@ -140,7 +140,7 @@ {{v.supplierName}} - 库存量:{{v.equivalentInventory||0}}{{v.unit}} + 库存量:{{v.equivalentInventory||0}}{{v.packgeUnit}} @@ -210,6 +210,10 @@ export default { toList(mode,val){ uni.navigateTo({ url:`/pages/stock/list?mode=${mode}&type=${this.searchVal.substanceType}&warehouseId=${this.searchVal.warehouseId||''}`, + events:{update:()=>{ + this.clean() + this.search() + }}, success(res){ res.eventChannel.emit('detail', val) }