diff --git a/src/views/wpm_gx/index.vue b/src/views/wpm_gx/index.vue index 9b652b2d..b87eb83c 100644 --- a/src/views/wpm_gx/index.vue +++ b/src/views/wpm_gx/index.vue @@ -140,7 +140,7 @@ export default { that.mgroupMtype = res[0].mtype; that.processtype = res[0].process_type; that.mgroupDept = res[0].belong_dept; - if(that.mgroupName=='黑化'){ + if(that.mgroupName=='黑化'||that.mgroupName=='退火'){ that.options.push("检验记录") } that.componentsShow = true; diff --git a/src/views/wpm_gx/inmOut.vue b/src/views/wpm_gx/inmOut.vue index 6a5d109b..87f02638 100644 --- a/src/views/wpm_gx/inmOut.vue +++ b/src/views/wpm_gx/inmOut.vue @@ -114,14 +114,14 @@ @click="table_Check(scope.row)" v-auth="'ftestwork.create'" type="primary" - v-if="scope.row.mgroup_name == '黑化'&&scope.row.state == 10" + v-if="(scope.row.mgroup_name == '黑化'||scope.row.mgroup_name == '退火')&&(scope.row.state == 10||scope.row.state == 20||scope.row.state == 34)" >检验 检验记录 物料标签