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

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"> <template #menu="scope">
<el-button <el-button
v-if="$route.path == '/productionSchedulingPlan/schedulingException/index'" v-if="$route.path == '/productionSchedulingPlan/schedulingException/index'&&scope.row.errorInfo.indexOf('设备资源')>-1"
type="text" type="text"
size="mini" size="mini"
@click="handleFn(scope.row)" @click="handleFn(scope.row)"
@ -125,7 +125,7 @@ export default {
prop: 'errorInfo', prop: 'errorInfo',
search: false, search: false,
sortable: true, sortable: true,
width: 150, width: 300,
span: 12, span: 12,
}, },
// { // {
@ -288,7 +288,14 @@ export default {
}, },
methods: { methods: {
handleFn(row){ 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() { searchReset() {
this.query = {}; this.query = {};

Loading…
Cancel
Save