diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue index 6472a47ff..79ae79ad9 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 diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index 0428c0c7b..5e24a1c2d 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -429,6 +429,8 @@ function handleLocation(data, location) { :params="{ departmentCodes: ['VT', 'shopping'], }" + option-label="nickname" + option-value="id" :fields="['id', 'nickname']" sort-by="nickname ASC" emit-value