forked from verdnatura/salix-front
Merge pull request 'fix: SupplierFiscalData VnLocation' (!725) from fix_supplierFD_location into dev
Reviewed-on: verdnatura/salix-front#725 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
9d210ace84
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue