0
0
Fork 0

feat: refs #7353 salesPerson nickname & id

This commit is contained in:
Jorge Penadés 2024-08-29 16:51:55 +02:00
parent 956230d708
commit 6062c2d845
1 changed files with 13 additions and 2 deletions

View File

@ -111,8 +111,19 @@ const handleScopeDays = (params, days, callback) => {
:params="{ departmentCodes: ['VT'] }" :params="{ departmentCodes: ['VT'] }"
is-outlined is-outlined
option-value="code" option-value="code"
option-label="nickname" option-label="name"
/> >
<template #option="{ opt, itemProps }">
<QItem v-bind="itemProps">
<QItemSection>
<QItemLabel>{{ opt.name }}</QItemLabel>
<QItemLabel class="text-grey text-caption">
{{ `${opt.nickname}, ${opt.code}` }}
</QItemLabel>
</QItemSection>
</QItem>
</template>
</VnSelect>
</QItemSection> </QItemSection>
</QItem> </QItem>
<QItem> <QItem>