fix confirm send command
This commit is contained in:
parent
0ff2b91d24
commit
15af723c46
2 changed files with 13 additions and 13 deletions
|
|
@ -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;
|
||||||
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
},
|
// },
|
||||||
"ยื่นยันการส่งรายชื่อไปออกคำสั่ง",
|
// "ยืนยันการส่งรายชื่อไปออกคำสั่ง",
|
||||||
"ต้องการยืนยันการส่งรายชื่อไปออกคำสั่งนี้หรือไม่ ?"
|
// "ต้องการยืนยันการส่งรายชื่อไปออกคำสั่งนี้หรือไม่ ?"
|
||||||
);
|
// );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue