|
|
@ -119,7 +119,6 @@ |
|
|
<text v-if="orderDetail.status == 8">订单已退款</text> |
|
|
<text v-if="orderDetail.status == 8">订单已退款</text> |
|
|
<text v-if="orderDetail.status == 11">售后中</text> |
|
|
<text v-if="orderDetail.status == 11">售后中</text> |
|
|
<text v-if="orderDetail.status == 12">订单已售后</text> |
|
|
<text v-if="orderDetail.status == 12">订单已售后</text> |
|
|
<text v-if="orderDetail.status != 5 && orderDetail.status != 8 && orderDetail.status != 12 && orderDetail.returnStatus == 1">(商家拒绝退款)</text> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view class="status-fu" v-if="orderDetail.deliveryInfo"> |
|
|
<view class="status-fu" v-if="orderDetail.deliveryInfo"> |
|
|
<view class="">预计<text>{{orderDetail.deliveryInfo.mustFinishTime | formatHourMinute }}</text>送达</view> |
|
|
<view class="">预计<text>{{orderDetail.deliveryInfo.mustFinishTime | formatHourMinute }}</text>送达</view> |
|
|
@ -156,7 +155,7 @@ |
|
|
增加配送佣金 |
|
|
增加配送佣金 |
|
|
</view> |
|
|
</view> |
|
|
<view class="btn" style="width: 40%;" v-if="orderDetail.status == 2" @tap="goAssignWorker"> |
|
|
<view class="btn" style="width: 40%;" v-if="orderDetail.status == 2" @tap="goAssignWorker"> |
|
|
指派配送员 |
|
|
改派配送员 |
|
|
</view> |
|
|
</view> |
|
|
<!-- <view class="btn"> |
|
|
<!-- <view class="btn"> |
|
|
再来一单 |
|
|
再来一单 |
|
|
@ -235,7 +234,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
退款类型 |
|
|
退款/售后类型 |
|
|
</view> |
|
|
</view> |
|
|
<view style="color: #000;font-weight:700;"> |
|
|
<view style="color: #000;font-weight:700;"> |
|
|
{{item2.refundType == 1 ? '退商品' : item2.refundType == 2 ? '退配送费' : '全额退款' }} |
|
|
{{item2.refundType == 1 ? '退商品' : item2.refundType == 2 ? '退配送费' : '全额退款' }} |
|
|
@ -246,7 +245,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
退款状态 |
|
|
退款/售后状态 |
|
|
</view> |
|
|
</view> |
|
|
<view style="color: #000;font-weight:700;"> |
|
|
<view style="color: #000;font-weight:700;"> |
|
|
{{item2.status == 0 ? '处理退款中' : item2.status == 1 ? '同意退款' : item2.status == 2 ? '拒绝退款' : item2.status == 3 ? '处理售后中' : item2.status == 4 ? '同意售后' : '拒绝售后' }} |
|
|
{{item2.status == 0 ? '处理退款中' : item2.status == 1 ? '同意退款' : item2.status == 2 ? '拒绝退款' : item2.status == 3 ? '处理售后中' : item2.status == 4 ? '同意售后' : '拒绝售后' }} |
|
|
@ -266,7 +265,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="box1"> |
|
|
<view class="box1"> |
|
|
<view style="width: 100%;line-height: 70rpx;font-size: 28rpx;font-weight: 700;"> |
|
|
<view style="width: 100%;line-height: 70rpx;font-size: 28rpx;font-weight: 700;" v-if="orderDetail.shopName != null"> |
|
|
{{orderDetail.shopName}} |
|
|
{{orderDetail.shopName}} |
|
|
<img @tap="makeCall(orderDetail.shopPhone)" |
|
|
<img @tap="makeCall(orderDetail.shopPhone)" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/869a7af6a1c24bf3a0d523c4a18b55c6.png" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/869a7af6a1c24bf3a0d523c4a18b55c6.png" |
|
|
@ -334,14 +333,38 @@ |
|
|
|
|
|
|
|
|
<view class="box1"> |
|
|
<view class="box1"> |
|
|
<view> |
|
|
<view> |
|
|
<!-- <view style="height: 80rpx;line-height: 80rpx;display: flex;"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.otherOrder == 1"> |
|
|
|
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
|
|
|
取件地址 |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="color: #000;font-weight: 700;"> |
|
|
|
|
|
{{orderDetail.shopAddress}} |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.otherOrder == 1"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
收件地址 |
|
|
收件地址 |
|
|
</view> |
|
|
</view> |
|
|
<view style="color: #000;font-weight: 700;"> |
|
|
<view style="color: #000;font-weight: 700;"> |
|
|
北校区1号宿舍楼5楼512(0702) |
|
|
{{orderDetail.receiverAddress}} |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.otherOrder == 1"> |
|
|
|
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
|
|
|
件数 |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="color: #000;font-weight: 700;"> |
|
|
|
|
|
{{orderDetail.deliveryInfo.allCount}} |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.otherOrder == 1"> |
|
|
|
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
|
|
|
服务类型 |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="color: #000;font-weight: 700;"> |
|
|
|
|
|
快递/跑腿 |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> --> |
|
|
|
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.numberCode != null"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.numberCode != null"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
订单号 |
|
|
订单号 |
|
|
@ -380,7 +403,7 @@ |
|
|
{{orderDetail.deliveryInfo.acceptTime | formatTime}} |
|
|
{{orderDetail.deliveryInfo.acceptTime | formatTime}} |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.deliveryType == 1"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.deliveryType == 1 && orderDetail.otherOrder == null"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
商家出餐时间 |
|
|
商家出餐时间 |
|
|
</view> |
|
|
</view> |
|
|
@ -388,7 +411,7 @@ |
|
|
{{orderDetail.shopMakeTime ? orderDetail.shopMakeTime : '' | formatTime}} |
|
|
{{orderDetail.shopMakeTime ? orderDetail.shopMakeTime : '' | formatTime}} |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.deliveryInfo && orderDetail.deliveryType == 1 && orderDetail.deliveryInfo.workerId != ''"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="orderDetail.deliveryInfo && orderDetail.deliveryType == 1 && orderDetail.deliveryInfo.workerId != '' && orderDetail.otherOrder == null"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
配送员到店时间 |
|
|
配送员到店时间 |
|
|
</view> |
|
|
</view> |
|
|
@ -425,7 +448,7 @@ |
|
|
</uni-popup> |
|
|
</uni-popup> |
|
|
|
|
|
|
|
|
<uni-popup ref="returnPopup" background-color="#fff" style="height: 1600rpx !important;"> |
|
|
<uni-popup ref="returnPopup" background-color="#fff" style="height: 1600rpx !important;"> |
|
|
<view class="car-content" v-if="orderDetail.deliveryType == 1 && orderDetail.status != 10"> |
|
|
<view class="car-content" v-if="orderDetail.deliveryType == 1 && orderDetail.status != 10 && orderDetail.otherOrder != 1"> |
|
|
<view class="car-close"> |
|
|
<view class="car-close"> |
|
|
<uni-icons type="close" size="30" color="#fff"></uni-icons> |
|
|
<uni-icons type="close" size="30" color="#fff"></uni-icons> |
|
|
</view> |
|
|
</view> |
|
|
@ -450,10 +473,10 @@ |
|
|
<view class="guize-list"> |
|
|
<view class="guize-list"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;font-size: 36rpx;font-weight: 700;text-align: center;"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;font-size: 36rpx;font-weight: 700;text-align: center;"> |
|
|
确定要取消订单吗 |
|
|
确定要取消订单吗 |
|
|
<text v-if="((payData.orderType == 2 || payData.orderType == 3) && payData.status == 2) || ((payData.orderType == 2 || payData.orderType == 3) && payData.status == 3) || (payData.deliveryType == 1 && payData.status == 3) || payData.status == 4">取消订单需要商家同意</text> |
|
|
<text v-if="(((payData.orderType == 2 || payData.orderType == 3) && payData.status == 2) || ((payData.orderType == 2 || payData.orderType == 3) && payData.status == 3) || (payData.deliveryType == 1 && payData.status == 3) || payData.status == 4) && payData.otherOrder == null">取消订单需要商家同意</text> |
|
|
<view v-if="(payData.status == 3 && payData.deliveryType ==1) || payData.status == 4"> |
|
|
<view v-if="(payData.status == 3 && payData.deliveryType ==1) || payData.status == 4"> |
|
|
<text v-if="payData.shopMakeTime == null">商家还未出餐</text> |
|
|
<text v-if="payData.shopMakeTime == null && payData.otherOrder == null">商家还未出餐</text> |
|
|
<text v-else>本单商家备餐时长共计{{shopTime}} 配送员配送时长共计{{peisongTime}}</text> |
|
|
<text v-if="payData.shopMakeTime != null && payData.otherOrder == null">本单商家备餐时长共计{{shopTime}} 配送员配送时长共计{{peisongTime}}</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="btn" @tap="returnOrder()"> |
|
|
<view class="btn" @tap="returnOrder()"> |
|
|
@ -652,6 +675,11 @@ |
|
|
}, |
|
|
}, |
|
|
returnPopupProp(item){ |
|
|
returnPopupProp(item){ |
|
|
this.payData = item; |
|
|
this.payData = item; |
|
|
|
|
|
|
|
|
|
|
|
if(this.payData.otherOrder == 1){ |
|
|
|
|
|
this.refundType = 3 |
|
|
|
|
|
this.refundTypeStatus = 2 |
|
|
|
|
|
} |
|
|
if(this.payData.shopMakeTime != null){ |
|
|
if(this.payData.shopMakeTime != null){ |
|
|
const date1 = new Date(this.payData.deliveryInfo.acceptTime); |
|
|
const date1 = new Date(this.payData.deliveryInfo.acceptTime); |
|
|
const date2 = new Date(this.payData.shopMakeTime); |
|
|
const date2 = new Date(this.payData.shopMakeTime); |
|
|
|