|
|
@ -76,7 +76,7 @@ |
|
|
|
(nzPageSizeChange)="getRequest(false , searchForm.value)"> |
|
|
|
(nzPageSizeChange)="getRequest(false , searchForm.value)"> |
|
|
|
<thead nzSingleSort> |
|
|
|
<thead nzSingleSort> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<th nzWidth="50px">编号</th> |
|
|
|
<th nzWidth="60px">编号</th> |
|
|
|
<th nzWidth="200px">订单号</th> |
|
|
|
<th nzWidth="200px">订单号</th> |
|
|
|
<th nzWidth="180px">油站名称</th> |
|
|
|
<th nzWidth="180px">油站名称</th> |
|
|
|
<th nzWidth="90px">类型</th> |
|
|
|
<th nzWidth="90px">类型</th> |
|
|
@ -89,8 +89,8 @@ |
|
|
|
<th nzWidth="90px">支付金额</th> |
|
|
|
<th nzWidth="90px">支付金额</th> |
|
|
|
<th nzWidth="90px">优惠金额</th> |
|
|
|
<th nzWidth="90px">优惠金额</th> |
|
|
|
<th nzWidth="120px">创建时间</th> |
|
|
|
<th nzWidth="120px">创建时间</th> |
|
|
|
<th nzRight nzWidth="90px">状态</th> |
|
|
|
<th nzRight nzWidth="80px">状态</th> |
|
|
|
<th nzWidth="120px" nzRight>操作</th> |
|
|
|
<th nzWidth="105px" nzRight>操作</th> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
@ -110,9 +110,14 @@ |
|
|
|
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
<td nzRight>{{data.status | orderCouponStatus}}</td> |
|
|
|
<td nzRight>{{data.status | orderCouponStatus}}</td> |
|
|
|
<td nzRight class="table-td-operation"> |
|
|
|
<td nzRight class="table-td-operation"> |
|
|
|
<a (click)="getDetail(data.orderNo)">详情</a> |
|
|
|
<!-- <a style="float: left;width: 100%;margin-bottom: 10px;" (click)="showPrintModal(data)">打印小票</a>--> |
|
|
|
<nz-divider *ngIf="(secUser['objectType'] != 8) && (data.status == 2 || data.status == 3)" nzType="vertical" ></nz-divider> |
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu">操作列表<i nz-icon nzType="down"></i></a> |
|
|
|
<a *ngIf="(secUser['objectType'] != 8) && (data.status == 2 || data.status == 3)" (click)="showModal(data.orderId)">退款</a> |
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
|
|
|
|
<ul nz-menu nzSelectable> |
|
|
|
|
|
|
|
<li nz-menu-item><a (click)="getDetail(data.orderNo)">详情</a></li> |
|
|
|
|
|
|
|
<li nz-menu-item *ngIf="(secUser['objectType'] != 8) && (data.status == 2 || data.status == 3)" ><a (click)="showModal(data.orderId)">退款</a></li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
</nz-dropdown-menu> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
|
</nz-table> |
|
|
|
</nz-table> |
|
|
@ -153,3 +158,83 @@ |
|
|
|
</nz-descriptions> |
|
|
|
</nz-descriptions> |
|
|
|
|
|
|
|
|
|
|
|
</nz-modal> |
|
|
|
</nz-modal> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<nz-modal [(nzVisible)]="printModal" nzTitle="订单详情" nzWidth="58mm" [nzBodyStyle]="{ width: '58mm', height: '210mm'}" (nzOnCancel)="closePrintModal()"> |
|
|
|
|
|
|
|
<div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> <div nz-row [nzGutter]="16"> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">油站名称</div></div> |
|
|
|
|
|
|
|
<div nz-col class="gutter-row" [nzSpan]="12"><div class="inner-box">{{printData['gasName']}}</div></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</nz-modal> |
|
|
|