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

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

@ -207,10 +207,10 @@ function onSubmit() {
posLevelId: e.posLevelId, //*
}));
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 .
orgRootId: props.orgLevel === 0 ? props.treeId : null, //Id
orgChild1Id: props.orgLevel === 1 ? props.treeId : null,
orgChild2Id: props.orgLevel === 2 ? props.treeId : null,
@ -414,11 +414,11 @@ watch(
dense
outlined
for="#positionNo"
label="เลขที่ตำแหน่ง"
label="ตำแหน่งเลขที่"
lazy-rules
hide-bottom-space
:rules="[
(val) => !!val || `${'กรุณากรอกเลขที่ตำแหน่ง'}`,
(val) => !!val || `${'กรุณากรอกตำแหน่งเลขที่'}`,
]"
mask="########################"
/>
@ -430,7 +430,7 @@ watch(
dense
outlined
for="#suffixNo"
label="Suffix เลขที่ตำแหน่ง"
label="Suffix ตำแหน่งเลขที่"
/>
</div>
</div>