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