diff --git a/src/modules/18_command/components/Step/1_Detail.vue b/src/modules/18_command/components/Step/1_Detail.vue index ff3f564a6..cb3b532b8 100644 --- a/src/modules/18_command/components/Step/1_Detail.vue +++ b/src/modules/18_command/components/Step/1_Detail.vue @@ -25,7 +25,6 @@ const { dialogConfirm, convertDateToAPI, dialogRemove, - dialogMessageNotify, } = useCounterMixin(); /** @@ -131,15 +130,6 @@ async function fetchCheckIdofficer() { * และกำหนด isChangeData เป็น false */ async function onSubmit() { - //ถ้าเป็น สกจ. ต้องเลือกประเภทคำสั่งด้วย - if ( - isIdofficer.value && - formData.isBangkok !== "BANGKOK" && - formData.isBangkok !== "OFFICE" - ) { - dialogMessageNotify($q, "กรุณาเลือกคำสั่ง"); - return; - } dialogConfirm($q, async () => { showLoader(); await http @@ -166,7 +156,7 @@ async function onSubmit() { }); } -/** ฟังก์ชันดึงข้อมูลรายชื่อเจ้าหน้าที่ดำเนินการ */ +/** ฟังกชันดึงข้อมูลรายชื่อเจ้าหน้าที่ดำเนินการ */ async function fetchDataOperatorList() { try { const res = await http.get(