fix: SupplierFiscalData VnLocation #725

Merged
jsegarra merged 1 commits from fix_supplierFD_location into dev 2024-09-18 07:54:43 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -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;