This commit is contained in:
setthawutttty 2024-12-06 15:40:56 +07:00
parent af7b828498
commit ab5d2b29e6

View file

@ -57,6 +57,7 @@ const filteredTabs = computed(() =>
const isActive = ref<boolean>(true); //
const isAttachment = ref<boolean>(true); //
const isSalary = ref<boolean>(true); //
const isAttachmentShow = ref<boolean>(true); // show/off
const dataCategory = ref<DateOption[]>([]); //
@ -189,6 +190,7 @@ function onSubmit() {
commandSysId: category.value,
isActive: status.value,
isAttachment: isAttachment.value,
isSalary: isSalary.value,
})
.then(async () => {
await fetchCommandType();
@ -503,6 +505,11 @@ onMounted(async () => {
label="บัญชีแนบท้าย"
size="sm"
/>
<q-checkbox
v-model="isSalary"
label="แก้ไขเงินเดือน"
size="sm"
/>
</div>
</div>
</q-card-section>