edit
This commit is contained in:
@ -23,6 +23,7 @@ export class PayableOrderComponent implements OnInit {
|
||||
_$expand = false;
|
||||
|
||||
selectedRows: any[] = [];
|
||||
info: any = {};
|
||||
constructor(
|
||||
public service: FreightAccountService,
|
||||
private nzModalService: NzModalService,
|
||||
@ -30,7 +31,16 @@ export class PayableOrderComponent implements OnInit {
|
||||
private currencyPipe: CurrencyPipe
|
||||
) {}
|
||||
|
||||
ngOnInit(): void {}
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
loadInfo() {
|
||||
this.service.request(this.service.$api_get_fico_ph_sum).subscribe(res => {
|
||||
if (res) {
|
||||
this.info = res;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
beforeReq = (requestOptions: STRequestOptions) => {
|
||||
if (this.sf) {
|
||||
@ -54,6 +64,7 @@ export class PayableOrderComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
}
|
||||
this.loadInfo();
|
||||
return requestOptions;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user