edit
This commit is contained in:
@ -28,7 +28,8 @@
|
||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||
[loading]="service.http.loading" [scroll]="{ y: '370px' }">
|
||||
<ng-template st-row="description" let-item let-index="index">
|
||||
<a (click)="showAccountDetail(item)">{{ item.availableBalance | currency}}</a>
|
||||
<a (click)="showAccountDetail(item)">{{ (parseFloat(item.availableBalance) +
|
||||
parseFloat(item.freezeBalance)).toFixed(2) | currency}}</a>
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-card>
|
||||
@ -7,6 +7,7 @@ import { CurrencyService } from '@delon/util';
|
||||
import { CurrencyCNYPipe } from '@delon/util/pipes/currency/cny.pipe';
|
||||
import { ShipperBaseService } from '@shared';
|
||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||
import { parse } from 'path';
|
||||
import { SystemService } from 'src/app/routes/sys-setting/services/system.service';
|
||||
import { AccountDetailComponent } from 'src/app/shared/components/account-detail/account-detail.component';
|
||||
import { FreightAccountService } from '../../services/freight-account.service';
|
||||
@ -215,4 +216,8 @@ export class FreightAccountComponent implements OnInit {
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
parseFloat(num: any) {
|
||||
return parseFloat(num);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user