edit
This commit is contained in:
@ -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)}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user