feat: 普通商品售后订单隐藏、查看物流展示
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user