This commit is contained in:
parent
7fa4eabf86
commit
14ebcf96c0
|
@ -119,7 +119,7 @@
|
|||
show-field="code"
|
||||
value-field="id"
|
||||
ng-model="$ctrl.companyFk"
|
||||
on-change="$ctrl.recalcInvoiceDate($ctrl.companyFk)">
|
||||
on-change="$ctrl.getInvoiceDate(value)">
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
url="Printers"
|
||||
|
|
|
@ -14,11 +14,11 @@ class Controller extends Section {
|
|||
this.$http.get('UserConfigs/getUserConfig')
|
||||
.then(res => {
|
||||
this.companyFk = res.data.companyFk;
|
||||
this.recalcInvoiceDate(this.companyFk);
|
||||
this.getInvoiceDate(this.companyFk);
|
||||
});
|
||||
}
|
||||
|
||||
recalcInvoiceDate(companyFk) {
|
||||
getInvoiceDate(companyFk) {
|
||||
const params = { companyFk: companyFk };
|
||||
this.fetchInvoiceDate(params);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue