diff --git a/src/pages/Order/Card/OrderCreateDialog.vue b/src/pages/Order/Card/OrderCreateDialog.vue index c78b04d7f..4b16e4c7b 100644 --- a/src/pages/Order/Card/OrderCreateDialog.vue +++ b/src/pages/Order/Card/OrderCreateDialog.vue @@ -59,17 +59,17 @@ const initialFormState = reactive({ clientFk: $props.clientFk, }); -const onClientChange = async (clientId = $props.clientFk) => { - const { data } = await axios.get(`Clients/${clientId}`); - await fetchAddressList(data.defaultAddressFk); -}; +// const onClientChange = async (clientId = $props.clientFk) => { +// const { data } = await axios.get(`Clients/${clientId}`); +// await fetchAddressList(data.defaultAddressFk); +// }; async function onDataSaved(_, id) { await router.push({ path: `/order/${id}/catalog` }); } -onMounted(async () => { - await onClientChange(); -}); +// onMounted(async () => { +// await onClientChange(); +// });