refactor: refs #8277 update account type labels and filter fields in EntryControl.vue
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
304dc7db49
commit
ec19ecdc98
|
@ -171,7 +171,8 @@ const columns = computed(() => [
|
|||
component: 'select',
|
||||
name: 'accountType',
|
||||
options: entryAccounts.value,
|
||||
optionLabel: 'account',
|
||||
optionLabel: 'type',
|
||||
optionValue: 'code',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -200,23 +201,6 @@ const columns = computed(() => [
|
|||
component: 'checkbox',
|
||||
isEditable: false,
|
||||
},
|
||||
// {
|
||||
// name: 'travelFk',
|
||||
// label: t('entry.travelFk'),
|
||||
// },
|
||||
// {
|
||||
// name: 'agencyMode',
|
||||
// label: t('entry.agencyMode'),
|
||||
// format: (row) => row.agencyMode,
|
||||
// },
|
||||
// {
|
||||
// name: 'account',
|
||||
// label: t('globals.account'),
|
||||
// },
|
||||
// {
|
||||
// name: 'nickname',
|
||||
// label: t('globals.nickname'),
|
||||
// },
|
||||
]);
|
||||
|
||||
onBeforeMount(() => {
|
||||
|
@ -348,7 +332,7 @@ async function createInvoice(isAgricultural) {
|
|||
/>
|
||||
<FetchData
|
||||
url="EntryAccounts"
|
||||
:filter="{ fields: ['id', 'account'] }"
|
||||
:filter="{ fields: ['code', 'type'] }"
|
||||
@on-fetch="(data) => (entryAccounts = data)"
|
||||
auto-load
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue