|
@@ -50,7 +50,7 @@
|
|
|
<el-table-column prop="approveStatus" label="状态">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.status == '待还款'">{{scope.row.status}}</span>
|
|
|
- <span v-else>{{scope.row.approveStatus}}</span>
|
|
|
+ <span v-else>{{scope.row.approveStatus?scope.row.approveStatus:scope.row.status}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="address" label="操作" width="300">
|
|
@@ -63,8 +63,8 @@
|
|
|
审批</el-button>
|
|
|
<el-button v-hasPermission=" `tradeServicesManagement.tradeService.return`" size="mini" @click="repaymentBtnClick(scope.row, 2)" v-if="scope.row.status == '待还款'">
|
|
|
还款</el-button>
|
|
|
- <el-button v-hasPermission=" `tradeServicesManagement.tradeService.edit`" size="mini" @click="rowEditBtnClick(scope.row)" v-if="scope.row.status=='已驳回'">修改</el-button>
|
|
|
- <el-button v-hasPermission=" `tradeServicesManagement.tradeService.delete`" size="mini" type="danger" @click="rowDeleteBtnClick(scope.row)" v-if="scope.row.status=='已驳回'">删除</el-button>
|
|
|
+ <el-button v-hasPermission=" `tradeServicesManagement.tradeService.edit`" size="mini" @click="rowEditBtnClick(scope.row)" v-if="!scope.row.approveStatus&&scope.row.status=='已驳回'">修改</el-button>
|
|
|
+ <el-button v-hasPermission=" `tradeServicesManagement.tradeService.delete`" size="mini" type="danger" @click="rowDeleteBtnClick(scope.row)" v-if="!scope.row.approveStatus&&scope.row.status=='已驳回'">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|