|
|
|
@ -35,6 +35,18 @@ |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
</div> |
|
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6">充值类型</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="rechargeType" nzPlaceHolder="请选择充值类型"> |
|
|
|
|
<nz-option nzLabel="快充" nzValue="1"></nz-option> |
|
|
|
|
<nz-option nzLabel="慢充" nzValue="2"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6">支付方式</nz-form-label> |
|
|
|
@ -113,6 +125,15 @@ |
|
|
|
|
<div class="inner-content"> |
|
|
|
|
<span>共计 {{total}} 条数据</span> |
|
|
|
|
<div class="operating-button"> |
|
|
|
|
<nz-upload |
|
|
|
|
[nzAccept]="'.xls,.xlsx'" |
|
|
|
|
nzAction="{{WEB_SERVE_URL}}outRechargeOrder/importRechargeOrder" |
|
|
|
|
[nzHeaders]="{ authorization: 'authorization-text' }" |
|
|
|
|
(nzChange)="handleChange($event)" |
|
|
|
|
[nzShowUploadList]="false" |
|
|
|
|
> |
|
|
|
|
<button nz-button nzType="primary" ><i nz-icon nzType="import" nzTheme="outline"></i>导入充值订单</button> |
|
|
|
|
</nz-upload> |
|
|
|
|
<button nz-button nzType="primary" class="right-btn" (click)="downloadTemplate(searchForm.value)" ><i nz-icon nzType="download" nzTheme="outline"></i>导出订单</button> |
|
|
|
|
</div> |
|
|
|
|
<nz-table |
|
|
|
@ -161,9 +182,9 @@ |
|
|
|
|
<td nzRight>{{data.status | rechargeStatus}}</td> |
|
|
|
|
<td nzRight class="table-td-operation"> |
|
|
|
|
<a (click)="getDetail(data.id)">详情</a> |
|
|
|
|
<a *ngIf="data.status === 2" (click)="finishOrder(data.id)">完成充值</a> |
|
|
|
|
<!-- <a *ngIf="data.status === 2 && data.payType !== 3" (click)="orderToRefund(data.id)">退款</a>--> |
|
|
|
|
<a *ngIf="data.status === 2 && data.payType !== 3" (click)="postRefund(data.orderNo)">申请退款</a> |
|
|
|
|
<!-- <a *ngIf="data.status === 2" (click)="finishOrder(data.id)">完成充值</a>--> |
|
|
|
|
<!--<!– <a *ngIf="data.status === 2 && data.payType !== 3" (click)="orderToRefund(data.id)">退款</a>–>--> |
|
|
|
|
<!-- <a *ngIf="data.status === 2 && data.payType !== 3" (click)="postRefund(data.orderNo)">申请退款</a>--> |
|
|
|
|
</td> |
|
|
|
|
</tbody> |
|
|
|
|
</nz-table> |
|
|
|
@ -194,3 +215,41 @@ |
|
|
|
|
</div> |
|
|
|
|
</nz-modal> |
|
|
|
|
|
|
|
|
|
<nz-modal [(nzVisible)]="errorStudentVisible" nzTitle="导入失败数据" (nzOnCancel)="errorStudentVisible = false" nzWidth="1200px" [nzFooter]="null"> |
|
|
|
|
<nz-table #errorStudentTable [nzData]="importErrorStudentArray" [nzScroll]="{ x: '1200px' }"> |
|
|
|
|
<thead> |
|
|
|
|
<tr> |
|
|
|
|
<th nzWidth="80px">序号</th> |
|
|
|
|
<th nzWidth="150px">订单号</th> |
|
|
|
|
<th nzWidth="150px">用户昵称</th> |
|
|
|
|
<th nzWidth="150px">用户联系方式</th> |
|
|
|
|
<th nzWidth="150px">充值类型</th> |
|
|
|
|
<th nzWidth="150px">充值内容</th> |
|
|
|
|
<th nzWidth="150px">支付方式</th> |
|
|
|
|
<th nzWidth="150px">卡号</th> |
|
|
|
|
<th nzWidth="150px">订单金额</th> |
|
|
|
|
<th nzWidth="150px">应付金额</th> |
|
|
|
|
<th nzWidth="150px">订单状态</th> |
|
|
|
|
<th nzWidth="150px">支付时间</th> |
|
|
|
|
<th nzWidth="300px">原因</th> |
|
|
|
|
</tr> |
|
|
|
|
</thead> |
|
|
|
|
<tbody> |
|
|
|
|
<tr *ngFor="let data of errorStudentTable.data;let i = index"> |
|
|
|
|
<td>{{ i + 1}}</td> |
|
|
|
|
<td>{{data.orderNo}}</td> |
|
|
|
|
<td>{{data.userName}}</td> |
|
|
|
|
<td>{{data.userPhone}}</td> |
|
|
|
|
<td>{{data.rechargeModelName}}</td> |
|
|
|
|
<td>{{data.rechargeContent}}</td> |
|
|
|
|
<td>{{data.payTypeName}}</td> |
|
|
|
|
<td>{{data.cardNo}}</td> |
|
|
|
|
<td>{{data.orderPrice}}</td> |
|
|
|
|
<td>{{data.payRealPrice}}</td> |
|
|
|
|
<td>{{data.statusName}}</td> |
|
|
|
|
<td>{{data.payTime}}</td> |
|
|
|
|
<td>{{data.errorMessage}}</td> |
|
|
|
|
</tr> |
|
|
|
|
</tbody> |
|
|
|
|
</nz-table> |
|
|
|
|
</nz-modal> |
|
|
|
|