This commit is contained in:
Taric Xin
2021-12-27 13:55:46 +08:00
parent 0f532ad744
commit cac371baf3
33 changed files with 59 additions and 79 deletions

View File

@ -21,7 +21,6 @@ export class FreightAccountComponent implements OnInit {
selectedRows: any[] = [];
reqParams = {};
_$expand = false;
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {}
@ -30,7 +29,7 @@ export class FreightAccountComponent implements OnInit {
beforeReq = (requestOptions: STRequestOptions) => {
if (this.sf) {
this.reqParams = { ...this.sf.value };
Object.assign(requestOptions.body, { ...this.sf.value });
}
return requestOptions;
};