Răsfoiți Sursa

分配库存

shish 3 ani în urmă
părinte
comite
d93b832787
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      ghsApp/src/admin/item/sendStock.vue

+ 2 - 1
ghsApp/src/admin/item/sendStock.vue

@@ -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(){