From 59648d14f0129345b6db9491ec1ef86e021e6ac5 Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 27 Nov 2024 06:18:41 +0100 Subject: [PATCH 01/28] fix: refs #8114 orderList --- src/pages/Order/Card/OrderCreateDialog.vue | 19 +++++++++---------- src/pages/Order/OrderList.vue | 10 ++-------- 2 files changed, 11 insertions(+), 18 deletions(-) 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(); +// });