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) }