อัตรากำลังลูกจ้างประจำ ฯ => ffix bug

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-07 11:45:41 +07:00
parent b6af8ccb70
commit a1bfbba9b6

View file

@ -300,12 +300,12 @@ function deletePos(id: string) {
.delete(config.API.orgEmployeePosById(id))
.then(() => {
success($q, "ลบข้อมูลสำเร็จ");
searchInput();
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
searchInput();
hideLoader();
});
});
@ -351,6 +351,15 @@ watch(
}
}
);
watch(
() => modalAdd.value,
() => {
if (!modalAdd.value) {
dataCopy.value = [];
}
}
);
</script>
<template>