feat: 普通商品售后订单隐藏、查看物流展示

This commit is contained in:
2026-08-10 13:37:06 +08:00
parent 50c4a7168f
commit 9c1e42fe48
4 changed files with 24 additions and 6 deletions
@@ -11,6 +11,7 @@
<view v-for="(item, index) in btns" :key="index">
<view
v-if="
item.id !== 3 &&
item.value.split(',').indexOf(String(props?.data?.status)) !== -1 &&
!(item.id === 3 && Number(props?.data?.type) === 5) &&
!(item.id === 3 && props?.data?.payChannelCode === 'cash_payment') &&
@@ -114,6 +115,9 @@
uni.showToast({ title: '该订单已全部退款,无需再次申请售后', icon: 'none' });
return;
}
if (index === 3) {
return;
}
let id = props.data?.id;
switch (index) {
case 1:
+2 -1
View File
@@ -501,7 +501,8 @@
});
return;
}
if (isAiStoreOrder.value && !isPickUpOrder.value) {
const orderType = Number(props.data?.type ?? 0);
if (orderType !== 0 && isAiStoreOrder.value && !isPickUpOrder.value) {
expressListPopupRef.value?.open?.();
return;
}