|
@@ -43,20 +43,27 @@
|
|
<view class="price">{{item.goodsAmount | priceFilter2}}</view>
|
|
<view class="price">{{item.goodsAmount | priceFilter2}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="total">订单总金额<text>{{item.price | priceFilter2}}</text></view>
|
|
|
|
|
|
+ <view class="info">
|
|
|
|
+ <view class="row">
|
|
|
|
+ <view class="label">订单编号</view>
|
|
|
|
+ <view class="value">{{item.orderId}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="row">
|
|
|
|
+ <view class="label">订单金额</view>
|
|
|
|
+ <view class="value price">{{item.price | priceFilter2}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
<view class="bottom">
|
|
<view class="bottom">
|
|
<view class="left-location"><text class="iconfont icon-dingwei"></text>{{item.city}} {{item.area}}</view>
|
|
<view class="left-location"><text class="iconfont icon-dingwei"></text>{{item.city}} {{item.area}}</view>
|
|
<view class="right-btn" @tap.stop>
|
|
<view class="right-btn" @tap.stop>
|
|
|
|
|
|
|
|
+ <u-button text="联系卖家" shape="circle" @tap="toContact(item.goodsId)"></u-button>
|
|
|
|
+
|
|
<block v-if="item.status == 'WAIT'">
|
|
<block v-if="item.status == 'WAIT'">
|
|
<u-button text="取消订单" shape="circle" @click="cancelOrder(item.orderId)"></u-button>
|
|
<u-button text="取消订单" shape="circle" @click="cancelOrder(item.orderId)"></u-button>
|
|
<u-button text="去支付" shape="circle" type="primary" plain @tap="toPay(item.goodsId, item.orderId)"></u-button>
|
|
<u-button text="去支付" shape="circle" type="primary" plain @tap="toPay(item.goodsId, item.orderId)"></u-button>
|
|
</block>
|
|
</block>
|
|
|
|
|
|
- <block v-if="item.status == 'WAIT_SEND'">
|
|
|
|
- <u-button text="联系卖家" shape="circle" @tap="toContact(item.goodsId)"></u-button>
|
|
|
|
- </block>
|
|
|
|
-
|
|
|
|
<block v-if="~['SEND', 'COMPLETE'].indexOf(item.status)">
|
|
<block v-if="~['SEND', 'COMPLETE'].indexOf(item.status)">
|
|
<u-button text="查看物流" shape="circle" @tap="toLogistics(item.logisticsNum)"></u-button>
|
|
<u-button text="查看物流" shape="circle" @tap="toLogistics(item.logisticsNum)"></u-button>
|
|
</block>
|
|
</block>
|
|
@@ -68,7 +75,7 @@
|
|
<block v-if="item.status == 'COMPLETE'">
|
|
<block v-if="item.status == 'COMPLETE'">
|
|
<u-button text="申请售后" shape="circle" @tap="toReturn(item.orderId)"></u-button>
|
|
<u-button text="申请售后" shape="circle" @tap="toReturn(item.orderId)"></u-button>
|
|
</block>
|
|
</block>
|
|
-
|
|
|
|
|
|
+
|
|
<block v-if="~['AFTER_WAIT', 'REFUND', 'NO_REFUND'].indexOf(item.status)">
|
|
<block v-if="~['AFTER_WAIT', 'REFUND', 'NO_REFUND'].indexOf(item.status)">
|
|
<u-button text="售后详情" shape="circle" @tap="toReturn(item.orderId)"></u-button>
|
|
<u-button text="售后详情" shape="circle" @tap="toReturn(item.orderId)"></u-button>
|
|
</block>
|
|
</block>
|
|
@@ -207,7 +214,7 @@
|
|
})
|
|
})
|
|
}).catch(() => {})
|
|
}).catch(() => {})
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
// 确认收货
|
|
// 确认收货
|
|
confirmReceipt(orderId) {
|
|
confirmReceipt(orderId) {
|
|
this.$modal({
|
|
this.$modal({
|