|
|
@ -198,7 +198,7 @@ |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>卡券</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>卡券</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择卡券!"> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择卡券!"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="couponId" nzPlaceHolder="请选择卡券"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="couponId" nzPlaceHolder="请选择卡券"> |
|
|
|
<nz-option *ngFor="let item of distributeList" nzLabel="{{item.couponName + '-(有效库存:' + item.stockCount + ')'}}" |
|
|
|
<nz-option *ngFor="let item of distributeList" nzLabel="【{{item['displayArea'] | displayArea}}】{{ item.couponName + '-(有效库存:' + item.stockCount + ')'}}" |
|
|
|
nzValue="{{item.id}}"></nz-option> |
|
|
|
nzValue="{{item.id}}"></nz-option> |
|
|
|
</nz-select> |
|
|
|
</nz-select> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
@ -238,16 +238,18 @@ |
|
|
|
(nzPageSizeChange)="getRequestList(false)"> |
|
|
|
(nzPageSizeChange)="getRequestList(false)"> |
|
|
|
<thead nzSingleSort> |
|
|
|
<thead nzSingleSort> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<th nzWidth="80px">卡券名称</th> |
|
|
|
<th nzWidth="50px">展示专区</th> |
|
|
|
<th nzWidth="80px">卡券销售价格</th> |
|
|
|
<th nzWidth="100px">卡券名称</th> |
|
|
|
<th nzWidth="80px">库存数量</th> |
|
|
|
<th nzWidth="50px">卡券价格</th> |
|
|
|
<th nzWidth="70px">销售数量</th> |
|
|
|
<th nzWidth="50px">库存数量</th> |
|
|
|
|
|
|
|
<th nzWidth="50px">销售数量</th> |
|
|
|
<th nzWidth="70px">分发时间</th> |
|
|
|
<th nzWidth="70px">分发时间</th> |
|
|
|
<th nzWidth="70px">操作</th> |
|
|
|
<th nzWidth="70px">操作</th> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
|
<tr *ngFor="let data of ajaxTableList.data; let i = index"> |
|
|
|
<tr *ngFor="let data of ajaxTableList.data; let i = index"> |
|
|
|
|
|
|
|
<td>{{data['highCoupon']['displayArea'] | displayArea}}</td> |
|
|
|
<td>{{data['couponName']}}</td> |
|
|
|
<td>{{data['couponName']}}</td> |
|
|
|
<td>{{data['salesPrice']}}元</td> |
|
|
|
<td>{{data['salesPrice']}}元</td> |
|
|
|
<td>{{data['stockCount']}}</td> |
|
|
|
<td>{{data['stockCount']}}</td> |
|
|
|