remove autocomplete address #935

Merged
carlossa merged 11 commits from 8114-removeAutoAddress into dev 2024-12-04 09:43:25 +00:00
1 changed files with 6 additions and 6 deletions
Showing only changes of commit fc3c80d60d - Show all commits

View File

@ -141,6 +141,12 @@ const columns = computed(() => [
],
},
]);
onMounted(() => {
if (!route.query.createForm) return;
const clientId = route.query.createForm;
const id = JSON.parse(clientId);
fetchClientAddress(id.clientFk);
});
async function fetchClientAddress(id, formData = {}) {
carlossa marked this conversation as resolved Outdated
Outdated
Review
https://vuejs.org/style-guide/rules-recommended
const { data } = await axios.get(
@ -169,12 +175,6 @@ const getDateColor = (date) => {
if (comparation == 0) return 'bg-warning';
if (comparation < 0) return 'bg-success';
};
onMounted(() => {
if (!route.query.createForm) return;
const clientId = route.query.createForm;
const id = JSON.parse(clientId);
fetchClientAddress(id.clientFk);
});
</script>
<template>
<OrderSearchbar />