提交代码

dev
胡锐 1 year ago
parent 86d1116d1a
commit 63e6cb7afa
  1. 16
      src/app/admin/statistics/coupon-use/coupon-use.component.html

@ -40,6 +40,10 @@
使用数量 <span nz-typography nzType="warning"><strong>{{countObject.useNum}}</strong></span>
使用金额 <span nz-typography nzType="warning"><strong>{{countObject.usePrice}}</strong></span> 元、
使用率 <span nz-typography nzType="warning"><strong>{{countObject.useRate}}</strong></span> %
<span>
(推送数量 <span nz-typography nzType="warning"><strong>{{countObject.sendNum}}</strong></span>
推送金额 <span nz-typography nzType="warning"><strong>{{countObject.sendPrice}}</strong></span> 元)
</span>
</p>
</article>
<nz-table #basicTable
@ -49,7 +53,7 @@
[nzTotal]="dataObject.total"
[nzLoading]="tableLoading"
(nzPageIndexChange)="pageIndexChange($event)"
[nzScroll]="{ x: '900px'}"
[nzScroll]="{ x: '1500px'}"
>
<thead>
<tr>
@ -59,9 +63,11 @@
<th nzWidth="100px">制作时间</th>
<th nzWidth="80px">过期时间</th>
<th nzWidth="60px">批次数量</th>
<th nzWidth="60px">使用数量</th>
<th nzWidth="60px">已领取</th>
<th nzWidth="60px">已推送</th>
<th nzWidth="60px">已使用</th>
<th nzWidth="50px">使用率</th>
<th nzWidth="70px">操作</th>
<th nzWidth="70px" nzRight>操作</th>
</tr>
</thead>
<tbody>
@ -72,9 +78,11 @@
<td>{{ data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td>
<td><span *ngIf="data.mailTime != null">{{ data.mailTime | date: 'yyyy-MM-dd'}}</span></td>
<td>{{ (data.batchNum!=null?data.batchNum:0)}}</td>
<td>{{ (data.receiveNum!=null?data.receiveNum:0)}}</td>
<td>{{ (data.sendNum!=null?data.sendNum:0)}}</td>
<td>{{ (data.useNum!=null?data.useNum:0)}}</td>
<td>{{ (data.useRate!=null?data.useRate:0) + '%' }}</td>
<td>
<td nzRight>
<a nz-dropdown [nzDropdownMenu]="menu">
操作列表
<i nz-icon nzType="down"></i>

Loading…
Cancel
Save