feat:售后展示问题

This commit is contained in:
2026-08-08 13:27:18 +08:00
parent 85f2e94c1c
commit 1415846b0b
4 changed files with 74 additions and 12 deletions
+7 -1
View File
@@ -153,7 +153,13 @@
};
// 申请售后
const applyAfterSale = () => {
sheep.$router.go('/pages/order/aftersale/apply', props.data);
const source = String(props?.data?.__source || props?.data?.source || '').trim();
sheep.$router.go('/pages/order/aftersale/apply', {
...props.data,
id: props?.data?.id,
orderId: props?.data?.id,
...(source ? { source } : {}),
});
};
// 确认收货
const confirmReceive = () => {
+9 -1
View File
@@ -117,7 +117,10 @@
<text class="delay-record-line__count">x{{ getDelayRecordCount(record) }}</text>
</view>
</view>
<view class="btn flex-row ju-flex-end" v-if="props.type == 2">
<view
class="btn flex-row ju-flex-end"
v-if="props.type == 2 && !props.hideItemAfterSale"
>
<button
class="ss-reset-button btnItem btnItem1"
v-if="
@@ -129,6 +132,7 @@
sheep.$router.go('/pages/order/aftersale/apply', {
orderId: props.data.id,
itemId: v.id,
source: String(props.source || props.data?.__source || props.data?.source || '').trim(),
})
"
>
@@ -198,6 +202,10 @@
return [];
},
},
hideItemAfterSale: {
type: Boolean,
default: false,
},
});
const isAiStoreOrder = computed(() =>