first step bankEntity
This commit is contained in:
parent
6017894ba9
commit
31f18db72d
|
@ -38,6 +38,13 @@ class Controller extends Section {
|
|||
return this.$http.patch(query, this.newBankEntity)
|
||||
.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', {
|
||||
|
|
Loading…
Reference in New Issue