1. 没有退款按钮,则添加占位符,使详情按钮左对齐

This commit is contained in:
ssyang1993 2021-07-01 09:30:37 +08:00
parent 4498d52cc0
commit 84619cc27f
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@
<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>
</JeepayTableColumns>
</template>
</JeepayTable>