fix confirm send command

This commit is contained in:
Warunee Tamkoo 2025-07-18 18:01:52 +07:00
parent 0ff2b91d24
commit 15af723c46
2 changed files with 13 additions and 13 deletions

View file

@ -194,10 +194,10 @@ function Reset() {
* นยนการสงไปออกคำส * นยนการสงไปออกคำส
*/ */
function clickAddlist() { function clickAddlist() {
dialogConfirm($q, async () => { // dialogConfirm($q, async () => {
modalCommand.value = true;
props.clickClose?.(); props.clickClose?.();
}); modalCommand.value = true;
// });
} }
/** /**

View file

@ -195,15 +195,15 @@ function onClickSendOrder() {
if (selected.value.length == 0) { if (selected.value.length == 0) {
dialogMessageNotify($q, "กรุณาเลือกคนออกคำสั่ง"); dialogMessageNotify($q, "กรุณาเลือกคนออกคำสั่ง");
} else { } else {
dialogConfirm( // dialogConfirm(
$q, // $q,
() => { // () => {
modalCommand.value = true; modalCommand.value = true;
closeDialog(); closeDialog();
}, // },
"ยื่นยันการส่งรายชื่อไปออกคำสั่ง", // "",
"ต้องการยืนยันการส่งรายชื่อไปออกคำสั่งนี้หรือไม่ ?" // " ?"
); // );
} }
} }