提交代码

pull/1/head
胡锐 2 years ago
parent 5ac9c9e041
commit b3d69f50a7
  1. 5
      src/app/admin/coupon/coupon-edit/coupon-edit.component.html
  2. 1
      src/app/admin/coupon/coupon-list/coupon-list.component.html
  3. 2
      src/app/pipes/display-area.pipe.ts

@ -38,6 +38,7 @@
<nz-select [nzDisabled]="editFlag" nzPlaceHolder="请选择卡券来源" [formControlName]="'couponSource'">
<nz-option nzValue="1" nzLabel="中石化"></nz-option>
<nz-option nzValue="2" nzLabel="消费券"></nz-option>
<nz-option nzValue="4" nzLabel="贵州中石化"></nz-option>
<nz-option nzValue="3" nzLabel="其他卡券"></nz-option>
</nz-select>
</nz-form-control>
@ -53,6 +54,7 @@
<nz-option nzValue="2" nzLabel="金币专区"></nz-option>
<nz-option nzValue="3" nzLabel="银联专区"></nz-option>
<nz-option nzValue="4" nzLabel="优选商品"></nz-option>
<nz-option nzValue="5" nzLabel="工会卡专区"></nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>
@ -64,7 +66,8 @@
<nz-select nzPlaceHolder="请选择支付类型" [formControlName]="'payType'">
<nz-option nzValue="1" nzLabel="微信支付"></nz-option>
<nz-option nzValue="2" nzLabel="金币支付"></nz-option>
<nz-option nzValue="1" nzLabel="银联支付"></nz-option>
<nz-option nzValue="3" nzLabel="银联支付"></nz-option>
<nz-option nzValue="4" nzLabel="工会卡支付"></nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>

@ -24,6 +24,7 @@
<nz-option nzValue="2" nzLabel="金币专区"></nz-option>
<nz-option nzValue="3" nzLabel="银联专区"></nz-option>
<nz-option nzValue="4" nzLabel="优选商品"></nz-option>
<nz-option nzValue="5" nzLabel="工会卡专区"></nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>

@ -15,6 +15,8 @@ export class DisplayAreaPipe implements PipeTransform {
return '银联专区';
case 4:
return '优选商品';
case 5:
return '工会卡专区';
case null:
return '消费券';
}

Loading…
Cancel
Save