|
|
|
@ -64,7 +64,7 @@ |
|
|
|
|
|
|
|
|
|
<!-- 快递配送:门店自提 --> |
|
|
|
|
<view v-if="order.delivery_type == DeliveryTypeEnum.EXTRACT.value" class="delivery-extract i-card" |
|
|
|
|
@click="handleTargetExtract(order.extract_shop.shop_id)"> |
|
|
|
|
@click="handleTargetExtract(order.address.address_id)"> |
|
|
|
|
<view class="extract-top"> |
|
|
|
|
<text class="title">自提门店</text> |
|
|
|
|
<text class="subtitle">您须到该自提点取货</text> |
|
|
|
@ -75,13 +75,13 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="shop-content"> |
|
|
|
|
<view class="shop-name"> |
|
|
|
|
<text>{{ order.extract_shop.shop_name }}</text> |
|
|
|
|
<text>{{ order.address.name }}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="shop-describe"> |
|
|
|
|
<text class="item-text">{{ order.extract_shop.region.province }}</text> |
|
|
|
|
<text class="item-text">{{ order.extract_shop.region.city }}</text> |
|
|
|
|
<text class="item-text">{{ order.extract_shop.region.region }}</text> |
|
|
|
|
<text class="item-text">{{ order.extract_shop.address }}</text> |
|
|
|
|
<text class="item-text">{{ order.address.region.province }}</text> |
|
|
|
|
<text class="item-text">{{ order.address.region.city }}</text> |
|
|
|
|
<text class="item-text">{{ order.address.region.region }}</text> |
|
|
|
|
<text class="item-text">{{ order.address.address }}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="icon-arrow"> |
|
|
|
@ -266,7 +266,7 @@ |
|
|
|
|
</block> |
|
|
|
|
<!-- 确认收货 --> |
|
|
|
|
<block |
|
|
|
|
v-if="order.delivery_status == DeliveryStatusEnum.DELIVERED.value && order.receipt_status == ReceiptStatusEnum.NOT_RECEIVED.value"> |
|
|
|
|
v-if="!isRefund&&order.delivery_status == DeliveryStatusEnum.DELIVERED.value && order.receipt_status == ReceiptStatusEnum.NOT_RECEIVED.value"> |
|
|
|
|
<view class="btn-item active" @click="onReceipt(order.order_id)">确认收货</view> |
|
|
|
|
</block> |
|
|
|
|
<!-- 订单评价 --> |
|
|
|
@ -361,6 +361,7 @@ |
|
|
|
|
qrcodeImage: '', |
|
|
|
|
// 控制onShow事件是否刷新订单信息 |
|
|
|
|
canReset: false, |
|
|
|
|
isRefund:false, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -404,6 +405,14 @@ |
|
|
|
|
} |
|
|
|
|
app.setting = result.data.setting |
|
|
|
|
app.isLoading = false |
|
|
|
|
let arr = result.data.order.goods.filter(item=>{ |
|
|
|
|
return item.refund |
|
|
|
|
}) |
|
|
|
|
if(arr.length==0){ |
|
|
|
|
this.isRefund = false |
|
|
|
|
}else{ |
|
|
|
|
this.isRefund = true |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
// 相应全局事件订阅: 刷新上级页面数据 |
|
|
|
|
canReset && uni.$emit('syncRefresh', true, true) |
|
|
|
|