|
|
|
|
@ -1,3 +1,13 @@
|
|
|
|
|
<!--
|
|
|
|
|
* @Description :
|
|
|
|
|
* @Version : 1.0
|
|
|
|
|
* @Author : Shiming
|
|
|
|
|
* @Date : 2022-04-28 20:27:07
|
|
|
|
|
* @LastEditors : Shiming
|
|
|
|
|
* @LastEditTime : 2022-05-11 19:42:40
|
|
|
|
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\account-management\\components\\recorded-detail\\recorded-detail.component.html
|
|
|
|
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
|
|
|
|
-->
|
|
|
|
|
<page-header-wrapper [title]="'待入账明细'" [logo]="logo">
|
|
|
|
|
<ng-template #logo>
|
|
|
|
|
<button nz-button (click)="goBack()">
|
|
|
|
|
@ -6,29 +16,44 @@
|
|
|
|
|
</ng-template>
|
|
|
|
|
</page-header-wrapper>
|
|
|
|
|
<nz-card>
|
|
|
|
|
<sv-container layout="vertical" [noColon]="true" col="5">
|
|
|
|
|
<sv [label]="labelTpl">
|
|
|
|
|
<b class="text-md ">{{summaryObj?.taxno}}</b>
|
|
|
|
|
<sv-container layout="vertical" [noColon]="true" col="6">
|
|
|
|
|
<sv label="合伙人信息">
|
|
|
|
|
<div
|
|
|
|
|
><b>{{ summaryObj?.partnerName }}</b></div
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
><b>{{ summaryObj?.partnerInfo }}</b></div
|
|
|
|
|
>
|
|
|
|
|
</sv>
|
|
|
|
|
<sv label="返佣总额">
|
|
|
|
|
<span class="text-error-dark font-weight-bold">{{(summaryObj?.totalRebate?summaryObj?.totalRebate: 0 )|currency :'
|
|
|
|
|
'}}</span>
|
|
|
|
|
<span class="text-error-dark font-weight-bold">{{ (summaryObj?.totalRebate ? summaryObj?.totalRebate : 0) | currency }}</span>
|
|
|
|
|
</sv>
|
|
|
|
|
<sv label="已入账金额">
|
|
|
|
|
<span class="text-error-dark font-weight-bold">{{(summaryObj?.recordedAmount?summaryObj?.recordedAmount:0
|
|
|
|
|
)|currency:' '}}</span>
|
|
|
|
|
<span class="text-error-dark font-weight-bold">{{ (summaryObj?.recordedAmount ? summaryObj?.recordedAmount : 0) | currency }}</span>
|
|
|
|
|
</sv>
|
|
|
|
|
<sv label="代缴个税">
|
|
|
|
|
<span class="text-error-dark font-weight-bold">{{(summaryObj?.taxPersonalSum?summaryObj?.taxPersonalSum:0
|
|
|
|
|
)|currency:' '}}</span>
|
|
|
|
|
<sv label="已代缴个税">
|
|
|
|
|
<span class="text-error-dark font-weight-bold">{{
|
|
|
|
|
(summaryObj?.recordedTaxPersonal ? summaryObj?.recordedTaxPersonal : 0) | currency
|
|
|
|
|
}}</span>
|
|
|
|
|
</sv>
|
|
|
|
|
<sv label="入账中金额">
|
|
|
|
|
<span class="text-error-dark font-weight-bold">{{
|
|
|
|
|
(summaryObj?.ongoingRecordedAmount ? summaryObj?.ongoingRecordedAmount : 0) | currency
|
|
|
|
|
}}</span>
|
|
|
|
|
</sv>
|
|
|
|
|
<sv label="代缴中个税">
|
|
|
|
|
<span class="text-error-dark font-weight-bold">{{
|
|
|
|
|
(summaryObj?.waitRecordedTaxPersonal ? summaryObj?.waitRecordedTaxPersonal : 0) | currency
|
|
|
|
|
}}</span>
|
|
|
|
|
</sv>
|
|
|
|
|
<sv label="待入账金额">
|
|
|
|
|
<span class="text-error-dark font-weight-bold">{{(summaryObj?.waitRecordedAmount?summaryObj?.waitRecordedAmount:0)
|
|
|
|
|
|currency:' '}}</span>
|
|
|
|
|
<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?.ltdName}}</b>
|
|
|
|
|
<b class="text-md" style="color: black">{{ summaryObj?.ltdName }}</b>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</nz-card>
|
|
|
|
|
<nz-card>
|
|
|
|
|
@ -36,22 +61,25 @@
|
|
|
|
|
<sf mode="search" #sf [schema]="schema" [ui]="ui" (formSubmit)="search()" (formReset)="resetSF()"></sf>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="table-content">
|
|
|
|
|
<st #st [data]="service.$api_get_invoice_detail_page " [columns]="columns"
|
|
|
|
|
[req]="{ method: 'POST', allInBody: true, reName: {pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
|
|
|
|
<st
|
|
|
|
|
#st
|
|
|
|
|
[data]="service.$api_get_invoice_detail_page"
|
|
|
|
|
[columns]="columns"
|
|
|
|
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
|
|
|
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
|
|
|
|
[page]="{ show: true, showSize: true, pageSizes: [5,10, 20, 50, 100, 200, 500] }"
|
|
|
|
|
[loading]="service.http.loading" [scroll]="{x:'1200px'}">
|
|
|
|
|
[page]="{ show: true, showSize: true, pageSizes: [5, 10, 20, 50, 100, 200, 500] }"
|
|
|
|
|
[loading]="service.http.loading"
|
|
|
|
|
[scroll]="{ x: '1200px' }"
|
|
|
|
|
>
|
|
|
|
|
<ng-template st-row="amount" let-item>
|
|
|
|
|
<div *ngIf="item.incomeType === '1'"> - {{item.amount | currency }}</div>
|
|
|
|
|
<div *ngIf="item.incomeType === '2'"> + {{item.amount | currency }}</div>
|
|
|
|
|
<div *ngIf="item.incomeType === '1'"> - {{ item.amount | currency }}</div>
|
|
|
|
|
<div *ngIf="item.incomeType === '2'"> + {{ item.amount | currency }}</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</st>
|
|
|
|
|
<div class="total-footer text-md" *ngIf="st?.list?.length !== 0 ">
|
|
|
|
|
合计 <label class="text-red-dark">{{ footerSummary?.total }}</label> 项,收入 <label
|
|
|
|
|
class="text-red-dark font-weight-bold">{{
|
|
|
|
|
footerSummary?.income | currency
|
|
|
|
|
}}</label>,支出 <label class="text-red-dark font-weight-bold">{{
|
|
|
|
|
footerSummary?.spending | currency }}</label>
|
|
|
|
|
<div class="total-footer text-md" *ngIf="st?.list?.length !== 0">
|
|
|
|
|
合计 <label class="text-red-dark">{{ footerSummary?.total }}</label> 项,收入
|
|
|
|
|
<label class="text-red-dark font-weight-bold">{{ footerSummary?.income | currency }}</label
|
|
|
|
|
>,支出 <label class="text-red-dark font-weight-bold">{{ footerSummary?.spending | currency }}</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</nz-card>
|
|
|
|
|
@ -59,21 +87,26 @@
|
|
|
|
|
<nz-modal [(nzVisible)]="showBillDetail" nzTitle="账户明细" [nzFooter]="null" (nzOnCancel)="handleCancel()" nzWidth="700px">
|
|
|
|
|
<div *nzModalContent>
|
|
|
|
|
<div class="mb-sm">
|
|
|
|
|
<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>
|
|
|
|
|
<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}">
|
|
|
|
|
<st
|
|
|
|
|
#st
|
|
|
|
|
[data]="billDetailList"
|
|
|
|
|
[columns]="billDetailColumns"
|
|
|
|
|
[res]="{ reName: { list: 'data' } }"
|
|
|
|
|
[req]="{ method: 'POST', allInBody: true, params: billDetailReqParams }"
|
|
|
|
|
[page]="{ show: false }"
|
|
|
|
|
>
|
|
|
|
|
<ng-template st-row="month" let-item>
|
|
|
|
|
<div>
|
|
|
|
|
<span>{{item?.year }}年</span>
|
|
|
|
|
<span>{{item?.month }}月</span>
|
|
|
|
|
<span>{{ item?.year }}年</span>
|
|
|
|
|
<span>{{ item?.month }}月</span>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
<ng-template st-row="profitAmountSum" let-item>
|
|
|
|
|
<div>{{item?.profitAmountSum |currency :' '}}</div>
|
|
|
|
|
<div>{{ item?.profitAmountSum | currency: ' ' }}</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
</st>
|
|
|
|
|
</div>
|
|
|
|
|
</nz-modal>
|
|
|
|
|
|