|
@@ -61,7 +61,7 @@
|
|
|
<view v-if="item.refundStatus == 3" class='font_color'>已退款</view>
|
|
|
<template v-else>
|
|
|
<view v-if="item.groupBuyRecordStatus==99||item.status==9||item.groupBuyRecordStatus==10 || orderType =='secondHand'"
|
|
|
- class='font_color'>{{item.status | orderStatusFilterv2}}</view>
|
|
|
+ class='font_color'>{{getStatusText(item.status)}}</view>
|
|
|
<view v-else class='font_color'>{{item.groupBuyRecordStatus===0?'拼团中':'拼团失败'}}</view>
|
|
|
</template>
|
|
|
</view>
|
|
@@ -242,6 +242,7 @@
|
|
|
import animationType from '@/utils/animationType.js';
|
|
|
import easyLoadimage from '@/components/base/easy-loadimage.vue';
|
|
|
import orderPay from "@/mixins/OrderPay.js";
|
|
|
+ import {orderStatusFilterv2, orderStatusFilterv3} from "@/filters/commFilter.js";
|
|
|
const app = getApp();
|
|
|
export default {
|
|
|
mixins: [orderPay],
|
|
@@ -311,6 +312,11 @@
|
|
|
if (options.orderType) this.orderType = options.orderType
|
|
|
},
|
|
|
methods: {
|
|
|
+ getStatusText(status) {
|
|
|
+ return this.orderType === 'secondHand'
|
|
|
+ ? orderStatusFilterv3(status)
|
|
|
+ : orderStatusFilterv2(status);
|
|
|
+ },
|
|
|
/**
|
|
|
* 分享打开
|
|
|
*
|