0
0
Fork 0

refs #6897 fix filters

This commit is contained in:
Carlos Satorres 2024-07-01 10:48:58 +02:00
parent 9d1e7363ab
commit a6bb9af1a7
1 changed files with 13 additions and 0 deletions

View File

@ -114,8 +114,15 @@ const columns = computed(() => [
attrs: {
url: 'companies',
fields: ['id', 'code'],
optionLabel: 'code',
optionValue: 'id',
},
columnField: {
component: null,
},
create: true,
format: (row, dashIfEmpty) => dashIfEmpty(row.companyCode),
},
{
align: 'left',
@ -125,8 +132,14 @@ const columns = computed(() => [
attrs: {
url: 'travels',
fields: ['id', 'ref'],
optionLabel: 'ref',
optionValue: 'id',
},
columnField: {
component: null,
},
create: true,
format: (row, dashIfEmpty) => dashIfEmpty(row.travelRef),
},
{
align: 'left',