|
|
|
@ -33,9 +33,12 @@ |
|
|
|
<text class="status-name color-base-text" v-if="orderStatusName"> |
|
|
|
{{ orderStatusName }} |
|
|
|
</text> |
|
|
|
<text class="status-name color-base-text" v-else> |
|
|
|
{{ orderItem.order_status_name }} |
|
|
|
<text class="status-name color-base-text" v-else-if="orderItem.order_status_name == `待审核` && orderItem.pay.pay_status == 0"> |
|
|
|
待支付 |
|
|
|
</text> |
|
|
|
<text class="status-name color-base-text" v-else> |
|
|
|
{{ orderItem.order_status_name }} |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
<view class="order-body" @click="orderDetail(orderItem)"> |
|
|
|
<view class="goods-wrap" v-for="(goodsItem, goodsIndex) in orderItem.order_goods" |
|
|
|
@ -365,13 +368,13 @@ |
|
|
|
if (this.orderStatus == '') this.mergePayOrder = []; |
|
|
|
this.orderStatus = this.statusList[index].status; |
|
|
|
|
|
|
|
let _findRes = this.findStatusItem(this.statusList, this.orderStatus); |
|
|
|
//如果tab的索引=all(全部),那么就展示订单原有的状态名称,否则展示当前tab的名称 |
|
|
|
if (this.orderStatus == 'all'){ |
|
|
|
this.orderStatusName = ''//当前订单卡片的状态名称 |
|
|
|
}else{ |
|
|
|
this.orderStatusName = _findRes.name//当前订单卡片的状态名称 |
|
|
|
} |
|
|
|
// let _findRes = this.findStatusItem(this.statusList, this.orderStatus); |
|
|
|
// 如果tab的索引=all(全部),那么就展示订单原有的状态名称,否则展示当前tab的名称 |
|
|
|
// if (this.orderStatus == 'all'){ |
|
|
|
// this.orderStatusName = ''//当前订单卡片的状态名称 |
|
|
|
// }else{ |
|
|
|
// this.orderStatusName = _findRes.name//当前订单卡片的状态名称 |
|
|
|
// } |
|
|
|
|
|
|
|
this.$refs.loadingCover.show(); |
|
|
|
this.$refs.mescroll.refresh(); |
|
|
|
|