From ca6b14c2fdf085c30e8307e26ba16d6b0d9bbcf6 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 21 Jan 2026 16:50:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A6=85=E9=81=93279?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_detail.vue | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index f9450d48..0f797921 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -44,6 +44,14 @@ fit="fill" /> + + {{ lastProcessName }} + —> + {{ currentProcessName }} + —> + {{ nextProcessName }} + +
{ let params_json = routeRes.params_json; + that.currentProcessName = routeRes.process_name; + that.getroutepack(routeRes.material_in,routeRes.material_out,routeRes.routepack); if(params_json.fileurl){ let fileurl = JSON.parse(params_json.fileurl); that.imageUrl = fileurl[0].path; @@ -646,6 +659,21 @@ export default { } }); }, + getroutepack(inId,outId,routepack){ + let that = this; + that.$API.mtm.route.list.req({routepack:routepack,page:0}).then(res=>{ + res.forEach(item=>{ + //上一道工序 + if(item.material_out==inId){ + that.lastProcessName = item.process_name; + } + //下一道工序 + if(item.material_in==outId){ + that.nextProcessName = item.process_name; + } + }) + }) + }, getEquipment(){ let that = this; that.$API.em.equipment.list.req({page:0,belong_dept:that.dept}).then((res) => {