diff --git a/src/modules/04_registry/interface/index/Main.ts b/src/modules/04_registry/interface/index/Main.ts index b5032e628..4405392c3 100644 --- a/src/modules/04_registry/interface/index/Main.ts +++ b/src/modules/04_registry/interface/index/Main.ts @@ -104,6 +104,31 @@ interface FormSalaryNewRef { [key: string]: any; } +interface FormAddPerson { + birthDate: Date | null; + prefix: string; + firstName: string; + lastName: string; + citizenId: string; + age: string | null; + genderId: string | null; + bloodId: string | null; + nationality: string | null; + ethnicity: string | null; + statusId: string | null; + religionId: string | null; + tel: string | null; + employeeType: string | null; + employeeClass: string | null; + profileType: string | null; +} + +interface DataType { + id: string; + posLevels: any; + posTypeName: string; + posTypeRank: number; +} export type { FormSalaryNew, FormSalaryNewRef, @@ -121,4 +146,6 @@ export type { DataOptionLeave, OptionType, OptionLevel, + FormAddPerson, + DataType, }; diff --git a/src/modules/05_placement/components/Receive/AddEmployee/Main.vue b/src/modules/05_placement/components/Receive/AddEmployee/Main.vue index 9ab021f2e..6c06adea2 100644 --- a/src/modules/05_placement/components/Receive/AddEmployee/Main.vue +++ b/src/modules/05_placement/components/Receive/AddEmployee/Main.vue @@ -1,5 +1,5 @@ - + + ]" + label="เลขประจำตัวประชาชน" + maxlength="13" + mask="#############" + /> - filterSelector(inputValue, doneFn, 'prefixOps')" /> + filterSelector(inputValue, doneFn, 'prefixOps')" + /> - + - + - + {{ year + 543 }} @@ -399,13 +483,25 @@ const clickBack = () => { {{ parseInt(value + 543) }} - + - + @@ -413,50 +509,131 @@ const clickBack = () => { - + - filterSelector(inputValue, doneFn, 'genderOps' - )" /> + )" + /> - filterSelector(inputValue, doneFn, 'statusOps' - )" /> + )" + /> - + - + - filterSelector(inputValue, doneFn, 'religionOps' - )" /> + )" + /> - filterSelector(inputValue, doneFn, 'bloodOps' - )" clearable /> + )" + clearable + /> - + @@ -464,25 +641,58 @@ const clickBack = () => { - + - + --> - + - + - + - + อัปเดตรูปภาพ - + @@ -498,4 +708,275 @@ const clickBack = () => { - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + {{ year + 543 }} + + + {{ parseInt(value + 543) }} + + + + + + + + + + + + + + + + filterSelector(inputValue, doneFn, 'genderOps' + )" + /> + + + filterSelector(inputValue, doneFn, 'statusOps' + )" + /> + + + + + + + + + filterSelector(inputValue, doneFn, 'religionOps' + )" + /> + + + filterSelector(inputValue, doneFn, 'bloodOps' + )" + /> + + + + + + + + + + + บันทึกข้อมูล + + + +