diff --git a/src/modules/10_order/components/step/step03.vue b/src/modules/10_order/components/step/step03.vue index 589ab87ef..24cc1807a 100644 --- a/src/modules/10_order/components/step/step03.vue +++ b/src/modules/10_order/components/step/step03.vue @@ -89,7 +89,7 @@ const columnsModal = ref([ const rowsModal = ref([]); -const optionSelect = ref([ +const optionSelect = ref([ { id: 1, name: "อีเมล" }, { id: 2, name: "กล่องข้อความ" }, ]); @@ -300,7 +300,7 @@ const nodeTree = async () => { showLoader(); await http .get(config.API.profileOrganizRoot) - .then((res: any) => { + .then((res) => { const data = res.data.result; nodesTree.value = data; if (data.length > 0) { @@ -357,7 +357,7 @@ const fetchSaveCopyOrder = async () => { showLoader(); await http .put(config.API.copyOrder, list) - .then((res: any) => { + .then(() => { success($q, "บันทึกข้อมูลสำเร็จ"); next(); }) @@ -464,7 +464,11 @@ const updateData = (row: DataCopyOrder) => { dense lazy-rules v-model="props.row.mutiselect" - :rules="[(val:any) => !!val || `${'กรุณาเลือกช่องทางการส่งสำเนา'}`,(val:any) => val.length > 0 || `${'กรุณาเลือกช่องทางการส่งสำเนา'}`]" + :rules="[ + (val) => !!val || `${'กรุณาเลือกช่องทางการส่งสำเนา'}`, + (val) => + val.length > 0 || `${'กรุณาเลือกช่องทางการส่งสำเนา'}`, + ]" :label="`${'เลือกช่องทางการส่งสำเนา'}`" emit-value map-options diff --git a/src/modules/10_order/components/step/step04.vue b/src/modules/10_order/components/step/step04.vue index fa0395655..5796828a2 100644 --- a/src/modules/10_order/components/step/step04.vue +++ b/src/modules/10_order/components/step/step04.vue @@ -240,7 +240,7 @@ const props = defineProps({ // const next = () => props.next(); const previous = () => props.previous(); -const onchangePage = (val: any) => { +const onchangePage = () => { if (vuePDFRef !== null) { vuePDFRef.value.reload(); }