| | |
| | | @click="waitPay(order)" |
| | | >立即付款</view |
| | | > |
| | | <!-- 新增:优惠券卡包按钮 --> |
| | | <view |
| | | ripple |
| | | shape="circle" |
| | | class="cancel-btn" |
| | | size="mini" |
| | | v-if="order.couponFlag === 'COUPON'&& order.orderStatus ==='COMPLETED'" |
| | | @click="openCouponPackage(order)" |
| | | > |
| | | 优惠券卡包 |
| | | </view> |
| | | <!-- 取消订单 --> |
| | | <view |
| | | <!-- <view |
| | | ripple |
| | | class="cancel-btn" |
| | | shape="circle" |
| | |
| | | @click="onCancel(order.sn)" |
| | | > |
| | | 取消订单 |
| | | </view> |
| | | </view> --> |
| | | <!-- 等待收货 --> |
| | | <view |
| | | ripple |
| | |
| | | shape="circle" |
| | | class="cancel-btn" |
| | | size="mini" |
| | | v-if="order.groupAfterSaleStatus && ( order.groupAfterSaleStatus.includes('NOT_APPLIED') || order.groupAfterSaleStatus.includes('PART_AFTER_SALE'))" |
| | | v-if="order.groupAfterSaleStatus && |
| | | ( order.groupAfterSaleStatus.includes('NOT_APPLIED') |
| | | || order.groupAfterSaleStatus.includes('PART_AFTER_SALE')||order.orderStatus === 'UNDELIVERED')" |
| | | @click="applyService(order)" |
| | | > |
| | | 退款/售后 |
| | |
| | | shape="circle" |
| | | class="cancel-btn" |
| | | size="mini" |
| | | v-if="order.orderStatus === 'COMPLETED' " |
| | | v-if="order.orderStatus === 'COMPLETED'" |
| | | @click="buyBack(order)" |
| | | > |
| | | 再来一单 |
| | |
| | | }, |
| | | }, |
| | | methods: { |
| | | openCouponPackage(order){ |
| | | console.log(order) |
| | | uni.navigateTo({ |
| | | url:"/pages/order/cardPack?sn=" + order.sn |
| | | }) |
| | | }, |
| | | //再来一单 |
| | | buyBack(order){ |
| | | console.log(JSON.stringify(order)) |