fix: CustomerList form salesPersons options
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-10-02 08:38:54 +00:00
parent 6c97f5eeb3
commit aa41f0d826
1 changed files with 4 additions and 4 deletions

View File

@ -67,8 +67,7 @@ const columns = computed(() => [
url: 'Workers/activeWithInheritedRole',
fields: ['id', 'name'],
where: { role: 'salesPerson' },
optionFilter: 'firstName',
useLike: true,
optionFilter: 'firstName'
},
create: false,
columnField: {
@ -423,9 +422,10 @@ function handleLocation(data, location) {
:params="{
departmentCodes: ['VT', 'shopping'],
}"
:fields="['id', 'nickname']"
:fields="['id', 'nickname', 'code']"
sort-by="nickname ASC"
:use-like="true"
option-label="nickname"
option-value="id"
emit-value
auto-load
>