|
|
@ -132,13 +132,13 @@ |
|
|
|
<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 style="float: left;width: 100%;margin-bottom: 10px;" *ngIf="(secUser['objectType'] == 3 || secUser['objectType'] == 8) && data.printStatus == false" (click)="showPrintModal(data.orderId, data)">打印小票</a> |
|
|
|
<a style="float: left;width: 100%;margin-bottom: 10px;" *ngIf="BTN_GAS_ORDER_PRINT && (secUser['objectType'] == 3 || secUser['objectType'] == 8) && data.printStatus == false" (click)="showPrintModal(data.orderId, data)">打印小票</a> |
|
|
|
<a style="float: left;width: 100%;margin-bottom: 10px;" *ngIf="(secUser['objectType'] == 3 || secUser['objectType'] == 8) && data.printStatus == true" (click)="showPrintModal(data.orderId, data)">已打印({{data.printNum+'次'}})</a> |
|
|
|
<a style="float: left;width: 100%;margin-bottom: 10px;" *ngIf="BTN_GAS_ORDER_PRINT && (secUser['objectType'] == 3 || secUser['objectType'] == 8) && data.printStatus == true" (click)="showPrintModal(data.orderId, data)">已打印({{data.printNum+'次'}})</a> |
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu">操作列表<i nz-icon nzType="down"></i></a> |
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu">操作列表<i nz-icon nzType="down"></i></a> |
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
<ul nz-menu nzSelectable> |
|
|
|
<ul nz-menu nzSelectable> |
|
|
|
<li nz-menu-item><a (click)="getDetail(data.orderNo)">详情</a></li> |
|
|
|
<li nz-menu-item><a (click)="getDetail(data.orderNo)">详情</a></li> |
|
|
|
<li nz-menu-item *ngIf="(secUser['objectType'] == 3) && (data.status == 2 || data.status == 3)" ><a (click)="showModal(data.orderId)">退款</a></li> |
|
|
|
<li nz-menu-item *ngIf="BTN_GAS_ORDER_REFUND && (secUser['objectType'] == 3) && (data.status == 2 || data.status == 3)" ><a (click)="showModal(data.orderId)">退款</a></li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</nz-dropdown-menu> |
|
|
|
</nz-dropdown-menu> |
|
|
|
</td> |
|
|
|
</td> |
|
|
@ -156,7 +156,7 @@ |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
|
</nz-modal> |
|
|
|
</nz-modal> |
|
|
|
|
|
|
|
|
|
|
|
<nz-modal [(nzVisible)]="isVisibleDetail" nzTitle="订单详情" nzWidth="900" (nzOnCancel)="isVisibleDetail= false" (nzOnOk)="isVisibleDetail= false"> |
|
|
|
<nz-modal [(nzVisible)]="isVisibleDetail" nzTitle="订单详情" nzWidth="900" (nzOnCancel)="isVisibleDetail= false" (nzOnOk)="isVisibleDetail= false" [nzFooter]="null"> |
|
|
|
<nz-descriptions nzBordered [nzColumn]="{ xxl: 3, xl: 2, lg: 2, md: 2, sm: 2, xs: 1 }"> |
|
|
|
<nz-descriptions nzBordered [nzColumn]="{ xxl: 3, xl: 2, lg: 2, md: 2, sm: 2, xs: 1 }"> |
|
|
|
<nz-descriptions-item nzTitle="油站名称">{{data['gasName']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="油站名称">{{data['gasName']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="油站地址">{{data['gasAddress']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="油站地址">{{data['gasAddress']}}</nz-descriptions-item> |
|
|
@ -168,13 +168,13 @@ |
|
|
|
<nz-descriptions-item nzTitle="优惠价">{{data['gasPricePreferences']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="优惠价">{{data['gasPricePreferences']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="加油升数">{{data['gasOilLiters']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="加油升数">{{data['gasOilLiters']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="加油金额">{{data['totalPrice']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="加油金额">{{data['totalPrice']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="支付金额">{{data['payRealPrice']}}</nz-descriptions-item> |
|
|
|
|
|
|
|
<nz-descriptions-item nzTitle="优惠金额">{{data['deductionPrice']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="优惠金额">{{data['deductionPrice']}}</nz-descriptions-item> |
|
|
|
|
|
|
|
<nz-descriptions-item nzTitle="支付金额">{{data['payRealPrice']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="加油折扣">{{data['gasDiscount']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="加油折扣">{{data['gasDiscount']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="加油补贴">{{data['gasOilSubsidy']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="加油补贴">{{data['gasOilSubsidy']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="每升优惠">{{data['gasLitersPreferences']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="每升优惠">{{data['gasLitersPreferences']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="生成时间">{{data['createTime'] | date: 'yyyy-MM-dd HH:mm:ss'}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="生成时间">{{data['createTime'] | date: 'yyyy-MM-dd HH:mm:ss'}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="状态">{{data['status'] | rechargeStatus}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item nzTitle="状态">{{data['status'] | gasOrderStatus}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item *ngIf="data['status'] == 4" nzTitle="退款金额">{{data['refundPrice']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item *ngIf="data['status'] == 4" nzTitle="退款金额">{{data['refundPrice']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item *ngIf="data['status'] == 4" nzTitle="退款时间">{{data['refundTime'] | date: 'yyyy-MM-dd HH:mm:ss'}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item *ngIf="data['status'] == 4" nzTitle="退款时间">{{data['refundTime'] | date: 'yyyy-MM-dd HH:mm:ss'}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item *ngIf="data['status'] == 4" nzTitle="退款原因">{{data['refundContent']}}</nz-descriptions-item> |
|
|
|
<nz-descriptions-item *ngIf="data['status'] == 4" nzTitle="退款原因">{{data['refundContent']}}</nz-descriptions-item> |
|
|
|