แก้ข้อความเลขประจำตัวประชาชนให้เหมือนกันทุกจุด

This commit is contained in:
Warunee Tamkoo 2024-01-24 15:22:07 +07:00
parent 1643c13983
commit ed648fae40
23 changed files with 58 additions and 58 deletions

View file

@ -240,7 +240,7 @@ async function fectDataByid(id: string) {
/** function บักทึกผล*/
async function clickSave() {
let body = {
citizanId: cardid.value, //
citizanId: cardid.value, //
insigniaId: brand.value, // insigniaID
number: Advertise.value,
issue: issue.value,
@ -285,14 +285,14 @@ async function addNote(body: any) {
}
}
/** function หาเลขบัตรประจำตัวประชาชน*/
/** function หาเลขประจำตัวประชาชน*/
function searchcardid() {
if (cardid.value.length === 13) {
let data = listPerson.value.find((e: any) => e.citizenId === cardid.value);
if (data) {
fullName.value = data.fullname; //
position.value = data.positionEmployeePosition; //
} else notifyError($q, "ไม่พบข้อมูลเลขบัตรประชาชนนี้");
} else notifyError($q, "ไม่พบข้อมูลเลขประจำตัวประชาชนนี้");
}
}