forked from verdnatura/salix-front
fix: CustommerSummaryTable Proxy
This commit is contained in:
parent
452b084caf
commit
b481876e81
|
@ -15,6 +15,7 @@ import InvoiceOutDescriptorProxy from 'pages/InvoiceOut/Card/InvoiceOutDescripto
|
||||||
// import FetchData from 'components/FetchData.vue';
|
// import FetchData from 'components/FetchData.vue';
|
||||||
import RouteDescriptorProxy from 'src/pages/Route/Card/RouteDescriptorProxy.vue';
|
import RouteDescriptorProxy from 'src/pages/Route/Card/RouteDescriptorProxy.vue';
|
||||||
import VnTable from 'src/components/VnTable/VnTable.vue';
|
import VnTable from 'src/components/VnTable/VnTable.vue';
|
||||||
|
import CustomerDescriptorProxy from '../Card/CustomerDescriptorProxy.vue';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
@ -141,31 +142,28 @@ const setShippedColor = (date) => {
|
||||||
<VnTable
|
<VnTable
|
||||||
data-key="CustomerTickets"
|
data-key="CustomerTickets"
|
||||||
:filter="filter"
|
:filter="filter"
|
||||||
|
:right-search="false"
|
||||||
|
:column-search="false"
|
||||||
url="Tickets"
|
url="Tickets"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
search-url="tickets"
|
search-url="tickets"
|
||||||
:without-header="true"
|
:without-header="true"
|
||||||
auto-load
|
auto-load
|
||||||
order="shipped DESC, id"
|
order="shipped DESC, id"
|
||||||
|
:disable-option="{ card: true, table: true }"
|
||||||
limit="5"
|
limit="5"
|
||||||
>
|
>
|
||||||
<template #column-nickname="{ row }">
|
<template #column-nickname="{ row }">
|
||||||
<span class="link">
|
<span class="link">
|
||||||
{{ row.nickname }}
|
{{ row.nickname }}
|
||||||
<TicketDescriptorProxy :id="row.nickname" />
|
<CustomerDescriptorProxy :id="row.clientFk" />
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
<template #column-ticketFk="{ row }">
|
|
||||||
<span class="link">
|
|
||||||
{{ row.ticketFk }}
|
|
||||||
<TicketDescriptorProxy :id="row.ticketFk" />
|
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #column-routeFk="{ row }">
|
<template #column-routeFk="{ row }">
|
||||||
<span class="link">
|
<span class="link">
|
||||||
{{ row.routeFk }}
|
{{ row.routeFk }}
|
||||||
<RouteDescriptorProxy :id="row.ticketFk" />
|
<RouteDescriptorProxy :id="row.routeFk" />
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template #column-total="{ row }">
|
<template #column-total="{ row }">
|
||||||
|
|
Loading…
Reference in New Issue