This commit is contained in:
wangshiming
2022-05-06 14:48:35 +08:00
parent 6cedbe86b2
commit 965789d9ba
2 changed files with 23 additions and 10 deletions

View File

@ -1,3 +1,13 @@
<!--
* @Description :
* @Version : 1.0
* @Author : Shiming
* @Date : 2022-04-29 17:28:23
* @LastEditors : Shiming
* @LastEditTime : 2022-05-06 14:47:43
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\account-management\\components\\list\\list.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
<page-header-wrapper [title]="''"></page-header-wrapper> <page-header-wrapper [title]="''"></page-header-wrapper>
<nz-card> <nz-card>
<!-- <div nz-row> <!-- <div nz-row>
@ -19,15 +29,17 @@
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
[loading]="service.http.loading" multiSort> [loading]="service.http.loading" multiSort>
<ng-template st-row="allBalance" let-item> <ng-template st-row="allBalance" let-item>
<div class="text-right">{{item.allBalance | currency:' '}}</div> <div class="text-right">{{item.allBalance | currency}}</div>
</ng-template> </ng-template>
<ng-template st-row="unEntryAmount" let-item> <ng-template st-row="unEntryAmount" let-item>
<a class="text-right text-blue-dark" <a class="text-right text-blue-dark" acl [acl-ability]="['AM-LIST-unEntryAmount']"
[routerLink]="'/partner/account-management/am/recorded/detail/'+item?.roleId">{{item.unEntryAmount | currency:' [routerLink]="'/partner/account-management/am/recorded/detail/'+item?.roleId">{{item.unEntryAmount | currency}} </a>
'}} acl [acl-ability]="['AM-LIST-unEntryAmount']"</a>
</ng-template> </ng-template>
<ng-template st-row="availableBalance" let-item> <ng-template st-row="availableBalance" let-item>
<div class="text-right">{{item.availableBalance | currency:' '}}</div> <div class="text-right">{{item.availableBalance | currency}}</div>
</ng-template>
<ng-template st-row="allBalance" let-item>
<div class="text-right">{{item.allBalance | currency}}</div>
</ng-template> </ng-template>

View File

@ -62,13 +62,14 @@ export class PartnerAccountManagementListComponent implements OnInit {
{ title: '合伙人名称', index: 'name', className: 'text-center', width: 250 }, { title: '合伙人名称', index: 'name', className: 'text-center', width: 250 },
{ title: '手机号', index: 'phone', className: 'text-center', width: 200 }, { title: '手机号', index: 'phone', className: 'text-center', width: 200 },
{ {
title: '账户总额(元)', index: 'allBalance', className: 'text-right', sort: true, width: 150, type: 'currency', title: '账户总额(元)', render: 'allBalance', className: 'text-right', width: 150,
},
// sort: true,
{
title: '待入账余额(元)', render: 'unEntryAmount', className: 'text-right', width: 200,
}, },
{ {
title: '待入账余额(元)', render: 'unEntryAmount', className: 'text-right', width: 150, title: '可用余额(元)', index: 'availableBalance', className: 'text-right', width: 150, type: 'currency'
},
{
title: '可用余额(元)', index: 'availableBalance', className: 'text-right', sort: true, width: 150, type: 'currency'
}, },
{ title: '虚拟账户', index: 'virtualAccount', className: 'text-center', width: 220 }, { title: '虚拟账户', index: 'virtualAccount', className: 'text-center', width: 220 },
{ {