|
|
@@ -279,22 +279,22 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
@click="processImg(scope.row.processId)"
|
|
|
- v-if="scope.row.applyStatus != 0"
|
|
|
+ v-if="scope.row.applyStatus != 0 && (scope.row.saiType=='SAI' || (scope.row.saiType=='TPM' && scope.row.tpmStatus == '未完成'))"
|
|
|
>{{ $t('流程图') }}</el-button>
|
|
|
- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="handleUpdate(scope.row)"
|
|
|
- v-hasPermi="['production:eoegapply:edit']"
|
|
|
- >修改</el-button>
|
|
|
- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-delete"
|
|
|
- @click="handleDelete(scope.row)"
|
|
|
- v-hasPermi="['production:eoegapply:remove']"
|
|
|
- >删除</el-button>
|
|
|
+ <!--<el-button-->
|
|
|
+ <!--size="mini"-->
|
|
|
+ <!--type="text"-->
|
|
|
+ <!--icon="el-icon-edit"-->
|
|
|
+ <!--@click="handleUpdate(scope.row)"-->
|
|
|
+ <!--v-hasPermi="['production:eoegapply:edit']"-->
|
|
|
+ <!-->修改</el-button>-->
|
|
|
+ <!--<el-button-->
|
|
|
+ <!--size="mini"-->
|
|
|
+ <!--type="text"-->
|
|
|
+ <!--icon="el-icon-delete"-->
|
|
|
+ <!--@click="handleDelete(scope.row)"-->
|
|
|
+ <!--v-hasPermi="['production:eoegapply:remove']"-->
|
|
|
+ <!-->删除</el-button>-->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -1111,6 +1111,12 @@ export default {
|
|
|
category: [
|
|
|
{ required: true, message: this.$t('SAI类别') + this.$t('不能为空'), trigger: "change" }
|
|
|
],
|
|
|
+ executor: [
|
|
|
+ { required: true, message: this.$t('整改负责人') + this.$t('不能为空'), trigger: "change" }
|
|
|
+ ],
|
|
|
+ saiType: [
|
|
|
+ { required: true, message: this.$t('TPM状态') + this.$t('不能为空'), trigger: "change" }
|
|
|
+ ],
|
|
|
},
|
|
|
// 申请状态字典
|
|
|
applyStatusOptions: [],
|