This commit is contained in:
Taric Xin
2022-01-13 17:13:24 +08:00
parent 46379ffe4f
commit fe3d6b6f92
14 changed files with 288 additions and 27 deletions

View File

@ -6,7 +6,7 @@ import { BaseService } from '../../services';
@Component({
selector: 'app-account-detail',
templateUrl: './account-detail.component.html',
providers:[CurrencyPipe]
providers: [CurrencyPipe]
})
export class AccountDetailComponent implements OnInit {
@ViewChild('st', { static: true })
@ -16,14 +16,14 @@ export class AccountDetailComponent implements OnInit {
url = '';
isCanCreate = false;
constructor(public service: BaseService, private currencyPipe: CurrencyPipe) {}
ngOnInit(): void {
setTimeout(() => {
this.initST();
}, 200);
constructor(public service: BaseService, private currencyPipe: CurrencyPipe) {
this.initST();
}
ngOnInit(): void {}
createPA(item: any) {}
createPF(item: any) {}
beforeReq = (requestOptions: STRequestOptions) => {
return requestOptions;
};
@ -33,13 +33,13 @@ export class AccountDetailComponent implements OnInit {
{ title: '网络货运人', index: 'phone', className: 'text-center' },
{
title: '平安账户余额',
index: 'ltdName',
render: 'ltdName',
type: 'currency',
format: item => `${this.currencyPipe.transform(item.availableBalance)}`
},
{
title: '浦发账户余额',
index: 'bankTypeLabel',
render: 'bankTypeLabel',
type: 'currency',
format: item => `${this.currencyPipe.transform(item.availableBalance)}`
}