|
|
@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<view> |
|
|
|
<view style="padding-bottom: 160rpx;"> |
|
|
|
<view class="park-navbar"> |
|
|
|
<view class="park-navbar"> |
|
|
|
<u-navbar title="确认订单" :border-bottom="false" :background="background"></u-navbar> |
|
|
|
<u-navbar title="确认订单" :border-bottom="false" :background="background"></u-navbar> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -8,12 +8,23 @@ |
|
|
|
<!-- 订单状态 --> |
|
|
|
<!-- 订单状态 --> |
|
|
|
<view class="order-status"> |
|
|
|
<view class="order-status"> |
|
|
|
<view class="status"> |
|
|
|
<view class="status"> |
|
|
|
<image :src="$picUrl+'/static/news3/time.png'" mode="widthFix"></image> |
|
|
|
<!-- 待支付 --> |
|
|
|
|
|
|
|
<image src="/static/order/status/wait_pay.png" mode="widthFix" |
|
|
|
|
|
|
|
v-if="orderInfo.order_status == 10&&orderInfo.delivery_status==10"></image> |
|
|
|
|
|
|
|
<!-- 待发货 --> |
|
|
|
|
|
|
|
<image src="/static/order/status/wait_deliver.png" mode="widthFix" |
|
|
|
|
|
|
|
v-else-if="orderInfo.order_status == 10 &&orderInfo.delivery_status==30"></image> |
|
|
|
|
|
|
|
<!-- 待收货 --> |
|
|
|
|
|
|
|
<image src="/static/order/status/wait_receipt.png" mode="widthFix" |
|
|
|
|
|
|
|
v-else-if="orderInfo.order_status == 10 &&orderInfo.delivery_status==20 && orderInfo.receipt_status==10"> |
|
|
|
|
|
|
|
</image> |
|
|
|
|
|
|
|
<!-- 已 --> |
|
|
|
|
|
|
|
<image src="/static/order/status/received.png" mode="widthFix" v-else></image> |
|
|
|
<text>{{orderInfo.state_text}}</text> |
|
|
|
<text>{{orderInfo.state_text}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="reason" |
|
|
|
<view class="reason" |
|
|
|
v-if="(!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==10)||(!orderInfo.order_refund_id&&orderInfo.delivery_status==20&&orderInfo.order_status==10&&orderInfo.pay_status==20 && orderInfo.receipt_status==10)"> |
|
|
|
v-if="(orderInfo.time_text>0&&!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==10)||(orderInfo.time_text>0&&!orderInfo.order_refund_id&&orderInfo.delivery_status==20&&orderInfo.order_status==10&&orderInfo.pay_status==20 && orderInfo.receipt_status==10)"> |
|
|
|
<u-count-down :timestamp="timestamp"></u-count-down> |
|
|
|
<u-count-down :timestamp="orderInfo.time_text" :show-days="false"></u-count-down> |
|
|
|
<text style="color:#666666">后 |
|
|
|
<text style="color:#666666">后 |
|
|
|
<text |
|
|
|
<text |
|
|
|
v-if="!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==10">自动取消</text> |
|
|
|
v-if="!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==10">自动取消</text> |
|
|
@ -94,7 +105,7 @@ |
|
|
|
<text>联系客户</text> |
|
|
|
<text>联系客户</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="btnItem" style="border-left:1px solid #F4F4F4" |
|
|
|
<view class="btnItem" style="border-left:1px solid #F4F4F4" |
|
|
|
@click="callStore(order.storeInfo.phone)"> |
|
|
|
@click="callStore(order.storeInfo.store_phone)"> |
|
|
|
<image :src="$picUrl+'/static/news3/kefu.png'" mode="widthFix"></image> |
|
|
|
<image :src="$picUrl+'/static/news3/kefu.png'" mode="widthFix"></image> |
|
|
|
<text>联系商家</text> |
|
|
|
<text>联系商家</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -106,20 +117,19 @@ |
|
|
|
<view class="remarkTitle">售后信息</view> |
|
|
|
<view class="remarkTitle">售后信息</view> |
|
|
|
<view class="list"> |
|
|
|
<view class="list"> |
|
|
|
<view class="title">退货类型:</view> |
|
|
|
<view class="title">退货类型:</view> |
|
|
|
<view class="content">{{orderInfo.order_no}}</view> |
|
|
|
<view class="content">{{orderInfo.refund_type_text}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="list"> |
|
|
|
<view class="list"> |
|
|
|
<view class="title">申请原因:</view> |
|
|
|
<view class="title">申请原因:</view> |
|
|
|
<view class="content">{{orderInfo.apply_desc}}</view> |
|
|
|
<view class="content">{{orderInfo.apply_desc||'-'}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="list"> |
|
|
|
<view class="list" v-if="orderInfo.refuse_desc"> |
|
|
|
<view class="title">申请备注:</view> |
|
|
|
<view class="title">申请备注:</view> |
|
|
|
<view class="content">{{orderInfo.order_no}}</view> |
|
|
|
<view class="content">{{orderInfo.refuse_desc||'-'}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="remarkText">申请图片</view> |
|
|
|
<view class="remarkText" v-if="orderInfo.images.length>0">申请图片</view> |
|
|
|
<view class="img"> |
|
|
|
<view class="img" v-if="orderInfo.images.length>0"> |
|
|
|
<image :src="$picUrl+'/static/news3/filter.png'" mode=""></image> |
|
|
|
<image v-for="(item,index) in orderInfo.images" :src="item.image_url" mode=""></image> |
|
|
|
<image :src="$picUrl+'/static/news3/filter.png'" mode=""></image> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 订单信息 --> |
|
|
|
<!-- 订单信息 --> |
|
|
@ -160,7 +170,7 @@ |
|
|
|
<!-- 底部按钮 --> |
|
|
|
<!-- 底部按钮 --> |
|
|
|
<view class="footer-btn"> |
|
|
|
<view class="footer-btn"> |
|
|
|
<view class="del" |
|
|
|
<view class="del" |
|
|
|
v-show="(!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==10) || (!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==20&&orderInfo.delivery_status==30)" |
|
|
|
v-show="!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==20&&orderInfo.delivery_status==30" |
|
|
|
@click="goJump('/pages/news3/updateAddr',orderInfo,0)">修改地址</view> |
|
|
|
@click="goJump('/pages/news3/updateAddr',orderInfo,0)">修改地址</view> |
|
|
|
<view class="btn" |
|
|
|
<view class="btn" |
|
|
|
v-show="!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==10" |
|
|
|
v-show="!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==10" |
|
|
@ -181,13 +191,13 @@ |
|
|
|
<u-popup v-model=" afterSale" width="80%" border-radius="10" :closeable="true" mode="center"> |
|
|
|
<u-popup v-model=" afterSale" width="80%" border-radius="10" :closeable="true" mode="center"> |
|
|
|
<view class="afterSales"> |
|
|
|
<view class="afterSales"> |
|
|
|
<view class="filterTitle"> |
|
|
|
<view class="filterTitle"> |
|
|
|
{{audit_status==20?'拒绝':'同意'}} |
|
|
|
{{audit_status==20?'拒绝':'同意'}}转移至售后 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="filterItem c"> |
|
|
|
<view class="filterItem c"> |
|
|
|
<view class="itemTitle"> |
|
|
|
<!-- <view class="itemTitle"> |
|
|
|
上传照片 <text style="color:#FF5042">*</text><text>最多可传5张图片</text> |
|
|
|
上传照片 <text style="color:#FF5042">*</text><text>最多可传5张图片</text> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<u-upload :action="action" :header="header" @on-uploaded="refundSuccess" @on-remove="refundRemove" |
|
|
|
<!-- <u-upload :action="action" :header="header" @on-uploaded="refundSuccess" @on-remove="refundRemove" |
|
|
|
width="180" height="180" :file-list="transferList" :custom-btn="true" max-count="5"> |
|
|
|
width="180" height="180" :file-list="transferList" :custom-btn="true" max-count="5"> |
|
|
|
<template v-slot:addBtn> |
|
|
|
<template v-slot:addBtn> |
|
|
|
<view class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150"> |
|
|
|
<view class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150"> |
|
|
@ -195,7 +205,7 @@ |
|
|
|
<view class="1">上传图片</view> |
|
|
|
<view class="1">上传图片</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</u-upload> |
|
|
|
</u-upload> --> |
|
|
|
<view class="filterItemContent"> |
|
|
|
<view class="filterItemContent"> |
|
|
|
<view class="itemTitle"> |
|
|
|
<view class="itemTitle"> |
|
|
|
审核备注 |
|
|
|
审核备注 |
|
|
@ -339,14 +349,15 @@ |
|
|
|
page { |
|
|
|
page { |
|
|
|
background-color: #F7F8FA; |
|
|
|
background-color: #F7F8FA; |
|
|
|
min-height: 100%; |
|
|
|
min-height: 100%; |
|
|
|
padding-bottom: 140upx; |
|
|
|
padding-bottom: 140rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.orderInfo { |
|
|
|
.orderInfo { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
justify-content: space-between; |
|
|
|
margin-bottom: 10rpx; |
|
|
|
margin-bottom: 120rpx; |
|
|
|
|
|
|
|
|
|
|
|
text { |
|
|
|
text { |
|
|
|
font-size: 28upx; |
|
|
|
font-size: 28upx; |
|
|
|
color: #707070; |
|
|
|
color: #707070; |
|
|
@ -367,7 +378,7 @@ |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
z-index: 2; |
|
|
|
z-index: 2; |
|
|
|
margin: 0upx 26upx; |
|
|
|
margin: 0upx 26upx; |
|
|
|
padding-top: 30upx; |
|
|
|
padding-top: 20upx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.navBarContent { |
|
|
|
.navBarContent { |
|
|
@ -406,8 +417,8 @@ |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
image { |
|
|
|
width: 54upx; |
|
|
|
width: 89upx; |
|
|
|
height: auto; |
|
|
|
height: 89upx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
text { |
|
|
|
text { |
|
|
|