fix:修复订单字段错误

This commit is contained in:
wangsongsole 2022-10-18 14:15:00 +08:00
parent 16016b9248
commit aa1d27f591
1 changed files with 14 additions and 9 deletions

View File

@ -50,15 +50,20 @@
<p class="money">实付金额:¥<span>{{item.pay_amount}}</span></p>
<!-- 立即领取 -->
<p class="button" @click="immediatelyPay(item)" v-if="item.status==6">立即支付</p>
<template v-if="item.type==2">
<!-- 立减金待领取 -->
<p class="button" @click="receiveFn(item)" v-if="item.status==0&&item.type==2">去兑换</p>
<p class="button" @click="receiveFn(item)" v-if="item.status==0">去兑换</p>
<!-- 立减金领取过期 -->
<p class="button filter" @click="receiveFn(item)" v-if="item.status==5&&item.type==2">去兑换</p>
<p class="button filter" @click="receiveFn(item)" v-if="item.status==5">去兑换
</p>
</template>
<template v-if="item.type==1">
<!-- 查看卡密 -->
<p class="button-card" @click="lookCard(item)" v-if="item.status==2&&item.type==1">查看卡密</p>
<p class="button-card" @click="lookCard(item)" v-if="item.status==2">查看卡密</p>
<!-- 款项状态 -->
<p class="pay_status" v-if="[2,3].includes(item.pay_type)&&item.status==3&&item.type==1">
<p class="pay_status" v-if="[2,3].includes(item.pay_status)&&item.status==3">
{{item.pay_type==2?'已支付':'已退款'}}</p>
</template>
</div>
</div>
<!-- 空状态 -->