This commit is contained in:
Taric Xin
2022-04-15 15:05:46 +08:00
parent d6c66a21a2
commit aacf116e4b
5 changed files with 75 additions and 8 deletions

View File

@ -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;
};