ข้อมูลหลัก: เพิ่ม ลบข้อมูลสำเร็จ

This commit is contained in:
oat_dev 2024-03-18 11:21:57 +07:00
parent fab3b9e5f3
commit 474c691b7e
11 changed files with 11 additions and 0 deletions

View file

@ -146,6 +146,7 @@ async function deleteData(id: string) {
.delete(config.API.orgPosTypeId(id))
.then(() => {
fetchData();
success($q, "ลบข้อมูลสำเร็จ");
})
.catch((err) => {
messageError($q, err);

View file

@ -203,6 +203,7 @@ async function deleteData(id: string) {
.delete(config.API.orgPosLevelId(id))
.then(() => {
fetchData();
success($q, "ลบข้อมูลสำเร็จ");
})
.catch((err) => {
messageError($q, err);