This commit is contained in:
Taric Xin
2022-03-25 13:35:56 +08:00
parent 99dddaac1e
commit 81c42f2cea
6 changed files with 17 additions and 16 deletions

View File

@ -73,7 +73,7 @@
</button>
</div>
</div>
<st #inputST [data]="service.$api_get_advance_collection_detail" [columns]="columns"
<st #inputST [data]="service.$api_get_refund_detail_page" [columns]="columns"
[page]="{ show: false }" [req]="{ process: beforeReq }" [res]="{ reName: { list: 'data' } }"
[loading]="false" [scroll]="{ x: '1200px', y: '370px' }" class="mt-md">
<ng-template st-row="no" let-item let-index="index" let-column="column">

View File

@ -33,11 +33,12 @@ export class WithdrawalsDetailComponent implements OnInit {
ngOnInit(): void {}
beforeReq = (requestOptions: STRequestOptions) => {
if (this.inputSF.value) {
if (this.inputSF?.value) {
Object.assign(requestOptions.body, {
...this.inputSF.value
});
}
Object.assign(requestOptions.body, { refundApplicationId: this.route.snapshot.params.id });
return requestOptions;
};

View File

@ -254,7 +254,7 @@ export class WithdrawalsRecordComponent {
{ title: '提现单号', index: 'refundApplyCode', width: 120 },
{ title: '网络货运人', index: 'ltdName', width: 140 },
{ title: '银行类型', index: 'bankTypeLabel', width: 100 },
{ title: '账户类型', index: 'accountType', width: 100 },
{ title: '账户类型', index: 'accountTypeLabel', width: 100 },
{ title: '账户名称', index: 'bankAccountName', width: 140 },
{ title: '虚拟账户', index: 'virtualAccount', width: 100 },
{