fix:交接批物料时修改

This commit is contained in:
shijing 2025-01-22 16:33:18 +08:00
parent c4b28f8d5e
commit 9399fd3b17
1 changed files with 13 additions and 4 deletions

View File

@ -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;
},
},
};