fix: opl未提交前可编辑

This commit is contained in:
caoqianming 2023-04-05 18:36:43 +08:00
parent a6a0fcdc5a
commit 3bc21a1adc
1 changed files with 3 additions and 3 deletions

View File

@ -77,11 +77,11 @@
<el-table-column label="操作" fixed="right" width="100">
<template #default="scope">
<el-button link type="primary" size="small" @click="table_show(scope.row, scope.$index)">查看
</el-button>
<el-button v-if="operationObj.state === 10" link type="warning" size="small" v-auth="'opl.update'"
<el-button v-if="scope.row.ticket == null" link type="warning" size="small" v-auth="'opl.update'"
@click="table_edit(scope.row, scope.$index)">编辑
</el-button>
<el-button link type="primary" size="small" @click="table_show(scope.row, scope.$index)">查看
</el-button>
</template>
</el-table-column>
</scTable>