Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -11,13 +11,13 @@
|
||||
<b class="text-md ">{{headerTotalInfo?.ltdName}}</b>
|
||||
</sv>
|
||||
<sv label="可用余额">
|
||||
{{headerTotalInfo?.allAmount |currency}}
|
||||
<span class="text-error-dark font-weight-bold">{{headerTotalInfo?.allAmount |currency}}</span>
|
||||
</sv>
|
||||
<sv label="收入金额">
|
||||
{{headerTotalInfo?.incomeAmount |currency}}
|
||||
<span class="text-error-dark font-weight-bold"> {{headerTotalInfo?.incomeAmount |currency}}</span>
|
||||
</sv>
|
||||
<sv label="支出金额">
|
||||
{{headerTotalInfo?.payAmount |currency}}
|
||||
<span class="text-error-dark font-weight-bold">{{headerTotalInfo?.payAmount |currency}}</span>
|
||||
</sv>
|
||||
</sv-container>
|
||||
<ng-template #labelTpl>
|
||||
|
||||
@ -59,7 +59,7 @@ export class PartnerAccountManagementListComponent implements OnInit {
|
||||
*/
|
||||
initST() {
|
||||
this.columns = [
|
||||
{ title: '合伙人名称', index: 'userName', className: 'text-center', width: 250 },
|
||||
{ title: '合伙人名称', index: 'name', className: 'text-center', width: 250 },
|
||||
{ title: '手机号', index: 'phone', className: 'text-center', width: 200 },
|
||||
{
|
||||
title: '账户总额(元)', index: 'allBalance', className: 'text-right', sort: true, width: 150, type: 'currency',
|
||||
|
||||
@ -8,23 +8,27 @@
|
||||
<nz-card>
|
||||
<sv-container layout="vertical" [noColon]="true" col="5">
|
||||
<sv [label]="labelTpl">
|
||||
<b class="text-md ">{{summaryObj?.company}}</b>
|
||||
<b class="text-md ">{{summaryObj?.taxno}}</b>
|
||||
</sv>
|
||||
<sv label="返佣总额">
|
||||
{{summaryObj?.totalRebate |currency}}
|
||||
<span class="text-error-dark font-weight-bold">{{(summaryObj?.totalRebate?summaryObj?.totalRebate: 0 )|currency :'
|
||||
'}}</span>
|
||||
</sv>
|
||||
<sv label="已入账金额">
|
||||
{{summaryObj?.totalRebate |currency}}
|
||||
<span class="text-error-dark font-weight-bold">{{(summaryObj?.recordedAmount?summaryObj?.recordedAmount:0
|
||||
)|currency:' '}}</span>
|
||||
</sv>
|
||||
<sv label="代缴个税">
|
||||
{{summaryObj?.taxPersonalSum |currency}}
|
||||
<span class="text-error-dark font-weight-bold">{{(summaryObj?.taxPersonalSum?summaryObj?.taxPersonalSum:0
|
||||
)|currency:' '}}</span>
|
||||
</sv>
|
||||
<sv label="待入账金额">
|
||||
{{summaryObj?.waitRecordedAmount |currency}}
|
||||
<span class="text-error-dark font-weight-bold">{{(summaryObj?.waitRecordedAmount?summaryObj?.waitRecordedAmount:0)
|
||||
|currency:' '}}</span>
|
||||
</sv>
|
||||
</sv-container>
|
||||
<ng-template #labelTpl>
|
||||
<b class="text-md" style="color: black;">{{summaryObj?.name}}</b>
|
||||
<b class="text-md" style="color: black;">{{summaryObj?.ltdName}}</b>
|
||||
</ng-template>
|
||||
</nz-card>
|
||||
<nz-card>
|
||||
@ -43,11 +47,11 @@
|
||||
</ng-template>
|
||||
</st>
|
||||
<div class="total-footer text-md" *ngIf="st?.list?.length !== 0 ">
|
||||
合计 <label class="text-red-dark">{{ summaryObj?.total }}</label> 项,收入 <label
|
||||
合计 <label class="text-red-dark">{{ footerSummary?.total }}</label> 项,收入 <label
|
||||
class="text-red-dark font-weight-bold">{{
|
||||
summaryObj?.income | currency
|
||||
footerSummary?.income | currency
|
||||
}}</label>,支出 <label class="text-red-dark font-weight-bold">{{
|
||||
summaryObj?.spending | currency }}</label>
|
||||
footerSummary?.spending | currency }}</label>
|
||||
</div>
|
||||
</div>
|
||||
</nz-card>
|
||||
@ -55,8 +59,8 @@
|
||||
<nz-modal [(nzVisible)]="showBillDetail" nzTitle="账户明细" [nzFooter]="null" (nzOnCancel)="handleCancel()" nzWidth="700px">
|
||||
<div *nzModalContent>
|
||||
<div class="mb-sm">
|
||||
<span class="mr-xxl text-md font-weight-bold"><label>网络货运人:</label>{{detailRecord?.ltdName}}</span>
|
||||
<span class="text-md font-weight-bold"><label>返佣总额(元):</label>{{detailRecord?.totalRebate |currency: ' '}}</span>
|
||||
<span class="mr-xxl text-sm font-weight-bold"><label>网络货运人:</label>{{detailRecord?.ltdName}}</span>
|
||||
<span class="text-sm font-weight-bold"><label>返佣总额(元):</label>{{detailRecord?.totalRebate |currency: ' '}}</span>
|
||||
</div>
|
||||
<st #st [data]="billDetailList " [columns]="billDetailColumns" [res]="{ reName: { list: 'data' } }"
|
||||
[req]="{ method: 'POST', allInBody: true, params:billDetailReqParams}" [page]="{show:false}">
|
||||
|
||||
@ -19,6 +19,12 @@ export class PartnerAccountManagementRecordedDetailComponent implements OnInit {
|
||||
taxno: ''
|
||||
};
|
||||
|
||||
footerSummary = {
|
||||
total: 0,
|
||||
income: 0,
|
||||
spending: 0
|
||||
}
|
||||
|
||||
detailRecord: any = {};
|
||||
|
||||
url = `/user`;
|
||||
@ -156,6 +162,7 @@ export class PartnerAccountManagementRecordedDetailComponent implements OnInit {
|
||||
this.billDetailColumns = [];
|
||||
this.showBillDetail = true;
|
||||
this.initBillDetailST();
|
||||
this.detailRecord = record;
|
||||
this.getBillDetail(record?.ltdId);
|
||||
}
|
||||
|
||||
@ -169,6 +176,7 @@ export class PartnerAccountManagementRecordedDetailComponent implements OnInit {
|
||||
|
||||
handleCancel() {
|
||||
this.showBillDetail = false;
|
||||
this.detailRecord = {};
|
||||
|
||||
}
|
||||
goBack() {
|
||||
|
||||
Reference in New Issue
Block a user