diff --git a/src/modules/16_positionEmployee/components/DialogSelectPerson.vue b/src/modules/16_positionEmployee/components/DialogSelectPerson.vue
index e1a171523..4d50cef94 100644
--- a/src/modules/16_positionEmployee/components/DialogSelectPerson.vue
+++ b/src/modules/16_positionEmployee/components/DialogSelectPerson.vue
@@ -536,6 +536,7 @@ watch(
label="ค้นหาจากชื่อ-นามสกุล หรือเลขประจำตัวประชาชน"
lazy-rules
hide-bottom-space
+ @keydown.enter.prevent="getSearch()"
/>
@@ -549,6 +550,7 @@ watch(
label="ตำแหน่ง"
lazy-rules
hide-bottom-space
+ @keydown.enter.prevent="getSearch()"
/>
@@ -560,20 +562,24 @@ watch(
:options="typeOps"
emit-value
dense
- @update:model-value="updateSelectType"
+ @update:model-value="
+ updateSelectType(formData.positionType), getSearch()
+ "
map-options
outlined
option-label="name"
option-value="id"
lazy-rules
hide-bottom-space
- >
+ >
+
+ />
+
+
+ />
+
+
diff --git a/src/modules/20_positionTemp/components/DialogSelectPerson.vue b/src/modules/20_positionTemp/components/DialogSelectPerson.vue
index 1e6413433..6498094be 100644
--- a/src/modules/20_positionTemp/components/DialogSelectPerson.vue
+++ b/src/modules/20_positionTemp/components/DialogSelectPerson.vue
@@ -534,6 +534,7 @@ watch(
label="ค้นหาจากชื่อ-นามสกุล หรือเลขประจำตัวประชาชน"
lazy-rules
hide-bottom-space
+ @keydown.enter.prevent="getSearch()"
/>
@@ -547,6 +548,7 @@ watch(
label="ตำแหน่ง"
lazy-rules
hide-bottom-space
+ @keydown.enter.prevent="getSearch()"
/>
@@ -564,13 +566,16 @@ watch(
option-value="id"
lazy-rules
hide-bottom-space
- >
+ @update:model-value="getSearch()"
+ >
+
+ />
+
+