提交代码

dev
胡锐 2 weeks ago
parent 5c735d392a
commit 8b0bbb3df5
  1. 4
      src/app/pages/discount/discount-edit/discount-edit.component.html
  2. 2
      src/app/pages/discount/discount-edit/discount-edit.component.ts

@ -15,7 +15,7 @@
</nz-form-control>
</nz-form-item>
<!-- <nz-form-item>
<nz-form-item>
<nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>
<span>
优惠叠加
@ -25,7 +25,7 @@
<nz-form-control [nzSm]="14" [nzXs]="24">
<nz-switch formControlName="overlayDiscount" nzCheckedChildren="是" nzUnCheckedChildren="否"></nz-switch>
</nz-form-control>
</nz-form-item>-->
</nz-form-item>
<nz-form-item *ngIf="form.controls['discountType'].value == 1">
<nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>优惠条件</nz-form-label>

@ -87,7 +87,7 @@ export class DiscountEditComponent {
discountNo: [null],
discountName: [null, [Validators.required]],
discountType: [null, [Validators.required]],
//overlayDiscount: [null, [Validators.required]],
overlayDiscount: [null, [Validators.required]],
discountPrice: [null, [Validators.required]],
discountCondition: [null],
useScope: [null],

Loading…
Cancel
Save