From 344ad0281f19638184a628ad6b575f4b5f288d90 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 29 Jan 2024 10:57:43 -0300 Subject: [PATCH] Improvements WIP --- src/pages/Travel/Card/TravelDescriptor.vue | 20 ++++++- src/pages/Travel/Card/TravelSummary.vue | 59 ++++++++++++++++++-- src/pages/Travel/Card/TravelThermographs.vue | 4 +- 3 files changed, 75 insertions(+), 8 deletions(-) diff --git a/src/pages/Travel/Card/TravelDescriptor.vue b/src/pages/Travel/Card/TravelDescriptor.vue index 6a45710ad..c696d9577 100644 --- a/src/pages/Travel/Card/TravelDescriptor.vue +++ b/src/pages/Travel/Card/TravelDescriptor.vue @@ -66,6 +66,22 @@ const setData = (entity) => { @on-fetch="setData" data-key="travelData" > + - + +es: + Go to module index: Ir al índice del módulo diff --git a/src/pages/Travel/Card/TravelSummary.vue b/src/pages/Travel/Card/TravelSummary.vue index b2380fe6b..d809f9142 100644 --- a/src/pages/Travel/Card/TravelSummary.vue +++ b/src/pages/Travel/Card/TravelSummary.vue @@ -62,25 +62,29 @@ const entriesTableColumns = computed(() => { label: t('travel.summary.confirmed'), field: 'isConfirmed', name: 'isConfirmed', - align: 'left', + align: 'center', + showValue: false, }, { label: t('travel.summary.entryId'), field: 'id', name: 'id', - align: 'left', + align: 'center', + showValue: false, }, { label: t('supplier.pageTitles.supplier'), field: 'supplierName', name: 'supplierName', align: 'left', + showValue: true, }, { label: t('globals.reference'), field: 'reference', name: 'reference', align: 'left', + showValue: true, }, { label: t('travel.summary.freight'), @@ -90,6 +94,7 @@ const entriesTableColumns = computed(() => { format: (val) => { return toCurrency(val); }, + showValue: true, }, { label: t('travel.summary.package'), @@ -99,16 +104,24 @@ const entriesTableColumns = computed(() => { format: (val) => { return toCurrency(val); }, + showValue: true, }, - { label: 'CC', field: 'cc', name: 'cc', align: 'left' }, - { label: 'Pallet', field: 'pallet', name: 'pallet', align: 'left' }, - { label: 'm³', field: 'm3', name: 'm3', align: 'left' }, + { label: 'CC', field: 'cc', name: 'cc', align: 'left', showValue: true }, + { + label: 'Pallet', + field: 'pallet', + name: 'pallet', + align: 'left', + showValue: true, + }, + { label: 'm³', field: 'm3', name: 'm3', align: 'left', showValue: true }, { label: '', field: 'observation', name: 'observation', align: 'left', toolTip: 'Observation three', + showValue: false, }, ]; }); @@ -212,7 +225,7 @@ const redirectToCreateView = (queryParams) => { row-key="id" class="full-width q-mt-md" > -