团购订单显示退款中的状态
This commit is contained in:
@ -16,6 +16,7 @@
|
|||||||
<text class="text-[#4C9F44]" v-if="order.status === GroupComboOrderStatus.ToUse">待使用</text>
|
<text class="text-[#4C9F44]" v-if="order.status === GroupComboOrderStatus.ToUse">待使用</text>
|
||||||
<text class="text-[#606266]" v-if="order.status === GroupComboOrderStatus.Used">已使用</text>
|
<text class="text-[#606266]" v-if="order.status === GroupComboOrderStatus.Used">已使用</text>
|
||||||
<text class="text-[#C9C9C9]" v-if="order.status === GroupComboOrderStatus.Refunded">已退款</text>
|
<text class="text-[#C9C9C9]" v-if="order.status === GroupComboOrderStatus.Refunded">已退款</text>
|
||||||
|
<text class="text-[#C9C9C9]" v-if="order.status === GroupComboOrderStatus.Refunded">已退款</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="mt-22rpx">
|
<view class="mt-22rpx">
|
||||||
@ -39,16 +40,16 @@
|
|||||||
<view class="text-center flex items-center text-28rpx mt-28rpx justify-end" v-if="order.status === GroupComboOrderStatus.ToUse">
|
<view class="text-center flex items-center text-28rpx mt-28rpx justify-end" v-if="order.status === GroupComboOrderStatus.ToUse">
|
||||||
<view
|
<view
|
||||||
@click="ComboCard.handleOrderRefund(order, OrderSource.Combo)"
|
@click="ComboCard.handleOrderRefund(order, OrderSource.Combo)"
|
||||||
class="w-178rpx h-70rpx leading-70rpx rounded-8rpx border-[2rpx] border-[#9CA3AF] text-[#303133]">
|
class="w-178rpx h-70rpx leading-70rpx rounded-8rpx border-[2rpx] border-[#9CA3AF] text-[#303133]"
|
||||||
<!-- :class="order.operation_type === StoreType.Direct ? ' mr-28rpx' : ''"> -->
|
:class="order.operation_type === StoreType.Direct ? ' mr-28rpx' : ''">
|
||||||
申请退款
|
申请退款
|
||||||
</view>
|
</view>
|
||||||
<!-- <view
|
<view
|
||||||
@click="ComboCard.handleUsePackage"
|
@click="ComboCard.handleUsePackage(order.store_id, order.operation_type)"
|
||||||
class="w-178rpx h-70rpx leading-70rpx rounded-8rpx border-[2rpx] border-[#4C9F44] text-[#4C9F44]"
|
class="w-178rpx h-70rpx leading-70rpx rounded-8rpx border-[2rpx] border-[#4C9F44] text-[#4C9F44]"
|
||||||
v-if="order.operation_type === StoreType.Direct">
|
v-if="order.operation_type === StoreType.Direct">
|
||||||
立即预定
|
立即预定
|
||||||
</view> -->
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -311,8 +312,9 @@
|
|||||||
/**
|
/**
|
||||||
* 使用套餐
|
* 使用套餐
|
||||||
*/
|
*/
|
||||||
handleUsePackage: () => {
|
handleUsePackage: (store_id: number, operation_type: number) => {
|
||||||
router.navigateTo(`/bundle/tea-room/choose-room?groupCouponId=${props.order.group_id}&groupCouponOrderId=${props.order.id}&teaRoomId=${props.order.store_id}`)
|
router.navigateTo(`/bundle/tea-room/room?id=${store_id}&type=${operation_type}`)
|
||||||
|
// router.navigateTo(`/bundle/tea-room/choose-room?groupCouponId=${props.order.group_id}&groupCouponOrderId=${props.order.id}&teaRoomId=${props.order.store_id}`)
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user