forked from verdnatura/salix-front
fix: refs #7524 use id
This commit is contained in:
parent
7c2a13db0b
commit
717c52fc02
|
@ -97,7 +97,12 @@ const title = ref();
|
||||||
:rules="validate('client.salesPersonFk')"
|
:rules="validate('client.salesPersonFk')"
|
||||||
:use-like="false"
|
:use-like="false"
|
||||||
:emit-value="false"
|
:emit-value="false"
|
||||||
@update:model-value="(val) => (title = val?.nickname)"
|
@update:model-value="
|
||||||
|
(val) => {
|
||||||
|
title = val?.nickname;
|
||||||
|
data.salesPersonFk = val?.id;
|
||||||
|
}
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<VnAvatar
|
<VnAvatar
|
||||||
|
|
Loading…
Reference in New Issue