fix:玻纤库存入库

This commit is contained in:
shijing 2025-03-24 16:56:47 +08:00
parent b0b5c49e93
commit 75e9b6c296
1 changed files with 3 additions and 0 deletions

View File

@ -375,12 +375,15 @@ export default {
let that = this;
that.wbatchOptions.forEach((item) => {
if (item.batch == val) {
that.form.wm = item.id;
that.form.material = item.material;
that.form.count = item.count;
this.isSaveing = true;
this.form.mioitemw = [];
that.$API.wpm.wpr.list.req({wm: item.id,page:0}).then((res) => {
res.forEach((itemwpr) => {
let obj={};
obj.wpr = itemwpr.id;
obj.number = itemwpr.number;
this.form.mioitemw.push(obj)
})