com: VUser 에서 2명이상 결재선 추가하도록 수정

This commit is contained in:
Yesol Choi
2025-05-30 09:15:07 +09:00
parent f0480ce94a
commit 010d2f6e9e

View File

@@ -69,23 +69,6 @@ const onKeyup = async (e: any) => {
const res = await getUserList({params:{name : e.target.value}})
if (res.length > 0) {
res.forEach(u => {
if (model.value?.length > 0) {
const ignore = model.value.reduce((a: Person, b: Person) => {
return a.sabun + '|' + b.sabun
})
if (typeof ignore !== 'object') {
if (ignore.includes(u.sabun)) {
u['disabled'] = true
}
} else {
if (ignore.sabun.includes(u.sabun)) {
u['disabled'] = true
}
}
}
})
// res.forEach(u => { 2명으로 제한 로직 풀기 25.05.29
// if (model.value?.length > 0) {
// const ignore = model.value.reduce((a: Person, b: Person) => {