diff --git a/src/modules/18_command/components/Step/2_ListPersons.vue b/src/modules/18_command/components/Step/2_ListPersons.vue index 4e999f001..cbd495755 100644 --- a/src/modules/18_command/components/Step/2_ListPersons.vue +++ b/src/modules/18_command/components/Step/2_ListPersons.vue @@ -124,6 +124,7 @@ async function onSawpPos(val: any, type: string) { .get(config.API.commandSwap("tab2", type, val.id)) .then((res) => { success($q, "แก้ไขข้อมูลสำเร็จ"); + getPersonList(); }) .catch((e) => { messageError($q, e); @@ -151,7 +152,7 @@ function onDelete(id: string) { } function selectModal(data: PersonInfo) { - selectPersonData = data + selectPersonData = data; titleName.value = `${data.prefix ?? ""}${data.firstName ?? ""} ${ data.lastName ?? "" }`;