|
@@ -90,7 +90,7 @@
|
|
|
<el-table-column label="支付成功的外部订单号" align="center" prop="payOrderChannelOrderNo" />
|
|
|
<el-table-column label="退款状态" align="center" prop="refundStatus">
|
|
|
<template #default="scope">
|
|
|
- <dict-tag v-if="scope.row.payStatus" :type="DICT_TYPE.PAY_REFUND_STATUS" :value="scope.row.refundStatus" />
|
|
|
+ <dict-tag v-if="scope.row.payStatus && scope.row.refundStatus !== 0" :type="DICT_TYPE.PAY_REFUND_STATUS" :value="scope.row.refundStatus" />
|
|
|
<span v-else></span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -103,7 +103,7 @@
|
|
|
/>
|
|
|
<el-table-column label="操作" align="center">
|
|
|
<template #default="scope">
|
|
|
- <el-button v-hasPermi="['pay:currency-recharge:update']" v-if="scope.row.payStatus && !scope.row.payRefundId" link type="danger" @click="handleRefund(scope.row)">发起退款</el-button>
|
|
|
+ <el-button v-if="scope.row.payStatus && !scope.row.refundStatus" link type="danger" @click="handleRefund(scope.row)">发起退款</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|