เงินเดือน => เลื่อนค่าจ้างลูกจ้างประจำ
This commit is contained in:
parent
d5b5eec3e8
commit
d0bbf5f68e
10 changed files with 60 additions and 75 deletions
|
|
@ -81,15 +81,15 @@ function onSubmit() {
|
|||
};
|
||||
http
|
||||
.post(config.API.salaryPeriodEmp() + `/change/type`, body)
|
||||
.then(() => {
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
props.fetchData?.();
|
||||
.then(async () => {
|
||||
await props.fetchData?.();
|
||||
await success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
close();
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {
|
||||
close();
|
||||
hideLoader();
|
||||
});
|
||||
});
|
||||
|
|
@ -168,15 +168,11 @@ function inputEdit(val: boolean) {
|
|||
<q-separator />
|
||||
<form @submit.prevent="validateForm">
|
||||
<q-card-actions align="right" class="bg-white text-teal">
|
||||
<!-- <q-btn flat label="OK" v-close-popup /> -->
|
||||
<q-btn
|
||||
:disabled="!isChange"
|
||||
type="submit"
|
||||
for="#submitForm"
|
||||
unelevated
|
||||
dense
|
||||
class="q-px-md items-center"
|
||||
color="light-blue-10"
|
||||
color="secondary"
|
||||
label="บันทึก"
|
||||
/>
|
||||
</q-card-actions>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue