From 15af723c469f38b0e84eb049c646858ac3e86109 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 18 Jul 2025 18:01:52 +0700 Subject: [PATCH] fix confirm send command --- .../components/Other/DialogOrders.vue | 8 ++++---- .../components/DialogSendOrder.vue | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/modules/05_placement/components/Other/DialogOrders.vue b/src/modules/05_placement/components/Other/DialogOrders.vue index 6408d94c5..2a29b94de 100644 --- a/src/modules/05_placement/components/Other/DialogOrders.vue +++ b/src/modules/05_placement/components/Other/DialogOrders.vue @@ -194,10 +194,10 @@ function Reset() { * ยืนยันการส่งไปออกคำสั่ง */ function clickAddlist() { - dialogConfirm($q, async () => { - modalCommand.value = true; - props.clickClose?.(); - }); + // dialogConfirm($q, async () => { + props.clickClose?.(); + modalCommand.value = true; + // }); } /** diff --git a/src/modules/08_registryEmployee/components/DialogSendOrder.vue b/src/modules/08_registryEmployee/components/DialogSendOrder.vue index 63ec5ecfc..737ba907a 100644 --- a/src/modules/08_registryEmployee/components/DialogSendOrder.vue +++ b/src/modules/08_registryEmployee/components/DialogSendOrder.vue @@ -195,15 +195,15 @@ function onClickSendOrder() { if (selected.value.length == 0) { dialogMessageNotify($q, "กรุณาเลือกคนออกคำสั่ง"); } else { - dialogConfirm( - $q, - () => { - modalCommand.value = true; - closeDialog(); - }, - "ยื่นยันการส่งรายชื่อไปออกคำสั่ง", - "ต้องการยืนยันการส่งรายชื่อไปออกคำสั่งนี้หรือไม่ ?" - ); + // dialogConfirm( + // $q, + // () => { + modalCommand.value = true; + closeDialog(); + // }, + // "ยืนยันการส่งรายชื่อไปออกคำสั่ง", + // "ต้องการยืนยันการส่งรายชื่อไปออกคำสั่งนี้หรือไม่ ?" + // ); } }