diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index d24715e52..997d58f37 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -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',