refs #7366 fix url
This commit is contained in:
parent
5799a1121b
commit
a39c827579
|
@ -222,6 +222,8 @@ async function setTravelData(travelData) {
|
|||
console.error(`Error setting travel data`, err);
|
||||
}
|
||||
}
|
||||
|
||||
const getLink = (param) => `#/travel/${entityId.value}/${param}`;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -255,6 +257,12 @@ async function setTravelData(travelData) {
|
|||
|
||||
<template #body>
|
||||
<QCard class="vn-one">
|
||||
<QCardSection class="q-pa-none">
|
||||
<VnTitle
|
||||
:url="getLink('basic-data')"
|
||||
:text="t('travel.pageTitles.basicData')"
|
||||
/>
|
||||
</QCardSection>
|
||||
<VnLv :label="t('globals.shipped')" :value="toDate(travel.shipped)" />
|
||||
<VnLv
|
||||
:label="t('globals.wareHouseOut')"
|
||||
|
@ -267,6 +275,12 @@ async function setTravelData(travelData) {
|
|||
/>
|
||||
</QCard>
|
||||
<QCard class="vn-one">
|
||||
<QCardSection class="q-pa-none">
|
||||
<VnTitle
|
||||
:url="getLink('basic-data')"
|
||||
:text="t('travel.pageTitles.basicData')"
|
||||
/>
|
||||
</QCardSection>
|
||||
<VnLv :label="t('globals.landed')" :value="toDate(travel.landed)" />
|
||||
<VnLv
|
||||
:label="t('globals.wareHouseIn')"
|
||||
|
@ -279,6 +293,12 @@ async function setTravelData(travelData) {
|
|||
/>
|
||||
</QCard>
|
||||
<QCard class="vn-one">
|
||||
<QCardSection class="q-pa-none">
|
||||
<VnTitle
|
||||
:url="getLink('basic-data')"
|
||||
:text="t('travel.pageTitles.basicData')"
|
||||
/>
|
||||
</QCardSection>
|
||||
<VnLv :label="t('globals.agency')" :value="travel.agency?.name" />
|
||||
<VnLv :label="t('globals.reference')" :value="travel.ref" />
|
||||
<VnLv label="m³" :value="travel.m3" />
|
||||
|
@ -301,12 +321,18 @@ async function setTravelData(travelData) {
|
|||
</template>
|
||||
<template #body-cell-isConfirmed="{ col, value }">
|
||||
<QTd>
|
||||
{{ entity }}
|
||||
<QIcon
|
||||
v-if="col.name === 'isConfirmed'"
|
||||
:name="value ? 'check' : 'close'"
|
||||
:color="value ? 'positive' : 'negative'"
|
||||
size="sm"
|
||||
/>
|
||||
<!-- <QCheckbox
|
||||
v-if="col.name === 'isConfirmed'"
|
||||
:label="t('travel.summary.received')"
|
||||
v-model="travel.isConfirmed"
|
||||
:disable="true"
|
||||
/> -->
|
||||
</QTd>
|
||||
</template>
|
||||
<template #body-cell-id="{ col, value }">
|
||||
|
|
Loading…
Reference in New Issue