fix แก้ไขเงินเดือน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-23 14:57:06 +07:00
parent e3ca5eb409
commit 37339fa16f

View file

@ -83,6 +83,8 @@ function onSubmit() {
watch(
() => modal.value,
() => {
console.log(props.isPunish);
isPunish.value = props.isPunish ? props.isPunish : false;
isSuspension.value = props.isSuspension ? props.isSuspension : false;
isAbsent.value = props.isAbsent ? props.isAbsent : false;
@ -101,28 +103,24 @@ watch(
<q-card-section class="scroll" style="max-height: 70vh">
<div class="q-gutter-y-sm column">
<q-checkbox
toggle-indeterminate
keep-color
label="ไม่ถูกลงโทษทางวินัย"
dense
v-model="isPunish"
/>
<q-checkbox
toggle-indeterminate
keep-color
label="ไม่ถูกพักราชการ"
dense
v-model="isSuspension"
/>
<q-checkbox
toggle-indeterminate
keep-color
label="ไม่ขาดราชการ"
dense
v-model="isAbsent"
/>
<q-checkbox
toggle-indeterminate
keep-color
label="วันลาไม่เกิน"
dense