refs #6768 summary redirect

This commit is contained in:
Carlos Satorres 2024-02-28 10:28:11 +01:00
parent 3316aa02ff
commit 65fcfbff91
2 changed files with 11 additions and 1 deletions

View File

@ -59,6 +59,11 @@ const detailsColumns = ref([
<div class="q-pa-md"> <div class="q-pa-md">
<CardSummary ref="summary" :url="`Orders/${entityId}/summary`"> <CardSummary ref="summary" :url="`Orders/${entityId}/summary`">
<template #header-left>
<a class="header link" :href="`#/orders/${entityId}/summary`">
<QIcon name="open_in_new" color="white" size="sm" />
</a>
</template>
<template #header="{ entity }"> <template #header="{ entity }">
{{ t('order.summary.basket') }} #{{ entity?.id }} - {{ t('order.summary.basket') }} #{{ entity?.id }} -
{{ entity?.client?.name }} ({{ entity?.clientFk }}) {{ entity?.client?.name }} ({{ entity?.clientFk }})

View File

@ -6,7 +6,7 @@ import { useStateStore } from 'stores/useStateStore';
import CardSummary from 'components/ui/CardSummary.vue'; import CardSummary from 'components/ui/CardSummary.vue';
import VnLv from 'components/ui/VnLv.vue'; import VnLv from 'components/ui/VnLv.vue';
import ShelvingFilter from 'pages/Shelving/Card/ShelvingFilter.vue'; import ShelvingFilter from 'pages/Shelving/Card/ShelvingFilter.vue';
import VnUserLink from "components/ui/VnUserLink.vue"; import VnUserLink from 'components/ui/VnUserLink.vue';
const $props = defineProps({ const $props = defineProps({
id: { id: {
@ -65,6 +65,11 @@ const filter = {
</template> </template>
<div class="q-pa-md"> <div class="q-pa-md">
<CardSummary ref="summary" :url="`Shelvings/${entityId}`" :filter="filter"> <CardSummary ref="summary" :url="`Shelvings/${entityId}`" :filter="filter">
<template #header-left>
<a class="header link" :href="`#/shelving/${entityId}/summary`">
<QIcon name="open_in_new" color="white" size="sm" />
</a>
</template>
<template #header="{ entity }"> <template #header="{ entity }">
<div>{{ entity.code }}</div> <div>{{ entity.code }}</div>
</template> </template>