|
@@ -2,7 +2,8 @@
|
|
|
<view class="order-detail-page">
|
|
<view class="order-detail-page">
|
|
|
<!-- 顶部状态栏 -->
|
|
<!-- 顶部状态栏 -->
|
|
|
<view class="status-header">
|
|
<view class="status-header">
|
|
|
- <view class="status-text">{{ statusText }}</view>
|
|
|
|
|
|
|
+ <view class="status-text" v-if="orderInfo.refundStatus == 3">已申请退款</view>
|
|
|
|
|
+ <view class="status-text" v-else>{{ statusText }}</view>
|
|
|
<view class="status-desc" v-if="orderInfo.status == '2'">
|
|
<view class="status-desc" v-if="orderInfo.status == '2'">
|
|
|
订单编号:{{ orderInfo.orderId }}
|
|
订单编号:{{ orderInfo.orderId }}
|
|
|
<image src="/pages-mine/static/copy.png" class="copy-icon" @click="copyOrderNo" mode="aspectFit">
|
|
<image src="/pages-mine/static/copy.png" class="copy-icon" @click="copyOrderNo" mode="aspectFit">
|
|
@@ -45,7 +46,7 @@
|
|
|
|
|
|
|
|
<!-- 物流信息 -->
|
|
<!-- 物流信息 -->
|
|
|
<view class="info-card express-card"
|
|
<view class="info-card express-card"
|
|
|
- v-if="['3', '4', '8', '12', '10'].includes(String(orderInfo.status)) && orderInfo.waybillCode"
|
|
|
|
|
|
|
+ v-if="['3', '4', '5'].includes(String(orderInfo.status)) && orderInfo.waybillCode"
|
|
|
@click.stop="viewLogistics">
|
|
@click.stop="viewLogistics">
|
|
|
<view class="icon-box">
|
|
<view class="icon-box">
|
|
|
<u-icon name="car" color="#38C148" size="48"></u-icon>
|
|
<u-icon name="car" color="#38C148" size="48"></u-icon>
|
|
@@ -91,7 +92,7 @@
|
|
|
<view class="row">
|
|
<view class="row">
|
|
|
<text>商品金额</text>
|
|
<text>商品金额</text>
|
|
|
<text class="goods-total">¥{{ (orderInfo.totalMoney - (orderInfo.expressMoney || 0)).toFixed(2)
|
|
<text class="goods-total">¥{{ (orderInfo.totalMoney - (orderInfo.expressMoney || 0)).toFixed(2)
|
|
|
- }}</text>
|
|
|
|
|
|
|
+ }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<template v-if="orderInfo.discountList && orderInfo.discountList.length > 0">
|
|
<template v-if="orderInfo.discountList && orderInfo.discountList.length > 0">
|
|
|
<view class="row" v-for="(discount, index) in orderInfo.discountList" :key="'discount_' + index">
|
|
<view class="row" v-for="(discount, index) in orderInfo.discountList" :key="'discount_' + index">
|
|
@@ -199,8 +200,6 @@ export default {
|
|
|
'3': '已发货',
|
|
'3': '已发货',
|
|
|
'4': '交易完成',
|
|
'4': '交易完成',
|
|
|
'5': '已取消',
|
|
'5': '已取消',
|
|
|
- '6': '退款中',
|
|
|
|
|
- '7': '交易关闭'
|
|
|
|
|
};
|
|
};
|
|
|
return map[String(this.orderInfo.status)] || '未知状态';
|
|
return map[String(this.orderInfo.status)] || '未知状态';
|
|
|
},
|
|
},
|