ยืมคืนเครื่องราชฯ
This commit is contained in:
parent
eac10d3f3a
commit
4a73df7bd8
2 changed files with 26 additions and 6 deletions
|
|
@ -90,7 +90,7 @@ const fecthlistInsignia = async () => {
|
|||
showLoader();
|
||||
let data = {
|
||||
insigniaTypeId: props.typeId,
|
||||
insigniaNoteId: props.roundId,
|
||||
insigniaNoteId: roundNo.value,
|
||||
insigniaId: "",
|
||||
};
|
||||
await http
|
||||
|
|
@ -102,6 +102,11 @@ const fecthlistInsignia = async () => {
|
|||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
cardid.value = "";
|
||||
fullName.value = "";
|
||||
brand.value = "";
|
||||
OrganazationId.value = "";
|
||||
reason.value = "";
|
||||
hideLoader();
|
||||
});
|
||||
};
|
||||
|
|
@ -206,7 +211,13 @@ const searchcardid = async () => {
|
|||
fullName.value = `${node.prefix} ${node.fullName}`;
|
||||
brand.value = node.requestInsignia;
|
||||
insigniaNoteProfileId.value = node.id;
|
||||
} else notifyError($q, "ไม่พบข้อมูลการได้รับในรอบนี้");
|
||||
} else {
|
||||
notifyError($q, "ไม่พบข้อมูลการได้รับในรอบนี้");
|
||||
fullName.value = "";
|
||||
brand.value = "";
|
||||
OrganazationId.value = "";
|
||||
reason.value = "";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue