1. 若无可退款金额,则不显示退款按钮
This commit is contained in:
parent
8fa35952f9
commit
237f1e082e
|
|
@ -88,9 +88,8 @@
|
|||
<template slot="opSlot" slot-scope="{record}"> <!-- 操作列插槽 -->
|
||||
<JeepayTableColumns>
|
||||
<a-button type="link" v-if="$access('ENT_PAY_ORDER_VIEW')" @click="detailFunc(record.payOrderId)">详情</a-button>
|
||||
<a-button type="link" v-if="$access('ENT_PAY_ORDER_REFUND')" style="color: red" v-show="(record.state === 2)" @click="openFunc(record, record.payOrderId)">退款</a-button>
|
||||
<!-- 占位用按钮,判断条件为 record.state !== 2 -->
|
||||
<a-button type="link" v-show="(record.state !== 2)" style="width:60px"></a-button>
|
||||
|
||||
<a-button type="link" v-if="$access('ENT_PAY_ORDER_REFUND')" style="color: red" v-show="(record.state === 2 && record.refundState !== 2)" @click="openFunc(record, record.payOrderId)">退款</a-button>
|
||||
</JeepayTableColumns>
|
||||
</template>
|
||||
</JeepayTable>
|
||||
|
|
|
|||
Loading…
Reference in New Issue