From aa6dac39449cc1db11c8130edc488717fc8a487a Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 18 Sep 2024 07:28:10 +0000 Subject: [PATCH] fix: SupplierFiscalData VnLocation --- src/pages/Supplier/Card/SupplierFiscalData.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Supplier/Card/SupplierFiscalData.vue b/src/pages/Supplier/Card/SupplierFiscalData.vue index 60cd6770b..553fc0f94 100644 --- a/src/pages/Supplier/Card/SupplierFiscalData.vue +++ b/src/pages/Supplier/Card/SupplierFiscalData.vue @@ -19,8 +19,8 @@ const sageTransactionTypesOptions = ref([]); const supplierActivitiesOptions = ref([]); function handleLocation(data, location) { - const { town, label, provinceFk, countryFk } = location ?? {}; - data.postCode = label; + const { town, code, provinceFk, countryFk } = location ?? {}; + data.postCode = code; data.city = town; data.provinceFk = provinceFk; data.countryFk = countryFk;