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 = () => {