|
|
@ -27,38 +27,50 @@ |
|
|
|
<nz-form-label [nzSpan]="6">充值类型</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6">充值类型</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="rechargeModel" nzPlaceHolder="请选择订单状态"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="rechargeModel" nzPlaceHolder="请选择订单状态"> |
|
|
|
<nz-option nzLabel="话费充值" nzValue="1"></nz-option> |
|
|
|
<nz-option nzLabel="电信充值" nzValue="1"></nz-option> |
|
|
|
<nz-option nzLabel="中石化" nzValue="2"></nz-option> |
|
|
|
<nz-option nzLabel="移动充值" nzValue="2"></nz-option> |
|
|
|
<nz-option nzLabel="中石油" nzValue="3"></nz-option> |
|
|
|
<nz-option nzLabel="联通充值" nzValue="3"></nz-option> |
|
|
|
</nz-select> |
|
|
|
</nz-select> |
|
|
|
</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]="6">充值内容</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6">支付方式</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
<input nz-input placeholder="请输入充值号码/充值卡号..." [formControlName]="'rechargeContent'" /> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="payType" nzPlaceHolder="支付方式"> |
|
|
|
|
|
|
|
<nz-option nzLabel="微信" nzValue="1"></nz-option> |
|
|
|
|
|
|
|
<nz-option nzLabel="工会卡" nzValue="2"></nz-option> |
|
|
|
|
|
|
|
<nz-option nzLabel="积分" nzValue="3"></nz-option> |
|
|
|
|
|
|
|
</nz-select> |
|
|
|
</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]="6">订单号</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6">充值号码</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
<input nz-input placeholder="请输入订单号..." [formControlName]="'orderNo'" /> |
|
|
|
<input nz-input placeholder="请输入充值号码..." [formControlName]="'rechargeContent'" /> |
|
|
|
</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]="6">用户电话</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6">订单号</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
<input nz-input placeholder="请输入用户电话..." [formControlName]="'userPhone'" /> |
|
|
|
<input nz-input placeholder="请输入订单号..." [formControlName]="'orderNo'" /> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <div nz-col nzSpan="8">--> |
|
|
|
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
|
|
|
<!-- <nz-form-label [nzSpan]="6">用户电话</nz-form-label>--> |
|
|
|
|
|
|
|
<!-- <nz-form-control [nzSpan]="16">--> |
|
|
|
|
|
|
|
<!-- <input nz-input placeholder="请输入用户电话..." [formControlName]="'userPhone'" />--> |
|
|
|
|
|
|
|
<!-- </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]="6">支付时间</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6">支付时间</nz-form-label> |
|
|
@ -67,14 +79,14 @@ |
|
|
|
</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]="6">创建时间</nz-form-label> |
|
|
|
<!-- <nz-form-label [nzSpan]="6">创建时间</nz-form-label>--> |
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
<!-- <nz-form-control [nzSpan]="16">--> |
|
|
|
<nz-range-picker [nzShowTime]="{ nzFormat: 'HH:mm' }" formControlName="createTime"></nz-range-picker> |
|
|
|
<!-- <nz-range-picker [nzShowTime]="{ nzFormat: 'HH:mm' }" formControlName="createTime"></nz-range-picker>--> |
|
|
|
</nz-form-control> |
|
|
|
<!-- </nz-form-control>--> |
|
|
|
</nz-form-item> |
|
|
|
<!-- </nz-form-item>--> |
|
|
|
</div> |
|
|
|
<!-- </div>--> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div nz-row> |
|
|
|
<div nz-row> |
|
|
@ -117,6 +129,7 @@ |
|
|
|
<th nzWidth="100px">充值金额</th> |
|
|
|
<th nzWidth="100px">充值金额</th> |
|
|
|
<th nzWidth="100px">支付金额</th> |
|
|
|
<th nzWidth="100px">支付金额</th> |
|
|
|
<th nzWidth="140px">生成时间</th> |
|
|
|
<th nzWidth="140px">生成时间</th> |
|
|
|
|
|
|
|
<th nzWidth="100px" nzRight>支付方式</th> |
|
|
|
<th nzWidth="100px" nzRight>状态</th> |
|
|
|
<th nzWidth="100px" nzRight>状态</th> |
|
|
|
<th nzWidth="200px" nzRight>操作</th> |
|
|
|
<th nzWidth="200px" nzRight>操作</th> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
@ -132,11 +145,12 @@ |
|
|
|
<td>{{data.orderPrice}}</td> |
|
|
|
<td>{{data.orderPrice}}</td> |
|
|
|
<td>{{data.payPrice}}</td> |
|
|
|
<td>{{data.payPrice}}</td> |
|
|
|
<td>{{data.createTimed | date: 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
<td>{{data.createTimed | date: 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
|
|
|
|
<td nzRight>{{data.payType | rechargePayType}}</td> |
|
|
|
<td nzRight>{{data.status | rechargeStatus}}</td> |
|
|
|
<td nzRight>{{data.status | rechargeStatus}}</td> |
|
|
|
<td nzRight class="table-td-operation"> |
|
|
|
<td nzRight class="table-td-operation"> |
|
|
|
<a (click)="getDetail(data.id)">详情</a> |
|
|
|
<a (click)="getDetail(data.id)">详情</a> |
|
|
|
<a *ngIf="data.status === 2" (click)="finishOrder(data.id)">完成充值</a> |
|
|
|
<a *ngIf="data.status === 2" (click)="finishOrder(data.id)">完成充值</a> |
|
|
|
<a *ngIf="data.status === 2" (click)="orderToRefund(data.id)">退款</a> |
|
|
|
<a *ngIf="data.status === 2 && data.payType !== 3" (click)="orderToRefund(data.id)">退款</a> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
|
</nz-table> |
|
|
|
</nz-table> |
|
|
|