first step bankEntity

This commit is contained in:
Jorge Padawan 2021-01-07 15:14:50 +01:00
parent 6017894ba9
commit 31f18db72d
1 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,13 @@ class Controller extends Section {
return this.$http.patch(query, this.newBankEntity) return this.$http.patch(query, this.newBankEntity)
.then(res => this.supplierAccount.bankEntityFk = res.data.id); .then(res => this.supplierAccount.bankEntityFk = res.data.id);
} }
onResponse(response) {
this.supplier.postcode = response.code;
this.supplier.city = response.city;
this.supplier.provinceFk = response.provinceFk;
this.supplier.countryFk = response.countryFk;
}
} }
ngModule.vnComponent('vnSupplierAccount', { ngModule.vnComponent('vnSupplierAccount', {