fix:日志中物料显示问题修正

This commit is contained in:
shijing 2025-01-16 11:01:49 +08:00
parent b6b92fc451
commit 23570fd84b
1 changed files with 2 additions and 7 deletions

View File

@ -504,17 +504,12 @@ export default {
}
that.mgroup = res.mgroup;
that.paramsWm.mgroup = res.mgroup;
that.paramsWm.search = that.batchContains;
that.materialIn = res.material_in;
that.deptId = res.belong_dept;
that.apiObjWm = that.$API.wpm.wmaterial.list;
that.$API.wpm.mlogb.list.req(that.paramsOut).then((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;
}
})
});
},