From 27a3e36b589930db022428737f9ec17f983a8171 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 23 Sep 2024 14:56:34 +0200 Subject: [PATCH] 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