From 717c52fc02a39edeb554ac9b644daf088c06051c Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 26 Aug 2024 16:55:16 +0200 Subject: [PATCH] fix: refs #7524 use id --- src/pages/Customer/Card/CustomerBasicData.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; + } + " >