feat: add Options Style in AddressList from TicketCrete #999

Merged
jsegarra merged 5 commits from hotfix_addressSelect_optionFormat into master 2024-11-26 14:09:47 +00:00
1 changed files with 14 additions and 1 deletions
Showing only changes of commit ac1153b14c - Show all commits

View File

@ -235,7 +235,20 @@ const getDateColor = (date) => {
v-model="data.clientFk"
:label="t('module.customer')"
@update:model-value="(id) => fetchClientAddress(id, data)"
/>
>
<template #option="scope">
<QItem v-bind="scope.itemProps">
<QItemSection>
<QItemLabel>
{{ scope.opt.name }}
</QItemLabel>
<QItemLabel caption>
{{ `#${scope.opt.id}` }}
</QItemLabel>
</QItemSection>
</QItem>
</template>
</VnSelect>
<VnSelect
v-model="data.addressId"
:options="addressesList"