소스 검색

分配库存

shish 3 년 전
부모
커밋
d93b832787
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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 jsonStock = JSON.stringify(stockList);
 							let name = this.option.name ? this.option.name : ''
 							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){
 								if(res.code == 1){
 									this.$msg(res.msg)
 									this.$msg(res.msg)
 									setTimeout(function(){
 									setTimeout(function(){