|
|
|
@ -137,6 +137,19 @@ |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="8">异常状态</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="14"> |
|
|
|
|
<nz-select nzAllowClear formControlName="exceptionStatus"> |
|
|
|
|
<nz-option nzValue="0" nzLabel="正常"></nz-option> |
|
|
|
|
<nz-option nzValue="1" nzLabel="异常"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div nz-row> |
|
|
|
@ -191,45 +204,70 @@ |
|
|
|
|
<th nzWidth="180px">创建时间</th> |
|
|
|
|
<th nzWidth="180px">支付时间</th> |
|
|
|
|
<th nzWidth="180px">完成时间</th> |
|
|
|
|
<th nzWidth="100px">异常状态</th> |
|
|
|
|
<th nzWidth="110px" nzRight="0px">操作</th> |
|
|
|
|
</tr> |
|
|
|
|
</thead> |
|
|
|
|
<tbody> |
|
|
|
|
<tr *ngFor="let data of basicTable.data;let i = index"> |
|
|
|
|
<td *ngIf="roleType == 0 || roleType == 1">{{data.companyName}}</td> |
|
|
|
|
<td>{{data.orderNo}}</td> |
|
|
|
|
<td>{{data.memPhone}}</td> |
|
|
|
|
<td>{{data.couponKey}}</td> |
|
|
|
|
<td>{{data.couponName}}</td> |
|
|
|
|
<td>¥{{data.couponPrice}}</td> |
|
|
|
|
<td>{{data.couponSource}}</td> |
|
|
|
|
<td>¥{{data.totalPrice}}</td> |
|
|
|
|
<td>¥{{data.totalDeductionPrice}}</td> |
|
|
|
|
<td>¥{{data.deductionCouponPrice}}</td> |
|
|
|
|
<td>¥{{data.deductionProductPrice}}</td> |
|
|
|
|
<td>¥{{data.payablePrice}}</td> |
|
|
|
|
<td>¥{{data.payGold / 100}}</td> |
|
|
|
|
<td>¥{{data.payPrice}}</td> |
|
|
|
|
<td>{{data.payType}}</td> |
|
|
|
|
<td>{{data.memCardNo}}</td> |
|
|
|
|
<td>{{data.orderStatus}}</td> |
|
|
|
|
<td>{{data.createTime | date : 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
|
<td>{{data.payTime | date : 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
|
<td>{{data.finishTime | date : 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
|
<td nzRight="0px" class="table-td-operation"> |
|
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu"> 操作列表 <i nz-icon nzType="down"></i> </a> |
|
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
|
<ul nz-menu nzSelectable> |
|
|
|
|
<li nz-menu-item (click)="showOrderDetail(data.orderNo)"><a>详情</a></li> |
|
|
|
|
</ul> |
|
|
|
|
</nz-dropdown-menu> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr *ngFor="let data of basicTable.data;let i = index" [style]="{ color: data.color}"> |
|
|
|
|
<td *ngIf="roleType == 0 || roleType == 1">{{data.companyName}}</td> |
|
|
|
|
<td>{{data.orderNo}}</td> |
|
|
|
|
<td>{{data.memPhone}}</td> |
|
|
|
|
<td>{{data.couponKey}}</td> |
|
|
|
|
<td>{{data.couponName}}</td> |
|
|
|
|
<td>¥{{data.couponPrice}}</td> |
|
|
|
|
<td>{{data.couponSource}}</td> |
|
|
|
|
<td>¥{{data.totalPrice}}</td> |
|
|
|
|
<td>¥{{data.totalDeductionPrice}}</td> |
|
|
|
|
<td>¥{{data.deductionCouponPrice}}</td> |
|
|
|
|
<td>¥{{data.deductionProductPrice}}</td> |
|
|
|
|
<td>¥{{data.payablePrice}}</td> |
|
|
|
|
<td>¥{{data.payGold / 100}}</td> |
|
|
|
|
<td>¥{{data.payPrice}}</td> |
|
|
|
|
<td>{{data.payType}}</td> |
|
|
|
|
<td>{{data.memCardNo}}</td> |
|
|
|
|
<td>{{data.orderStatus}}</td> |
|
|
|
|
<td>{{data.createTime | date : 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
|
<td>{{data.payTime | date : 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
|
<td>{{data.finishTime | date : 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
|
<td>{{data.exceptionStatus}}</td> |
|
|
|
|
<td nzRight="0px" class="table-td-operation"> |
|
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu"> 操作列表 <i nz-icon nzType="down"></i> </a> |
|
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
|
<ul nz-menu nzSelectable> |
|
|
|
|
<li nz-menu-item (click)="showOrderDetail(data.orderNo)"><a>交易详情</a></li> |
|
|
|
|
<li *ngIf="data.exceptionStatus != '正常' && REFUND_COUPON_BTN == true" nz-menu-item (click)="showRefund(data.orderNo)"><a>交易退款</a></li> |
|
|
|
|
</ul> |
|
|
|
|
</nz-dropdown-menu> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</tbody> |
|
|
|
|
</nz-table> |
|
|
|
|
</div> |
|
|
|
|
</nz-spin> |
|
|
|
|
|
|
|
|
|
<nz-modal [(nzVisible)]="refundModal" nzTitle="交易退款" (nzOnCancel)="closeRefund()" [nzFooter]="null" nzWidth="800px"> |
|
|
|
|
<nz-spin [nzSpinning]="loadingObject.spinning" [nzTip]="loadingObject.msg"> |
|
|
|
|
<form nz-form [formGroup]="refundForm"> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label>交易单号</nz-form-label> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<input nz-input formControlName="orderNo" /> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label>退款备注</nz-form-label> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<textarea rows="4" nz-input formControlName="remarks" maxlength="100"></textarea> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<div style="text-align: center;"> |
|
|
|
|
<button nz-button [nzType]="'primary'" (click)="submitRefundConfirm()">提交退款</button> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|
</nz-spin> |
|
|
|
|
</nz-modal> |
|
|
|
|
|
|
|
|
|
<nz-modal [(nzVisible)]="orderDetailModal" nzTitle="交易详情" (nzOnCancel)="closeOrderDetail()" [nzFooter]="null" |
|
|
|
|
nzWidth="1000px" [nzBodyStyle]=" { padding: '5px 5px 30px 5px'}"> |
|
|
|
|