Commit 8239710b authored by chenzj's avatar chenzj

工单补数按钮加权限

parent a0049b2c
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
</el-button> </el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleMake" <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single || combination" @click="handleMake"
v-hasPermi="['mes:pro:workorder:make']">生产补单 v-hasPermi="['mes:pro:workorder:make']">生产补单
</el-button> </el-button>
</el-col> </el-col>
...@@ -655,6 +655,7 @@ export default { ...@@ -655,6 +655,7 @@ export default {
}, },
}, },
combinationDisable: false, combinationDisable: false,
combination: false,
combinationCodes: [], combinationCodes: [],
arrangeOpen: false, arrangeOpen: false,
enablePrint: false, enablePrint: false,
...@@ -1170,6 +1171,9 @@ export default { ...@@ -1170,6 +1171,9 @@ export default {
if (['complements', 'prototype'].indexOf(item.workorderType) > -1) { if (['complements', 'prototype'].indexOf(item.workorderType) > -1) {
this.combinationDisable = true this.combinationDisable = true
} }
if (['reback', 'prototype'].indexOf(item.workorderType) > -1) {
this.combination = true
}
}) })
}, },
// // 多选框选中数据 // // 多选框选中数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment