แก้ข้อความเลขประจำตัวประชาชนให้เหมือนกันทุกจุด
This commit is contained in:
parent
1643c13983
commit
ed648fae40
23 changed files with 58 additions and 58 deletions
|
|
@ -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, "ไม่พบข้อมูลเลขประจำตัวประชาชนนี้");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue