Fix(订单详情):[#4026]订单详情显示具体领取记录情况
This commit is contained in:
@@ -165,8 +165,22 @@
|
||||
v-if="order.merName">联系商家
|
||||
</view>
|
||||
<view class="v12-align-center">
|
||||
<button v-if="Number(order.status) !== 0 && order.giftCardInfo.giftCardStatus !== 9 && getGiftTips(order.giftCardInfo) && order.giftCardInfo.giftCardStatus !== 2 && order.giftCardInfo.giftNum !== order.giftCardInfo.receiveNum" open-type="share" @click="shareGift(order)" class="gift-btn service v12-primary-text v12-primary-border" >送给朋友</button>
|
||||
<button v-if="Number(order.status) === 0 " @click="subscribePay(order)" class="gift-btn service v12-primary-text v12-primary-border" >立即支付</button>
|
||||
<button
|
||||
v-if="Number(order.status) !== 0 &&
|
||||
order.giftCardInfo.giftCardStatus !== 9 &&
|
||||
getGiftTips(order.giftCardInfo) &&
|
||||
order.giftCardInfo.giftCardStatus !== 2 &&
|
||||
order.giftCardInfo.giftNum !== order.giftCardInfo.receiveNum
|
||||
"
|
||||
open-type="share"
|
||||
class="gift-btn service v12-primary-text v12-primary-border"
|
||||
@click="shareGift(order)"
|
||||
>送给朋友</button>
|
||||
<button
|
||||
v-if="Number(order.status) === 0"
|
||||
class="gift-btn service v12-primary-text v12-primary-border"
|
||||
@click="subscribePay(order)"
|
||||
>立即支付</button>
|
||||
<!-- 查看详情 -->
|
||||
<view class="bnt service v12-primary-text v12-primary-border" @click="goOrderDetails(order)">查看详情</view>
|
||||
</view>
|
||||
@@ -470,9 +484,9 @@ export default {
|
||||
path: "/pages/order/OrderDetails/index",
|
||||
query: {
|
||||
id: order.orderId,
|
||||
isGift: order.isGiftCardSend ? 1 : '',
|
||||
isGift: order.isGiftCardSend ? 1 : ''
|
||||
}
|
||||
});
|
||||
})
|
||||
},
|
||||
setOfflinePayStatus: function (status) {
|
||||
let that = this;
|
||||
|
||||
Reference in New Issue
Block a user