7729-devToTest_2430 #554

Merged
alexm merged 401 commits from 7729-devToTest_2430 into test 2024-07-16 07:17:04 +00:00
1 changed files with 13 additions and 0 deletions
Showing only changes of commit a6bb9af1a7 - Show all commits

View File

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