0
0
Fork 0

Merge pull request 'fix: Options VnSelect properties' (!746) from 6943_fix_customer_module into dev

Reviewed-on: verdnatura/salix-front#746
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Alex Moreno 2024-09-24 05:41:49 +00:00
commit 1f9850f520
2 changed files with 4 additions and 0 deletions

View File

@ -111,6 +111,8 @@ const exprBuilder = (param, value) => {
}" }"
:fields="['id', 'nickname']" :fields="['id', 'nickname']"
sort-by="nickname ASC" sort-by="nickname ASC"
option-label="nickname"
option-value="id"
:rules="validate('client.salesPersonFk')" :rules="validate('client.salesPersonFk')"
:expr-builder="exprBuilder" :expr-builder="exprBuilder"
emit-value emit-value

View File

@ -429,6 +429,8 @@ function handleLocation(data, location) {
:params="{ :params="{
departmentCodes: ['VT', 'shopping'], departmentCodes: ['VT', 'shopping'],
}" }"
option-label="nickname"
option-value="id"
:fields="['id', 'nickname']" :fields="['id', 'nickname']"
sort-by="nickname ASC" sort-by="nickname ASC"
emit-value emit-value