From afa441dc334c54b4e210cfbf4de2dbbddbba4fcc Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Fri, 13 Jun 2025 14:30:01 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B9=80=E0=B8=81=E0=B9=89=E0=B9=80?= =?UTF-8?q?=E0=B8=84=E0=B8=A5=E0=B8=B5=E0=B8=A2=E0=B8=A3=E0=B9=8C=E0=B8=84?= =?UTF-8?q?=E0=B9=88=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/15_development/components/Target.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/15_development/components/Target.vue b/src/modules/15_development/components/Target.vue index 7b8d2f2f9..cb42ef915 100644 --- a/src/modules/15_development/components/Target.vue +++ b/src/modules/15_development/components/Target.vue @@ -536,7 +536,9 @@ function onClickCloseDialog() { * map ช้อมูลตาม option id * @param id id */ -function updatePosTypeName(id: string) { +function updatePosTypeName(id: string,index:number) { + + formGroupTarget.positions[index].posLevel = '' const posLevel = posTypeMain.value.find((e: ResGroup) => e.id === id); posLevelOp.value = posLevel?.posLevels.map((e: ResLevel) => ({ @@ -1402,7 +1404,7 @@ onMounted(() => { : 'กลุ่มงาน' " clearable - @update:model-value="updatePosTypeName" + @update:model-value="(value:string)=>{updatePosTypeName(value,index)}" />