ปรับรายการลาออก และ dialog confrim

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-05-21 10:21:38 +07:00
parent c1db58e570
commit 19da1d284a
5 changed files with 558 additions and 519 deletions

View file

@ -51,36 +51,6 @@ const saveData = async () => {
"ยืนยันการยื่นข้อมูลการโอน",
"ต้องการยื่นข้อมูลการโอนนี้ใช่หรือไม่"
);
// if (myform.value != null) {
// await myform.value.validate().then(async (saveDataTest: Boolean) => {
// if (saveDataTest) {
// saveTransfer();
// }
// });
// }
};
//
const saveTransfer = () => {
$q.dialog({
title: "ยืนยันการยื่นข้อมูลการโอน",
message: "ต้องการยื่นข้อมูลการโอนนี้ใช่หรือไม่?",
cancel: {
flat: true,
color: "negative",
},
persistent: true,
})
.onOk(async () => {
if (files.value == undefined) {
fails($q, "กรุณากรอกอัพโหลดเอกสารเพิ่มเติม");
} else {
createTransfer();
}
})
.onCancel(() => {})
.onDismiss(() => {});
};
/**