forked from verdnatura/salix-front
refactor: refs #7353 clients correction wip
This commit is contained in:
parent
ef1ba2ea4f
commit
7a34309ec6
|
@ -56,7 +56,7 @@ const columns = computed(() => [
|
||||||
field: 'dated',
|
field: 'dated',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
columnFilter: false,
|
columnFilter: false,
|
||||||
format: (row) => toDateFormat(row.dated),
|
format: (row) => toDateFormat(row.dated, 'es-ES', { year: '2-digit' }),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('salesClientsTable.hour'),
|
label: t('salesClientsTable.hour'),
|
||||||
|
@ -126,8 +126,8 @@ const columns = computed(() => [
|
||||||
>
|
>
|
||||||
<template #top-left>
|
<template #top-left>
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<VnInputDate v-model="from" label="From" dense style="flex: 0.4" />
|
<VnInputDate v-model="from" :label="$t('globals.from')" dense />
|
||||||
<VnInputDate v-model="to" label="To" dense style="flex: 0.4" />
|
<VnInputDate v-model="to" :label="$t('globals.to')" dense />
|
||||||
</VnRow>
|
</VnRow>
|
||||||
</template>
|
</template>
|
||||||
<template #column-salesPersonFk="{ row }">
|
<template #column-salesPersonFk="{ row }">
|
||||||
|
@ -144,3 +144,8 @@ const columns = computed(() => [
|
||||||
</template>
|
</template>
|
||||||
</VnTable>
|
</VnTable>
|
||||||
</template>
|
</template>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.full-width .vn-row > * {
|
||||||
|
flex: 0.4;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue