fix เงินเดือน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-28 13:48:02 +07:00
parent 40f2ab9bc2
commit a746e05a86
3 changed files with 38 additions and 28 deletions

View file

@ -121,11 +121,12 @@ async function getRound() {
roundFilter.value = "ไม่มีข้อมูล";
snapFilter.value = "ไม่มีข้อมูล";
agencyFilter.value = "ไม่มีข้อมูล";
hideLoader();
}
})
.catch((e) => {
messageError($q, e);
})
.finally(() => {
hideLoader();
});
}
@ -276,6 +277,9 @@ async function fetchSalalyPeriod(
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});
}
}

View file

@ -120,11 +120,12 @@ async function getRound() {
roundFilter.value = "ไม่มีข้อมูล";
snapFilter.value = "ไม่มีข้อมูล";
agencyFilter.value = "ไม่มีข้อมูล";
hideLoader();
}
})
.catch((e) => {
messageError($q, e);
})
.finally(() => {
hideLoader();
});
}
@ -247,7 +248,7 @@ async function fetchSalalyPeriod(
const body = {
rootId: rootId,
salaryPeriodId: periodId,
snapshot: snap,
snapshot: snap,
};
await http
@ -260,6 +261,9 @@ async function fetchSalalyPeriod(
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});
}
}