From caddcf45c3b6c3efb085bf3e742debac77f440b9 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 23 Sep 2024 12:43:52 +0000 Subject: [PATCH 1/3] fix: Options VnSelect properties --- src/pages/Customer/Card/CustomerBasicData.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue index 6472a47ff..4987fc7ba 100644 --- a/src/pages/Customer/Card/CustomerBasicData.vue +++ b/src/pages/Customer/Card/CustomerBasicData.vue @@ -111,6 +111,8 @@ const exprBuilder = (param, value) => { }" :fields="['id', 'nickname']" sort-by="nickname ASC" + :option-label="'nickname'" + :option-value="'id'" :rules="validate('client.salesPersonFk')" :expr-builder="exprBuilder" emit-value From ab0c38810a4bb155672bb05e5e04084279b399dc Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 23 Sep 2024 12:44:37 +0000 Subject: [PATCH 2/3] fix: Options VnSelect properties --- src/pages/Customer/CustomerList.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index 0428c0c7b..6b6a45e15 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -428,7 +428,9 @@ function handleLocation(data, location) { :label="t('customer.basicData.salesPerson')" :params="{ departmentCodes: ['VT', 'shopping'], - }" + }" + :option-label="'nickname'" + :option-value="'id'" :fields="['id', 'nickname']" sort-by="nickname ASC" emit-value From 27a3e36b589930db022428737f9ec17f983a8171 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 23 Sep 2024 14:56:34 +0200 Subject: [PATCH 3/3] fix: comments --- src/pages/Customer/Card/CustomerBasicData.vue | 4 ++-- src/pages/Customer/CustomerList.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue index 4987fc7ba..79ae79ad9 100644 --- a/src/pages/Customer/Card/CustomerBasicData.vue +++ b/src/pages/Customer/Card/CustomerBasicData.vue @@ -111,8 +111,8 @@ const exprBuilder = (param, value) => { }" :fields="['id', 'nickname']" sort-by="nickname ASC" - :option-label="'nickname'" - :option-value="'id'" + option-label="nickname" + option-value="id" :rules="validate('client.salesPersonFk')" :expr-builder="exprBuilder" emit-value diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index 6b6a45e15..5e24a1c2d 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -428,9 +428,9 @@ function handleLocation(data, location) { :label="t('customer.basicData.salesPerson')" :params="{ departmentCodes: ['VT', 'shopping'], - }" - :option-label="'nickname'" - :option-value="'id'" + }" + option-label="nickname" + option-value="id" :fields="['id', 'nickname']" sort-by="nickname ASC" emit-value