From 23570fd84bc3477d5707aa262a980c40f2dee64b Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 16 Jan 2025 11:01:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=97=A5=E5=BF=97=E4=B8=AD=E7=89=A9?= =?UTF-8?q?=E6=96=99=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_detail.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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; - } }) }); },