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) => {