feat: refs #8602 add sorting options for select fields and update locale files with supplier name
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
5f20ff4df0
commit
6b8bba77af
|
@ -85,6 +85,7 @@ onMounted(() => {
|
|||
:options="companiesOptions"
|
||||
option-value="id"
|
||||
option-label="code"
|
||||
sort-by="code"
|
||||
map-options
|
||||
hide-selected
|
||||
:required="true"
|
||||
|
@ -103,6 +104,7 @@ onMounted(() => {
|
|||
:options="currenciesOptions"
|
||||
option-value="id"
|
||||
option-label="code"
|
||||
sort-by="code"
|
||||
/>
|
||||
</VnRow>
|
||||
<VnRow class="q-py-sm">
|
||||
|
@ -122,6 +124,14 @@ onMounted(() => {
|
|||
:decimal-places="2"
|
||||
:positive="false"
|
||||
/>
|
||||
<VnSelect
|
||||
v-model="data.typeFk"
|
||||
url="entryTypes"
|
||||
:fields="['code', 'description']"
|
||||
option-value="code"
|
||||
optionLabel="description"
|
||||
sortBy="description"
|
||||
/>
|
||||
</VnRow>
|
||||
<VnRow class="q-py-sm">
|
||||
<QInput
|
||||
|
|
|
@ -183,7 +183,6 @@ const columns = [
|
|||
},
|
||||
},
|
||||
{
|
||||
align: 'right',
|
||||
labelAbbreviation: 'GM',
|
||||
label: t('Grouping selector'),
|
||||
toolTip: t('Grouping selector'),
|
||||
|
@ -211,7 +210,6 @@ const columns = [
|
|||
},
|
||||
},
|
||||
{
|
||||
align: 'center',
|
||||
labelAbbreviation: 'G',
|
||||
label: 'Grouping',
|
||||
toolTip: 'Grouping',
|
||||
|
@ -644,7 +642,7 @@ onMounted(() => {
|
|||
:is-editable="editableMode"
|
||||
:without-header="!editableMode"
|
||||
:with-filters="editableMode"
|
||||
:right-search="editableMode"
|
||||
:right-search="false"
|
||||
:row-click="false"
|
||||
:columns="columns"
|
||||
:beforeSaveFn="beforeSave"
|
||||
|
|
|
@ -200,7 +200,7 @@ const columns = computed(() => [
|
|||
fields: ['code', 'description'],
|
||||
optionValue: 'code',
|
||||
optionLabel: 'description',
|
||||
sortBy: 'description ASC',
|
||||
sortBy: 'description',
|
||||
},
|
||||
width: '65px',
|
||||
format: (row, dashIfEmpty) => dashIfEmpty(row.entryTypeDescription),
|
||||
|
|
|
@ -113,6 +113,7 @@ entry:
|
|||
daysAgo: Days ago
|
||||
toShipped: T. shipped
|
||||
fromShipped: F. shipped
|
||||
supplierName: Supplier
|
||||
search: Search entries
|
||||
searchInfo: You can search by entry reference
|
||||
descriptorMenu:
|
||||
|
|
|
@ -116,6 +116,7 @@ entry:
|
|||
daysAgo: Días atras
|
||||
toShipped: F. salida(hasta)
|
||||
fromShipped: F. salida(desde)
|
||||
supplierName: Proveedor
|
||||
entryFilter:
|
||||
params:
|
||||
isExcludedFromAvailable: Excluido
|
||||
|
|
Loading…
Reference in New Issue