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
+7 -4
View File
@@ -76,12 +76,13 @@
<view class="copy" @click.stop="onCopy">
<image :src="`${$url}goods/copy2.svg`" mode="scaleToFill" />
</view>
<truckLine
<!-- 订单编号后不再展示物流 icon -->
<!-- <truckLine
:data="state.orderInfo"
:code="Number(isAiStoreOrder ? 2 : 1)"
v-if="state.orderInfo.deliveryTime"
@openExpress="handleTruckLineExpress"
></truckLine>
></truckLine> -->
</view>
<view class="notice-item flex-row ju-between">
<text class="title c0">下单时间</text>
@@ -564,7 +565,8 @@
});
return;
}
if (isAiStoreOrder.value && !isPickUpOrder.value) {
const orderType = Number(state.orderInfo?.type ?? state.orderType ?? 0);
if (orderType !== 0 && isAiStoreOrder.value && !isPickUpOrder.value) {
expressListPopupRef.value?.open?.();
return;
}
@@ -580,7 +582,8 @@
});
return;
}
if (!isPickUpOrder.value) {
const orderType = Number(state.orderInfo?.type ?? state.orderType ?? 0);
if (orderType !== 0 && !isPickUpOrder.value) {
expressListPopupRef.value?.open?.();
return;
}