修复:审核判断错误 导致审核按钮不显示

This commit is contained in:
wuhui_zzw 2024-02-02 15:46:58 +08:00
parent 8b0e8418e4
commit aa9ac9c0d5
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@
<el-table-column label="申请时间" prop="create_time" min-width="150" align="center"/>
<el-table-column label="操作" min-width="280" fixed="right" align="center">
<template slot-scope="scope">
<template v-if="scope.row.status == 0 && scope.row.orderInfo && scope.row.orderInfo.status == 3">
<template v-if="scope.row.status == 0 && (!scope.row.orderInfo || scope.row.orderInfo.status == 3)">
<el-button type="success" size="small" @click="toExamine(scope.row.id, 1)">通过</el-button>
<el-button type="danger" size="small" @click="toExamine(scope.row.id, 2)">驳回</el-button>
</template>