提交代码

master
袁野 10 months ago
parent 58aa6a7ae3
commit 9de07f32b7
  1. 4
      src/app/admin/audit/audit-coupon/audit-coupon.component.html
  2. 2
      src/app/admin/coupon/coupon-edit/coupon-edit.component.html
  3. 2
      src/app/admin/coupon/coupon-list/coupon-list.component.html
  4. 2
      src/app/pipes/display-area.pipe.ts

@ -121,7 +121,7 @@
<nz-descriptions style="margin-top: 20px;" nzTitle="审核对象详情" nzBordered> <nz-descriptions style="margin-top: 20px;" nzTitle="审核对象详情" nzBordered>
<nz-descriptions-item nzTitle="卡券类型">{{data['object']['couponType'] === 1 ? '内部卷' : '外部卷'}}</nz-descriptions-item> <nz-descriptions-item nzTitle="卡券类型">{{data['object']['couponType'] === 1 ? '内部卷' : '外部卷'}}</nz-descriptions-item>
<nz-descriptions-item nzTitle="支付类型">{{data['object']['couponType'] === 1 ? '微信支付' : '金币支付'}}</nz-descriptions-item> <nz-descriptions-item nzTitle="支付类型">{{data['object']['couponType'] === 1 ? '微信支付' : '金币支付'}}</nz-descriptions-item>
<nz-descriptions-item nzTitle="展示区域">{{data['object']['displayArea'] === 1 ? '赠券专区' : '金币专区'}}</nz-descriptions-item> <nz-descriptions-item nzTitle="展示区域">{{data['object']['displayArea'] === 1 ? '加油专区' : '金币专区'}}</nz-descriptions-item>
<nz-descriptions-item nzTitle="销售价格">¥{{data['object']['salesPrice']}}</nz-descriptions-item> <nz-descriptions-item nzTitle="销售价格">¥{{data['object']['salesPrice']}}</nz-descriptions-item>
<nz-descriptions-item nzTitle="折扣价格">¥{{data['object']['discountPrice']}}</nz-descriptions-item> <nz-descriptions-item nzTitle="折扣价格">¥{{data['object']['discountPrice']}}</nz-descriptions-item>
<nz-descriptions-item nzTitle="销售数量">{{data['object']['salesCount']}}</nz-descriptions-item> <nz-descriptions-item nzTitle="销售数量">{{data['object']['salesCount']}}</nz-descriptions-item>
@ -149,7 +149,7 @@
<td>{{data['highCouponModel'].couponName}}</td> <td>{{data['highCouponModel'].couponName}}</td>
<td>¥{{data['highCouponModel'].salesPrice}}</td> <td>¥{{data['highCouponModel'].salesPrice}}</td>
<td>¥{{data['highCouponModel'].discountPrice}}</td> <td>¥{{data['highCouponModel'].discountPrice}}</td>
<td>{{data['highCouponModel'].displayArea === 1 ? '赠券专区' : '金币专区'}}</td> <td>{{data['highCouponModel'].displayArea === 1 ? '加油专区' : '金币专区'}}</td>
<td>{{data['highCouponModel'].couponType === 1 ? '内部卷' : '外部卷'}}</td> <td>{{data['highCouponModel'].couponType === 1 ? '内部卷' : '外部卷'}}</td>
</tr> </tr>
</tbody> </tbody>

@ -54,7 +54,7 @@
<nz-form-label [nzFor]="'displayArea'" nzRequired>展示区域</nz-form-label> <nz-form-label [nzFor]="'displayArea'" nzRequired>展示区域</nz-form-label>
<nz-form-control nzErrorTip="请选择展示区域!"> <nz-form-control nzErrorTip="请选择展示区域!">
<nz-select nzPlaceHolder="请选择展示区域" [formControlName]="'displayArea'"> <nz-select nzPlaceHolder="请选择展示区域" [formControlName]="'displayArea'">
<nz-option nzValue="1" nzLabel="赠券专区"></nz-option> <nz-option nzValue="1" nzLabel="加油专区"></nz-option>
<nz-option nzValue="2" nzLabel="金币专区"></nz-option> <nz-option nzValue="2" nzLabel="金币专区"></nz-option>
<nz-option nzValue="3" nzLabel="银联专区"></nz-option> <nz-option nzValue="3" nzLabel="银联专区"></nz-option>
<nz-option nzValue="4" nzLabel="优选商品"></nz-option> <nz-option nzValue="4" nzLabel="优选商品"></nz-option>

@ -20,7 +20,7 @@
<nz-form-label [nzSpan]="6">展示区域</nz-form-label> <nz-form-label [nzSpan]="6">展示区域</nz-form-label>
<nz-form-control [nzSpan]="16"> <nz-form-control [nzSpan]="16">
<nz-select nzPlaceHolder="请选择展示区域" [formControlName]="'displayArea'"> <nz-select nzPlaceHolder="请选择展示区域" [formControlName]="'displayArea'">
<nz-option nzValue="1" nzLabel="赠券专区"></nz-option> <nz-option nzValue="1" nzLabel="加油专区"></nz-option>
<nz-option nzValue="2" nzLabel="金币专区"></nz-option> <nz-option nzValue="2" nzLabel="金币专区"></nz-option>
<nz-option nzValue="3" nzLabel="银联专区"></nz-option> <nz-option nzValue="3" nzLabel="银联专区"></nz-option>
<nz-option nzValue="4" nzLabel="优选商品"></nz-option> <nz-option nzValue="4" nzLabel="优选商品"></nz-option>

@ -8,7 +8,7 @@ export class DisplayAreaPipe implements PipeTransform {
transform(value: any): string { transform(value: any): string {
switch (value) { switch (value) {
case 1: case 1:
return '赠券专区'; return '加油专区';
case 2: case 2:
return '金币专区'; return '金币专区';
case 3: case 3:

Loading…
Cancel
Save