0
0
Fork 0

feat: refs #8087 Traspasar redadas a travels

This commit is contained in:
Carlos Andrés 2024-10-25 10:03:09 +02:00
parent 12c236276d
commit 4c1e4aedd2
4 changed files with 16 additions and 2 deletions

View File

@ -168,6 +168,12 @@ const onFilterTravelSelected = (formData, id) => {
v-model="data.isExcludedFromAvailable" v-model="data.isExcludedFromAvailable"
:label="t('entry.basicData.excludedFromAvailable')" :label="t('entry.basicData.excludedFromAvailable')"
/> />
<QCheckbox v-model="data.isRaid" :label="t('entry.basicData.raid')" />
<QCheckbox
v-if="isAdministrative()"
v-model="data.isBooked"
:label="t('entry.basicData.booked')"
/>
</VnRow> </VnRow>
</template> </template>
</FormModel> </FormModel>

View File

@ -30,6 +30,14 @@ const entryFilter = {
{ {
relation: 'travel', relation: 'travel',
scope: { scope: {
fields: [
'id',
'landed',
'shipped',
'agencyModeFk',
'warehouseOutFk',
'daysInForward',
],
include: [ include: [
{ {
relation: 'agency', relation: 'agency',

View File

@ -43,7 +43,7 @@ const entryFilter = {
const columns = computed(() => [ const columns = computed(() => [
{ {
name: 'status', name: 'status',
hidden: true, columnFilter: false,
}, },
{ {
align: 'left', align: 'left',

View File

@ -47,7 +47,7 @@ const redirectCreateEntryView = (travelData) => {
const columns = computed(() => [ const columns = computed(() => [
{ {
name: 'status', name: 'status',
hidden: true, columnFilter: false,
}, },
{ {
align: 'left', align: 'left',