diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue index 87a3b08f7..a6150bb3f 100644 --- a/src/pages/Customer/Card/CustomerBasicData.vue +++ b/src/pages/Customer/Card/CustomerBasicData.vue @@ -97,7 +97,12 @@ const title = ref(); :rules="validate('client.salesPersonFk')" :use-like="false" :emit-value="false" - @update:model-value="(val) => (title = val?.nickname)" + @update:model-value=" + (val) => { + title = val?.nickname; + data.salesPersonFk = val?.id; + } + " >