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