diff --git a/app/components/CalcResultContent.vue b/app/components/CalcResultContent.vue index fe2e185..74860cd 100644 --- a/app/components/CalcResultContent.vue +++ b/app/components/CalcResultContent.vue @@ -180,11 +180,7 @@ const getKycProfileUuid = (offerUuid?: string | null) => { // Navigate to offer detail page const navigateToOffer = (offerUuid?: string | null) => { if (!offerUuid) return - const offer = offersData.value.get(offerUuid) - if (!offer?.teamUuid || !productUuid.value || !destinationUuid.value) return - - // Navigate to /catalog/suppliers/[supplierId]/[productId]/[hubId] - navigateTo(localePath(`/catalog/suppliers/${offer.teamUuid}/${productUuid.value}/${destinationUuid.value}`)) + navigateTo(localePath(`/catalog/offers/${offerUuid}`)) } // Load offer details for prices diff --git a/app/pages/catalog/offers/[offerId].vue b/app/pages/catalog/offers/[offerId].vue new file mode 100644 index 0000000..f24cbfc --- /dev/null +++ b/app/pages/catalog/offers/[offerId].vue @@ -0,0 +1,176 @@ + + + + + + + + Загрузка оффера... + + + + + + Оффер не найден + + + + + + + + + + + {{ offer.productName || 'Товар' }} + {{ offer.locationName }} + + + {{ priceDisplay }} + + + + + + + Доступно: {{ offer.quantity }} {{ offer.unit || 'т' }} + + + + + + + + + + + + + + + + + Поставщик + + + + + + + + + + {{ supplier.name }} + {{ supplier.country }} + + Верифицирован + + + + + + + + + + + + + Связаться с поставщиком + + + + Назад к результатам + + + + + + + + +