Browse Source

fix 改变方式根据基地id获取到该基地在仓库当中的库存

fix 改变方式根据基地id获取到该基地在仓库当中的库存
master
陈港 2 years ago
parent
commit
dc34b3fc42
  1. 7
      pages/purchase/specs.vue

7
pages/purchase/specs.vue

@ -280,8 +280,11 @@ export default{
}
},
async searchStock(id){
var res=await request("/api/goods/stockShow?goodsSpecificationId",{
params:{goodsSpecificationId:id}
var res=await request("/api/goods/stockShow",{
params:{
goodsSpecificationId:id,
plantBaseInfoId:this.$store.state.plantBaseInfoId,
}
})
if(res.data.packing&&res.data.heft){
this.specStr=`${res.data.packing}(${res.data.heft})`

Loading…
Cancel
Save