แก้ไขตำแหน่งเงินเดือน
This commit is contained in:
parent
e03d2a84a5
commit
cc0c600174
8 changed files with 255 additions and 108 deletions
|
|
@ -5,23 +5,14 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
import { useEditPosDataStore } from "@/modules/04_registryPerson/stores/Edit";
|
||||
|
||||
import type { DataOption } from "@/modules/04_registryPerson/interface/index/Main";
|
||||
import type { FormDataSalary } from "@/modules/04_registryPerson/interface/request/Edit";
|
||||
|
||||
const {
|
||||
date2Thai,
|
||||
dialogConfirm,
|
||||
showLoader,
|
||||
hideLoader,
|
||||
messageError,
|
||||
success,
|
||||
pathRegistryEmp,
|
||||
onSearchDataTable,
|
||||
convertDateToAPI,
|
||||
} = useCounterMixin();
|
||||
const { date2Thai } = useCounterMixin();
|
||||
const store = useEditPosDataStore();
|
||||
|
||||
const isReadonly = defineModel<boolean>("isReadonly", { required: true });
|
||||
const empType = defineModel<string>("empType", { required: true });
|
||||
const formData = defineModel<any>("formData", { required: true });
|
||||
const formData = defineModel<FormDataSalary>("formData", { required: true });
|
||||
const commandCodeOptions = defineModel<DataOption[]>("commandCodeOptions", {
|
||||
required: true,
|
||||
});
|
||||
|
|
@ -209,7 +200,7 @@ function classInput(val: boolean) {
|
|||
autoApply
|
||||
year-picker
|
||||
:enableTimePicker="false"
|
||||
class="inputgreen"
|
||||
:class="classInput(isReadonly)"
|
||||
:readonly="isReadonly"
|
||||
>
|
||||
<template #year="{ year }">{{ year + 543 }}</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue