|
|
@@ -43,7 +43,7 @@
|
|
|
<mescroll-uni class="list" :fixed="false" ref="mescrollRef" @up="getList" @init="mescrollInit" :use="false"
|
|
|
v-if="tabIndex ==0">
|
|
|
<view class="order_item" v-for="(item,index) in orderList" :key="item.id" @click="geDetail(item)">
|
|
|
- <view class="order_id">
|
|
|
+ <view class="order_id" v-if="item.stateCode && !item.refundType">
|
|
|
<view class="id_left">
|
|
|
订单编号:{{item.orderId}}
|
|
|
</view>
|
|
|
@@ -61,6 +61,26 @@
|
|
|
已使用
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="order_id" v-if="item.stateCode == 4 && item.refundType ">
|
|
|
+ <view class="id_left">
|
|
|
+ 订单编号:{{item.orderId}}
|
|
|
+ </view>
|
|
|
+ <view class="id_right" v-if="item.refundType ==0">
|
|
|
+ 未退款
|
|
|
+ </view>
|
|
|
+ <view class="id_right" v-if="item.refundType ==1">
|
|
|
+ 已退款
|
|
|
+ </view>
|
|
|
+ <view class="id_right" v-if="item.refundType ==2">
|
|
|
+ 退款中
|
|
|
+ </view>
|
|
|
+ <view class="id_right" v-if="item.refundType ==3">
|
|
|
+ 退款失败
|
|
|
+ </view>
|
|
|
+ <view class="id_right" v-if="item.refundType ==99">
|
|
|
+ 挂起
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<!-- 普通订单 -->
|
|
|
<view class="order_product" v-if="item.categoryId != 1945013773786701826">
|
|
|
<view class="img">
|
|
|
@@ -900,10 +920,12 @@
|
|
|
success: function(res) {
|
|
|
that.merchantId = res.data.merchantId
|
|
|
that.serviceList = []
|
|
|
+ that.orderList = []
|
|
|
let page = {
|
|
|
num: 1,
|
|
|
size: 10
|
|
|
}
|
|
|
+ that.getList(page)
|
|
|
that.getserviceList(page)
|
|
|
}
|
|
|
})
|