fix:交接批物料时修改
This commit is contained in:
parent
c4b28f8d5e
commit
9399fd3b17
|
@ -689,15 +689,24 @@ export default {
|
|||
obj.batch = item.batch;
|
||||
obj.count_cando = item.count;
|
||||
obj.count = item.count;
|
||||
obj.handoverbw = [];
|
||||
that.$API.wpm.wpr.list.req({wm:item.id}).then((res) => {
|
||||
let handoverbw = [];
|
||||
let list = res.results;
|
||||
list.forEach(item1=>{
|
||||
let obj1 = {};
|
||||
obj1.wpr = item1.id;
|
||||
obj1.number = item1.number;
|
||||
handoverbw.push(obj1);
|
||||
})
|
||||
obj.handoverbw = handoverbw;
|
||||
that.form.handoverb.push(obj);
|
||||
// console.log('4',that.form);
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
//根据扫描内容,获取物料详情匹配当前库存物料
|
||||
// this.scanVisible = false;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue