From 4c1e4aedd2099bd08526c2a51d7d9308627a01dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s?= Date: Fri, 25 Oct 2024 10:03:09 +0200 Subject: [PATCH] feat: refs #8087 Traspasar redadas a travels --- src/pages/Entry/Card/EntryBasicData.vue | 6 ++++++ src/pages/Entry/Card/EntryDescriptor.vue | 8 ++++++++ src/pages/Entry/EntryList.vue | 2 +- src/pages/Travel/TravelList.vue | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/pages/Entry/Card/EntryBasicData.vue b/src/pages/Entry/Card/EntryBasicData.vue index d60ed8645..b81b1db22 100644 --- a/src/pages/Entry/Card/EntryBasicData.vue +++ b/src/pages/Entry/Card/EntryBasicData.vue @@ -168,6 +168,12 @@ const onFilterTravelSelected = (formData, id) => { v-model="data.isExcludedFromAvailable" :label="t('entry.basicData.excludedFromAvailable')" /> + + diff --git a/src/pages/Entry/Card/EntryDescriptor.vue b/src/pages/Entry/Card/EntryDescriptor.vue index bbfc73138..d66185aa9 100644 --- a/src/pages/Entry/Card/EntryDescriptor.vue +++ b/src/pages/Entry/Card/EntryDescriptor.vue @@ -30,6 +30,14 @@ const entryFilter = { { relation: 'travel', scope: { + fields: [ + 'id', + 'landed', + 'shipped', + 'agencyModeFk', + 'warehouseOutFk', + 'daysInForward', + ], include: [ { relation: 'agency', diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index 518d72d82..e9179c239 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -43,7 +43,7 @@ const entryFilter = { const columns = computed(() => [ { name: 'status', - hidden: true, + columnFilter: false, }, { align: 'left', diff --git a/src/pages/Travel/TravelList.vue b/src/pages/Travel/TravelList.vue index 199746bb7..334640bff 100644 --- a/src/pages/Travel/TravelList.vue +++ b/src/pages/Travel/TravelList.vue @@ -47,7 +47,7 @@ const redirectCreateEntryView = (travelData) => { const columns = computed(() => [ { name: 'status', - hidden: true, + columnFilter: false, }, { align: 'left',