เลขที่ตำแหน่ง => ตำแหน่งเลขที่

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-26 14:15:54 +07:00
parent 599a9c2c75
commit c1bb3651ab
47 changed files with 155 additions and 127 deletions

View file

@ -368,10 +368,10 @@ function onSubmit() {
positionIsSelected: e.positionIsSelected,
}));
const body = {
posMasterNoPrefix: formData.prefixNo, //*Prefix Optional (/)
posMasterNo: Number(formData.positionNo), //*
posMasterNoSuffix: formData.suffixNo, //Suffix .
reason: formData.reason, //Suffix .
posMasterNoPrefix: formData.prefixNo, //*Prefix Optional (/)
posMasterNo: Number(formData.positionNo), //*
posMasterNoSuffix: formData.suffixNo, //Suffix .
reason: formData.reason, //Suffix .
isDirector: formData.isDirector,
isOfficer: formData.isOfficer ? formData.isOfficer : false,
orgRootId: props.orgLevel === 0 ? props.treeId : null, //Id
@ -670,11 +670,11 @@ async function emitSearch(keyword: string, typeSelect: string) {
dense
outlined
for="#positionNo"
label="เลขที่ตำแหน่ง"
label="ตำแหน่งเลขที่"
lazy-rules
hide-bottom-space
:rules="[
(val) => !!val || `${'กรุณากรอกเลขที่ตำแหน่ง'}`,
(val) => !!val || `${'กรุณากรอกตำแหน่งเลขที่'}`,
]"
mask="########################"
/>
@ -686,7 +686,7 @@ async function emitSearch(keyword: string, typeSelect: string) {
dense
outlined
for="#suffixNo"
label="Suffix เลขที่ตำแหน่ง"
label="Suffix ตำแหน่งเลขที่"
/>
</div>
</div>