|
|
|
@ -110,7 +110,7 @@ |
|
|
|
|
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm:ss'}}</td> |
|
|
|
|
<td nzRight>{{data.status | orderCouponStatus}}</td> |
|
|
|
|
<td nzRight class="table-td-operation"> |
|
|
|
|
<!-- <a style="float: left;width: 100%;margin-bottom: 10px;" (click)="showPrintModal(data)">打印小票</a>--> |
|
|
|
|
<a style="float: left;width: 100%;margin-bottom: 10px;" (click)="showPrintDiv(data)">打印小票</a> |
|
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu">操作列表<i nz-icon nzType="down"></i></a> |
|
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
|
<ul nz-menu nzSelectable> |
|
|
|
@ -159,82 +159,143 @@ |
|
|
|
|
|
|
|
|
|
</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 id="div_print"> |
|
|
|
|
<div style="float: left;margin-bottom: 150px;"> |
|
|
|
|
<div style="line-height: 30px; color:#000;"> |
|
|
|
|
<span style="font-size: 13px;float: left;width: 100%;">{{printDataObject.gasName}}</span> |
|
|
|
|
<span style="font-size: 13px;float: left;width: 100%;margin-left: 60px;">(客户存根)</span> |
|
|
|
|
</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> |
|
|
|
|
<table style="width: 100%;"> |
|
|
|
|
<tbody> |
|
|
|
|
<tr><td class="print_td">---------------------------------------------------</td></tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">流水号:<span>{{printDataObject.orderNo}}</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr><td class="print_td">---------------------------------------------------</td></tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">时间:<span>{{printDataObject.createTime | date: 'yyyy-MM-dd HH:mm:ss'}}</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">来源:<span>嗨森逛</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">油枪:<span>{{printDataObject.gasGunNo}}</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">油品:<span>{{printDataObject.gasOilNo}}</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">升数:<span>{{printDataObject.gasOilLiters}}升</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">实际加油升数以油站加油机为准!</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr><td style="float: left;margin-top: 10px;font-size: 30px;color: black">加油金额</td></tr> |
|
|
|
|
<tr><td style="font-size: 30px;color: black">¥{{printDataObject.oilPrice}}元</td></tr> |
|
|
|
|
<tr><td class="print_td">---------------------------------------------------</td></tr> |
|
|
|
|
<tr><td style="float: left;color: black;margin-left: 35px;">开心又省钱; 来”嗨森逛“</td></tr> |
|
|
|
|
</tbody> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
</nz-modal> |
|
|
|
|
<div style="float: left;margin-bottom: 50px;"> |
|
|
|
|
<div style="line-height: 30px; color:#000;"> |
|
|
|
|
<span style="font-size: 13px;float: left;width: 100%;">{{printDataObject.gasName}}</span> |
|
|
|
|
<span style="font-size: 13px;float: left;width: 100%;margin-left: 60px;">(收银员存根)</span> |
|
|
|
|
</div> |
|
|
|
|
<table style="width: 100%;"> |
|
|
|
|
<tbody> |
|
|
|
|
<tr><td class="print_td">---------------------------------------------------</td></tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">流水号:<span>{{printDataObject.orderNo}}</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr><td class="print_td">---------------------------------------------------</td></tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">时间:<span>{{printDataObject.createTime | date: 'yyyy-MM-dd HH:mm:ss'}}</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">来源:<span>嗨森逛</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">油枪:<span>{{printDataObject.gasGunNo}}</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">油品:<span>{{printDataObject.gasOilNo}}</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">升数:<span>{{printDataObject.gasOilLiters}}升</span></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td class="print_td">实际加油升数以油站加油机为准!</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr><td style="float: left;margin-top: 10px;font-size: 30px;color: black">加油金额</td></tr> |
|
|
|
|
<tr><td style="font-size: 30px;color: black">¥{{printDataObject.oilPrice}}元</td></tr> |
|
|
|
|
<tr><td class="print_td">---------------------------------------------------</td></tr> |
|
|
|
|
<tr><td style="float: left;color: black;margin-left: 35px;">开心又省钱; 来”嗨森逛“</td></tr> |
|
|
|
|
</tbody> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
<!– <table border=1 cellspacing=0 cellpadding=1 width="100%" style="border-collapse:collapse" bordercolor="#333333"> |
|
|
|
|
<thead> |
|
|
|
|
<tr> |
|
|
|
|
<td width="10%"> |
|
|
|
|
<div align=center><b>表格页眉</b></div> |
|
|
|
|
</td> |
|
|
|
|
<td width="25%"> |
|
|
|
|
<div align=center><b>品名</b></div> |
|
|
|
|
</td> |
|
|
|
|
<td width="10%"> |
|
|
|
|
<div align=center><b>颜色</b></div> |
|
|
|
|
</td> |
|
|
|
|
<td width="10%"> |
|
|
|
|
<div align=center><b>规格</b></div> |
|
|
|
|
</td> |
|
|
|
|
<td width="10%"> |
|
|
|
|
<div align=center><b>数量</b></div> |
|
|
|
|
</td> |
|
|
|
|
<td width="15%"> |
|
|
|
|
<div align=center><b>单价</b></div> |
|
|
|
|
</td> |
|
|
|
|
<td width="20%"> |
|
|
|
|
<div align=center><b>金额</b></div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</thead> |
|
|
|
|
<tbody> |
|
|
|
|
<tr> |
|
|
|
|
<td> 1</td> |
|
|
|
|
<td>名称01</td> |
|
|
|
|
<td>浅灰色</td> |
|
|
|
|
<td>185/10</td> |
|
|
|
|
<td>1</td> |
|
|
|
|
<td>248.00</td> |
|
|
|
|
<td>248.00</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td> 2</td> |
|
|
|
|
<td>名称02</td> |
|
|
|
|
<td>浅灰色</td> |
|
|
|
|
<td>185/10</td> |
|
|
|
|
<td>1</td> |
|
|
|
|
<td>248.00</td> |
|
|
|
|
<td>248.00</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td> 3</td> |
|
|
|
|
<td>名称03</td> |
|
|
|
|
<td>浅灰色</td> |
|
|
|
|
<td>185/10</td> |
|
|
|
|
<td>1</td> |
|
|
|
|
<td>248.00</td> |
|
|
|
|
<td>248.00</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td> 4</td> |
|
|
|
|
<td>名称04</td> |
|
|
|
|
<td>浅灰色</td> |
|
|
|
|
<td>185/10</td> |
|
|
|
|
<td>1</td> |
|
|
|
|
<td>248.00</td> |
|
|
|
|
<td>248.00</td> |
|
|
|
|
</tr> |
|
|
|
|
</table>–> |
|
|
|
|
</div>--> |
|
|
|
|