Browse Source

修改页面数据显示

master
邓宏 2 years ago
parent
commit
e8d6e98f64
  1. 6
      pages/stock/mana.vue

6
pages/stock/mana.vue

@ -140,7 +140,7 @@
<text style="--c:#999;" class="over">{{v.supplierName}}</text>
</view>
<view class="num">
<text>库存量{{v.equivalentInventory||0}}{{v.unit}}</text>
<text>库存量{{v.equivalentInventory||0}}{{v.packgeUnit}}</text>
<view class="btns">
<button class="cu-btn" @click="toList('out',v)">出库</button>
<button class="cu-btn" @click="toList('in',v)">入库</button>
@ -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)
}

Loading…
Cancel
Save