fix:日志中物料显示问题修正
This commit is contained in:
parent
b6b92fc451
commit
23570fd84b
|
@ -504,17 +504,12 @@ export default {
|
||||||
}
|
}
|
||||||
that.mgroup = res.mgroup;
|
that.mgroup = res.mgroup;
|
||||||
that.paramsWm.mgroup = res.mgroup;
|
that.paramsWm.mgroup = res.mgroup;
|
||||||
|
that.paramsWm.search = that.batchContains;
|
||||||
that.materialIn = res.material_in;
|
that.materialIn = res.material_in;
|
||||||
that.deptId = res.belong_dept;
|
that.deptId = res.belong_dept;
|
||||||
|
that.apiObjWm = that.$API.wpm.wmaterial.list;
|
||||||
that.$API.wpm.mlogb.list.req(that.paramsOut).then((res) => {
|
that.$API.wpm.mlogb.list.req(that.paramsOut).then((res) => {
|
||||||
that.tableData2 = res;
|
that.tableData2 = res;
|
||||||
if(res.length>0){
|
|
||||||
res.forEach((item) => {
|
|
||||||
that.batchContains+= item.batch + " ";
|
|
||||||
})
|
|
||||||
that.paramsWm.search = that.batchContains;
|
|
||||||
that.apiObjWm = that.$API.wpm.wmaterial.list;
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue