From efb676e4a4daf5ae722eab04d734552f4e70d707 Mon Sep 17 00:00:00 2001 From: carlosfonseca Date: Mon, 26 Feb 2024 06:59:33 -0500 Subject: [PATCH] Solucion a comentarios 22 --- .../Customer/Card/CustomerCreditOpinion.vue | 7 +------ src/pages/Customer/CustomerCreate.vue | 18 +++--------------- .../Customer/Defaulter/CustomerDefaulter.vue | 1 - .../components/CustomerCreditCreate.vue | 6 +----- .../components/CustomerGreugeCreate.vue | 3 --- .../components/CustomerNewCustomsAgent.vue | 13 +++---------- .../Customer/components/CustomerNewPayment.vue | 4 ---- .../Customer/components/CustomerNoteCreate.vue | 4 +--- .../components/CustomerRecoverieCreate.vue | 3 --- 9 files changed, 9 insertions(+), 50 deletions(-) diff --git a/src/pages/Customer/Card/CustomerCreditOpinion.vue b/src/pages/Customer/Card/CustomerCreditOpinion.vue index e2d4cdfcb..e203679da 100644 --- a/src/pages/Customer/Card/CustomerCreditOpinion.vue +++ b/src/pages/Customer/Card/CustomerCreditOpinion.vue @@ -33,11 +33,6 @@ const filter = { limit: 20, }; -const initialData = reactive({ - rating: null, - recommendedCredit: null, -}); - const tableColumnComponents = { since: { component: 'span', @@ -100,7 +95,7 @@ const columns = computed(() => [ /> diff --git a/src/pages/Customer/CustomerCreate.vue b/src/pages/Customer/CustomerCreate.vue index d57656b3f..4addb1d6c 100644 --- a/src/pages/Customer/CustomerCreate.vue +++ b/src/pages/Customer/CustomerCreate.vue @@ -11,20 +11,8 @@ import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue'; const { t } = useI18n(); -const newClientForm = reactive({ +const initialData = reactive({ active: true, - name: null, - salesPersonFk: null, - businessTypeFk: null, - fi: null, - socialName: null, - street: null, - postcode: null, - city: null, - provinceFk: null, - countryFk: null, - userName: null, - email: null, isEqualizated: false, }); @@ -55,7 +43,7 @@ function handleLocation(data, location) { @@ -147,7 +135,7 @@ function handleLocation(data, location) { diff --git a/src/pages/Customer/Defaulter/CustomerDefaulter.vue b/src/pages/Customer/Defaulter/CustomerDefaulter.vue index 40638a4ab..794fcad03 100644 --- a/src/pages/Customer/Defaulter/CustomerDefaulter.vue +++ b/src/pages/Customer/Defaulter/CustomerDefaulter.vue @@ -19,7 +19,6 @@ const quasar = useQuasar(); const balanceDueTotal = ref(0); const selected = ref([]); -const workerId = ref(0); const rows = ref([]); const tableColumnComponents = { diff --git a/src/pages/Customer/components/CustomerCreditCreate.vue b/src/pages/Customer/components/CustomerCreditCreate.vue index aae6a8c2a..3671f1001 100644 --- a/src/pages/Customer/components/CustomerCreditCreate.vue +++ b/src/pages/Customer/components/CustomerCreditCreate.vue @@ -10,10 +10,6 @@ const { t } = useI18n(); const route = useRoute(); const router = useRouter(); -const initialData = reactive({ - credit: null, -}); - const toCustomerCredits = () => { router.push({ name: 'CustomerCredits', @@ -26,7 +22,7 @@ const toCustomerCredits = () => {