优化订单标签不生效的问题

This commit is contained in:
gyq
2025-12-20 16:55:12 +08:00
parent e8e474d971
commit 244396bfcd
4 changed files with 12 additions and 6 deletions

View File

@@ -31,7 +31,7 @@
<text class="t1">团单号{{ item.groupOrderNo }}</text> <text class="t1">团单号{{ item.groupOrderNo }}</text>
</view> </view>
<view class="status"> <view class="status">
<u-tag plain plainFill :type="statusFilter(item.status).type">{{ item.status }}</u-tag> <u-tag plain plainFill :type="statusFilter(item.status).type" :text="item.status"></u-tag>
</view> </view>
</view> </view>
<view class="user-info"> <view class="user-info">

View File

@@ -912,6 +912,12 @@ function getLocalGoods() {
} else { } else {
form.value.useShops = []; form.value.useShops = [];
} }
if (packageGoods.useTimes !== '') {
let times = packageGoods.useTimes.split('~');
startValue.value = times[0];
endValue.value = times[1];
}
} }
} }

View File

@@ -30,7 +30,7 @@
<text class="t1">订单号{{ item.orderNo }}</text> <text class="t1">订单号{{ item.orderNo }}</text>
</view> </view>
<view class="status"> <view class="status">
<u-tag plain plainFill :type="statusFilter(item.status).type">{{ statusFilter(item.status).label }}</u-tag> <u-tag plain plainFill :type="statusFilter(item.status).type" :text="statusFilter(item.status).label"></u-tag>
</view> </view>
</view> </view>
<view class="user-info"> <view class="user-info">
@@ -46,7 +46,7 @@
</view> </view>
<view class="price"> <view class="price">
<text class="t1">分享人数{{ item.shareNum || 0 }}</text> <text class="t1">分享人数{{ item.shareNum || 0 }}</text>
<text class="t2">最终支付{{ item.payAmount || 0 }}</text> <text class="t2">最终支付{{ item.finalPrice || 0 }}</text>
</view> </view>
</view> </view>
</view> </view>
@@ -146,7 +146,7 @@ const tabs = ref([
label: '已核销' label: '已核销'
}, },
{ {
value: 'refund', value: 'ref',
label: '退款' label: '退款'
} }
]); ]);

View File

@@ -41,11 +41,11 @@ const tabsActive = ref(0);
const tabs = ref([ const tabs = ref([
{ {
value: 1, value: 1,
label: '拼团活动' label: '套餐活动'
}, },
{ {
value: 2, value: 2,
label: '拼团订单' label: '套餐订单'
} }
]); ]);