|
|
@@ -188,7 +188,8 @@
|
|
|
|
|
|
let jsonStock = JSON.stringify(stockList);
|
|
|
let name = this.option.name ? this.option.name : ''
|
|
|
- sendItemStock({pdType:'',itemInfo:jsonStock,remark:name+'分配增加库存'}).then(res => {
|
|
|
+ let motherId = this.option.id ? this.option.id : 0
|
|
|
+ sendItemStock({pdType:'',itemInfo:jsonStock,motherId:motherId,remark:name+'分配库存'}).then(res => {
|
|
|
if(res.code == 1){
|
|
|
this.$msg(res.msg)
|
|
|
setTimeout(function(){
|