|
|
@ -2,98 +2,134 @@ |
|
|
|
<app-breadcrumb></app-breadcrumb> |
|
|
|
<app-breadcrumb></app-breadcrumb> |
|
|
|
<!-- end 面包屑 --> |
|
|
|
<!-- end 面包屑 --> |
|
|
|
<!--条件搜索--> |
|
|
|
<!--条件搜索--> |
|
|
|
|
|
|
|
<nz-spin [nzSpinning]="loadingObject.spinning" nzTip="{{loadingObject.msg}}"> |
|
|
|
|
|
|
|
<div class="inner-content"> |
|
|
|
|
|
|
|
<form nz-form [formGroup]="searchForm" (ngSubmit)="search(searchForm.value)"> |
|
|
|
|
|
|
|
<div nz-row> |
|
|
|
|
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
|
|
|
<nz-form-label [nzSpan]="8">商户号</nz-form-label> |
|
|
|
|
|
|
|
<nz-form-control [nzSpan]="14"> |
|
|
|
|
|
|
|
<nz-select nzAllowClear nzShowSearch formControlName="merNo" [nzDropdownMatchSelectWidth]="false"> |
|
|
|
|
|
|
|
<nz-option *ngFor="let item of merArray" nzLabel="({{item.merNo}}){{item.merName}}" nzValue="{{item.merNo}}"></nz-option> |
|
|
|
|
|
|
|
</nz-select> |
|
|
|
|
|
|
|
</nz-form-control> |
|
|
|
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="inner-content"> |
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
<form nz-form [formGroup]="searchForm" (ngSubmit)="search(searchForm.value)"> |
|
|
|
<nz-form-item> |
|
|
|
<div nz-row> |
|
|
|
<nz-form-label [nzSpan]="8">清算起始日期</nz-form-label> |
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
<nz-form-control [nzSpan]="14"> |
|
|
|
<nz-form-item> |
|
|
|
<nz-date-picker style="width: 100%;" (ngModelChange)="searchSettleTime(1, $event)" [nzDisabledDate]="disabledDate" [nzShowToday]="false" [nzAllowClear]="false" [nzFormat]="'yyyy-MM-dd'" formControlName="settleTimeS"></nz-date-picker> |
|
|
|
<nz-form-label [nzSpan]="8">商户号</nz-form-label> |
|
|
|
</nz-form-control> |
|
|
|
<nz-form-control [nzSpan]="14"> |
|
|
|
</nz-form-item> |
|
|
|
<nz-select nzAllowClear formControlName="merNo" [nzDropdownMatchSelectWidth]="false"> |
|
|
|
</div> |
|
|
|
<nz-option *ngFor="let item of merArray" nzLabel="({{item.merNo}}){{item.merName}}" nzValue="{{item.merNo}}"></nz-option> |
|
|
|
|
|
|
|
</nz-select> |
|
|
|
|
|
|
|
</nz-form-control> |
|
|
|
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-label [nzSpan]="8">清算起始日期</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="8">清算终止日期</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="14"> |
|
|
|
<nz-form-control [nzSpan]="14"> |
|
|
|
<nz-date-picker style="width: 100%;" (ngModelChange)="searchSettleTime(1, $event)" [nzDisabledDate]="disabledDate" [nzShowToday]="false" [nzAllowClear]="false" [nzFormat]="'yyyy-MM-dd'" formControlName="settleTimeS"></nz-date-picker> |
|
|
|
<nz-date-picker style="width: 100%;" (ngModelChange)="searchSettleTime(2, $event)"[nzDisabledDate]="disabledDate" [nzShowToday]="false" [nzAllowClear]="false" [nzFormat]="'yyyy-MM-dd'" formControlName="settleTimeE"></nz-date-picker> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-label [nzSpan]="8">清算终止日期</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="8">商户交易号</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="14"> |
|
|
|
<nz-form-control [nzSpan]="14"> |
|
|
|
<nz-date-picker style="width: 100%;" (ngModelChange)="searchSettleTime(2, $event)"[nzDisabledDate]="disabledDate" [nzShowToday]="false" [nzAllowClear]="false" [nzFormat]="'yyyy-MM-dd'" formControlName="settleTimeE"></nz-date-picker> |
|
|
|
<input type="text" nz-input formControlName="outTradeNo" /> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div nz-row> |
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
<div nz-col nzSpan="24" class="search-button"> |
|
|
|
<nz-form-item> |
|
|
|
<button nz-button nzType="primary"><i nz-icon nzType="search" nzTheme="outline"></i>搜索</button> |
|
|
|
<nz-form-label [nzSpan]="8">渠道交易号</nz-form-label> |
|
|
|
<button nz-button nzType="default" (click)="resetForm()"><i nz-icon nzType="reload" nzTheme="outline"></i>重置</button> |
|
|
|
<nz-form-control [nzSpan]="14"> |
|
|
|
|
|
|
|
<input type="text" nz-input formControlName="accTradeNo" /> |
|
|
|
|
|
|
|
</nz-form-control> |
|
|
|
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</form> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="inner-content"> |
|
|
|
<div nz-row> |
|
|
|
<article nz-typography> |
|
|
|
<div nz-col nzSpan="24" class="search-button"> |
|
|
|
<p> |
|
|
|
<button nz-button nzType="primary"><i nz-icon nzType="search" nzTheme="outline"></i>搜索</button> |
|
|
|
<span nz-typography nzType="warning"><strong>汇总:</strong></span> |
|
|
|
<button nz-button nzType="default" (click)="resetForm()"><i nz-icon nzType="reload" nzTheme="outline"></i>重置</button> |
|
|
|
笔数 <span nz-typography nzType="warning"><strong>{{dataObject.totalTradeNum}}</strong></span>、 |
|
|
|
</div> |
|
|
|
交易金额 <span nz-typography nzType="warning"><strong>{{dataObject.totalTradeAmount}}</strong></span> 元、 |
|
|
|
</div> |
|
|
|
手续费 <span nz-typography nzType="warning"><strong>{{dataObject.totalShdFeeAmount}}</strong></span> 元、 |
|
|
|
</form> |
|
|
|
应结算金额 <span nz-typography nzType="warning"><strong>{{dataObject.totalSettleAmount}}</strong></span> 元 |
|
|
|
</div> |
|
|
|
<button nz-button nzType="primary" style="float: right;" (click)="showPrint()">打印</button> |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
</article> |
|
|
|
|
|
|
|
<!--数组表格 --> |
|
|
|
|
|
|
|
<nz-table #basicTable |
|
|
|
|
|
|
|
nzBordered |
|
|
|
|
|
|
|
nzShowSizeChanger |
|
|
|
|
|
|
|
nzSize="middle" |
|
|
|
|
|
|
|
[nzData]="dataObject.settleDetailList" |
|
|
|
|
|
|
|
[nzTotal]="dataObject.settleDetailList.length" |
|
|
|
|
|
|
|
[nzLoading]="tableLoading" |
|
|
|
|
|
|
|
[nzScroll]="{ x: '595px'}"> |
|
|
|
|
|
|
|
<thead> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th nzWidth="90px">清算日期</th> |
|
|
|
|
|
|
|
<th nzWidth="100px">商户号</th> |
|
|
|
|
|
|
|
<th nzWidth="130px">商户名称</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">交易金额</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">清算金额</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">手续费</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">交易笔数</th> |
|
|
|
|
|
|
|
<!-- <th nzWidth="40px" nzRight="0px">操作</th>--> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</thead> |
|
|
|
|
|
|
|
<tbody> |
|
|
|
|
|
|
|
<tr *ngFor="let data of basicTable.data;let i = index"> |
|
|
|
|
|
|
|
<td>{{data.settleDay}}</td> |
|
|
|
|
|
|
|
<td>{{data.merNo}}</td> |
|
|
|
|
|
|
|
<td>{{data.merName}}</td> |
|
|
|
|
|
|
|
<td>{{data.tradeAmount}}</td> |
|
|
|
|
|
|
|
<td>{{data.settleAmount}}</td> |
|
|
|
|
|
|
|
<td>{{data.shdFeeAmount}}</td> |
|
|
|
|
|
|
|
<td>{{data.tradeNum}}</td> |
|
|
|
|
|
|
|
<!-- <td nzRight="0px" class="table-td-operation"> |
|
|
|
|
|
|
|
<a (click)="showDetailModal(data.settleDay)">明细</a> |
|
|
|
|
|
|
|
</td>--> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</tbody> |
|
|
|
|
|
|
|
</nz-table> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="inner-content"> |
|
|
|
|
|
|
|
<article nz-typography> |
|
|
|
|
|
|
|
<p> |
|
|
|
|
|
|
|
<span nz-typography nzType="warning"><strong>汇总:</strong></span> |
|
|
|
|
|
|
|
笔数 <span nz-typography nzType="warning"><strong>{{dataObject.totalTradeNum}}</strong></span>、 |
|
|
|
|
|
|
|
交易金额 <span nz-typography nzType="warning"><strong>{{dataObject.totalTradeAmount}}</strong></span> 元、 |
|
|
|
|
|
|
|
手续费 <span nz-typography nzType="warning"><strong>{{dataObject.totalShdFeeAmount}}</strong></span> 元、 |
|
|
|
|
|
|
|
应结算金额 <span nz-typography nzType="warning"><strong>{{dataObject.totalSettleAmount}}</strong></span> 元 |
|
|
|
|
|
|
|
<button nz-button nzType="primary" style="float: right;" (click)="download()">下载</button> |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
</article> |
|
|
|
|
|
|
|
<!--数组表格 --> |
|
|
|
|
|
|
|
<nz-table #basicTable |
|
|
|
|
|
|
|
nzBordered |
|
|
|
|
|
|
|
nzShowSizeChanger |
|
|
|
|
|
|
|
nzSize="small" |
|
|
|
|
|
|
|
[nzFrontPagination]="false" |
|
|
|
|
|
|
|
[nzData]="dataObject.settleDetailList.list" |
|
|
|
|
|
|
|
[nzTotal]="dataObject.settleDetailList.total" |
|
|
|
|
|
|
|
[nzLoading]="tableLoading" |
|
|
|
|
|
|
|
(nzPageIndexChange)="requestData($event, pageSize)" |
|
|
|
|
|
|
|
(nzPageSizeChange)="requestData(pageNum, $event)" |
|
|
|
|
|
|
|
[nzScroll]="{ x: '2150px'}" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<thead> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th nzWidth="35px">序号</th> |
|
|
|
|
|
|
|
<th nzWidth="120px">商户号</th> |
|
|
|
|
|
|
|
<th nzWidth="150px">商户名称</th> |
|
|
|
|
|
|
|
<th nzWidth="120px">交易时间</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">交易金额</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">交易手续费</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">应结算金额</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">交易类型</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">支付渠道</th> |
|
|
|
|
|
|
|
<th nzWidth="160px">商户交易号</th> |
|
|
|
|
|
|
|
<th nzWidth="160px">渠道交易号</th> |
|
|
|
|
|
|
|
<th nzWidth="80px">清算日期</th> |
|
|
|
|
|
|
|
<th nzWidth="60px">手续费率</th> |
|
|
|
|
|
|
|
<th nzWidth="160px">原商户交易号</th> |
|
|
|
|
|
|
|
<!-- <th nzWidth="40px" nzRight="0px">操作</th>--> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</thead> |
|
|
|
|
|
|
|
<tbody> |
|
|
|
|
|
|
|
<tr *ngFor="let data of basicTable.data;let i = index"> |
|
|
|
|
|
|
|
<td>{{i + 1}}</td> |
|
|
|
|
|
|
|
<td>{{data.merNo}}</td> |
|
|
|
|
|
|
|
<td>{{data.merName}}</td> |
|
|
|
|
|
|
|
<td>{{data.tradeTime | date:'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
|
|
|
|
<td>{{data.tradeType == 2?'-'+data.tradeAmount : data.tradeAmount}}</td> |
|
|
|
|
|
|
|
<td>{{data.tradeType == 2?'-'+data.shdFeeAmt : data.shdFeeAmt}}</td> |
|
|
|
|
|
|
|
<td>{{data.tradeType == 2?'-'+data.settleAmount : data.settleAmount}}</td> |
|
|
|
|
|
|
|
<td>{{data.tradeType | settleType }}</td> |
|
|
|
|
|
|
|
<td>{{data.payMode | payMode}}</td> |
|
|
|
|
|
|
|
<td>{{data.outTradeNo}}</td> |
|
|
|
|
|
|
|
<td>{{data.accTradeNo}}</td> |
|
|
|
|
|
|
|
<td>{{data.settleDate | date:'yyyy-MM-dd'}}</td> |
|
|
|
|
|
|
|
<td>{{data.feeRate + '%'}}</td> |
|
|
|
|
|
|
|
<td>{{data.orgOutTradeNo}}</td> |
|
|
|
|
|
|
|
<!-- <td nzRight="0px" class="table-td-operation"> |
|
|
|
|
|
|
|
<a (click)="showDetailModal(data.settleDay)">明细</a> |
|
|
|
|
|
|
|
</td>--> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</tbody> |
|
|
|
|
|
|
|
</nz-table> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</nz-spin> |
|
|
|
<nz-modal [nzVisible]="dataDetailModal" nzWidth="1000px" nzTitle="明细" [nzFooter]="null" (nzOnCancel)="closeDetailModal()"> |
|
|
|
<nz-modal [nzVisible]="dataDetailModal" nzWidth="1000px" nzTitle="明细" [nzFooter]="null" (nzOnCancel)="closeDetailModal()"> |
|
|
|
<nz-table #detailTable nzSize="middle" [nzData]="dataObject.settleDetailList"> |
|
|
|
<nz-table #detailTable nzSize="middle" [nzData]="dataObject.settleDetailList"> |
|
|
|
<thead> |
|
|
|
<thead> |
|
|
@ -121,7 +157,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--startprint--> |
|
|
|
<!--startprint--> |
|
|
|
<div id="print-content" style="display: none"> |
|
|
|
<!--<div id="print-content" style="display: none"> |
|
|
|
<nz-layout> |
|
|
|
<nz-layout> |
|
|
|
<nz-content> |
|
|
|
<nz-content> |
|
|
|
<div class="inner-content"> |
|
|
|
<div class="inner-content"> |
|
|
@ -139,7 +175,7 @@ |
|
|
|
应结算金额 <span nz-typography nzType="warning"><strong>{{dataObject.totalSettleAmount}}</strong></span> 元 |
|
|
|
应结算金额 <span nz-typography nzType="warning"><strong>{{dataObject.totalSettleAmount}}</strong></span> 元 |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</article> |
|
|
|
</article> |
|
|
|
<!--数组表格 --> |
|
|
|
<!–数组表格 –> |
|
|
|
<nz-table #basicTable |
|
|
|
<nz-table #basicTable |
|
|
|
nzBordered |
|
|
|
nzBordered |
|
|
|
nzSize="middle" |
|
|
|
nzSize="middle" |
|
|
@ -156,7 +192,7 @@ |
|
|
|
<th nzWidth="80px">清算金额</th> |
|
|
|
<th nzWidth="80px">清算金额</th> |
|
|
|
<th nzWidth="80px">手续费</th> |
|
|
|
<th nzWidth="80px">手续费</th> |
|
|
|
<th nzWidth="80px">交易笔数</th> |
|
|
|
<th nzWidth="80px">交易笔数</th> |
|
|
|
<!-- <th nzWidth="40px" nzRight="0px">操作</th>--> |
|
|
|
<!– <th nzWidth="40px" nzRight="0px">操作</th>–> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
@ -168,9 +204,9 @@ |
|
|
|
<td>{{data.settleAmount}}</td> |
|
|
|
<td>{{data.settleAmount}}</td> |
|
|
|
<td>{{data.shdFeeAmount}}</td> |
|
|
|
<td>{{data.shdFeeAmount}}</td> |
|
|
|
<td>{{data.tradeNum}}</td> |
|
|
|
<td>{{data.tradeNum}}</td> |
|
|
|
<!--<td nzRight="0px" class="table-td-operation"> |
|
|
|
<!–<td nzRight="0px" class="table-td-operation"> |
|
|
|
<a [routerLink]="['/admin/agent/detail']" [queryParams]="{agentId: data.id}">明细</a> |
|
|
|
<a [routerLink]="['/admin/agent/detail']" [queryParams]="{agentId: data.id}">明细</a> |
|
|
|
</td>--> |
|
|
|
</td>–> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
|
</nz-table> |
|
|
|
</nz-table> |
|
|
@ -178,6 +214,6 @@ |
|
|
|
<img style="z-index: 0;margin: -150px 0px 0px 75%; position: absolute;width: 175px;height: 150px;" src="https://pay.dctpay.com/filesystem/b6b7e8860b6135101334aa840eb7e17d.png"> |
|
|
|
<img style="z-index: 0;margin: -150px 0px 0px 75%; position: absolute;width: 175px;height: 150px;" src="https://pay.dctpay.com/filesystem/b6b7e8860b6135101334aa840eb7e17d.png"> |
|
|
|
</nz-content> |
|
|
|
</nz-content> |
|
|
|
</nz-layout> |
|
|
|
</nz-layout> |
|
|
|
</div> |
|
|
|
</div>--> |
|
|
|
<!--endprint--> |
|
|
|
<!--endprint--> |
|
|
|
|
|
|
|
|
|
|
|