设备异常资源处理逻辑调整

dev-scheduling
zhangdi 3 months ago
parent 8b3d4e0b5c
commit ac0c570ab3
  1. 13
      src/views/productionSchedulingPlan/schedulingException/index.vue

@ -18,7 +18,7 @@
>
<template #menu="scope">
<el-button
v-if="$route.path == '/productionSchedulingPlan/schedulingException/index'"
v-if="$route.path == '/productionSchedulingPlan/schedulingException/index'&&scope.row.errorInfo.indexOf('设备资源')>-1"
type="text"
size="mini"
@click="handleFn(scope.row)"
@ -125,7 +125,7 @@ export default {
prop: 'errorInfo',
search: false,
sortable: true,
width: 150,
width: 300,
span: 12,
},
// {
@ -288,7 +288,14 @@ export default {
},
methods: {
handleFn(row){
this.$router.push({path:'/productionSchedulingPlan/basic/equipmentCapacity'})
if(row.errorInfo.indexOf('设备资源')>-1){
this.$router.push({path:'/productionSchedulingPlan/basic/equipmentCapacity'})
}
if(row.errorInfo.indexOf('工序信息不完整')>-1){
this.$router.push({path:'/productionSchedulingPlan/basic/process'})
}
},
searchReset() {
this.query = {};

Loading…
Cancel
Save