เงินเดือน => เลื่อนค่าจ้างลูกจ้างประจำ
This commit is contained in:
parent
d5b5eec3e8
commit
d0bbf5f68e
10 changed files with 60 additions and 75 deletions
|
|
@ -146,8 +146,8 @@ function saveReccommend(reason: string) {
|
|||
titleRecommend: reason,
|
||||
}
|
||||
)
|
||||
.then(() => {
|
||||
props.getData?.();
|
||||
.then(async () => {
|
||||
await props.getData?.();
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
|
|
@ -204,9 +204,9 @@ function onClickDelete(id: string) {
|
|||
showLoader();
|
||||
await http
|
||||
.delete(config.API.salaryListPeriodProfileById(id))
|
||||
.then(() => {
|
||||
success($q, "ลบข้อมูลสำเร็จ");
|
||||
props.fetchDataTable?.();
|
||||
.then(async () => {
|
||||
await props.fetchDataTable?.();
|
||||
await success($q, "ลบข้อมูลสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue