fix:玻纤库存入库
This commit is contained in:
parent
b0b5c49e93
commit
75e9b6c296
|
|
@ -375,12 +375,15 @@ export default {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.wbatchOptions.forEach((item) => {
|
that.wbatchOptions.forEach((item) => {
|
||||||
if (item.batch == val) {
|
if (item.batch == val) {
|
||||||
|
that.form.wm = item.id;
|
||||||
that.form.material = item.material;
|
that.form.material = item.material;
|
||||||
that.form.count = item.count;
|
that.form.count = item.count;
|
||||||
this.isSaveing = true;
|
this.isSaveing = true;
|
||||||
|
this.form.mioitemw = [];
|
||||||
that.$API.wpm.wpr.list.req({wm: item.id,page:0}).then((res) => {
|
that.$API.wpm.wpr.list.req({wm: item.id,page:0}).then((res) => {
|
||||||
res.forEach((itemwpr) => {
|
res.forEach((itemwpr) => {
|
||||||
let obj={};
|
let obj={};
|
||||||
|
obj.wpr = itemwpr.id;
|
||||||
obj.number = itemwpr.number;
|
obj.number = itemwpr.number;
|
||||||
this.form.mioitemw.push(obj)
|
this.form.mioitemw.push(obj)
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue