|
|
|
|
@ -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 = {}; |
|
|
|
|
|