diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index a27ba00a..ee5da236 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -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; - } }) }); },