|
|
|
@ -24,7 +24,7 @@ |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzFor]="'couponType'" nzRequired>卡券类型</nz-form-label> |
|
|
|
|
<nz-form-control nzErrorTip="请选择卡券类型!"> |
|
|
|
|
<nz-select nzPlaceHolder="请选择卡券类型" [formControlName]="'couponType'"> |
|
|
|
|
<nz-select [nzDisabled]="editFlag" nzPlaceHolder="请选择卡券类型" [formControlName]="'couponType'"> |
|
|
|
|
<nz-option nzValue="1" nzLabel="内部卷"></nz-option> |
|
|
|
|
<nz-option nzValue="2" nzLabel="外部卷"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
@ -35,7 +35,7 @@ |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzFor]="'couponSource'" >卡券来源</nz-form-label> |
|
|
|
|
<nz-form-control nzErrorTip="请选择卡券来源!"> |
|
|
|
|
<nz-select nzPlaceHolder="请选择卡券来源" [formControlName]="'couponSource'"> |
|
|
|
|
<nz-select [nzDisabled]="editFlag" nzPlaceHolder="请选择卡券来源" [formControlName]="'couponSource'"> |
|
|
|
|
<nz-option nzValue="1" nzLabel="中石化"></nz-option> |
|
|
|
|
<nz-option nzValue="2" nzLabel="消费券"></nz-option> |
|
|
|
|
<nz-option nzValue="3" nzLabel="其他卡券"></nz-option> |
|
|
|
@ -194,6 +194,7 @@ |
|
|
|
|
<nz-upload |
|
|
|
|
nzAction="{{WEB_SERVE_URL}}/fileUpload/uploadfile" |
|
|
|
|
nzListType="picture-card" |
|
|
|
|
[nzMultiple]="true" |
|
|
|
|
[(nzFileList)]="couponCarouselImg" |
|
|
|
|
[nzShowButton]="couponCarouselImg.length < 5" |
|
|
|
|
[nzPreview]="handlePreview" |
|
|
|
@ -217,6 +218,7 @@ |
|
|
|
|
nzAction="{{WEB_SERVE_URL}}/fileUpload/uploadfile" |
|
|
|
|
nzListType="picture-card" |
|
|
|
|
[(nzFileList)]="couponDescImg" |
|
|
|
|
[nzMultiple]="true" |
|
|
|
|
[nzShowButton]="couponDescImg.length < 5" |
|
|
|
|
[nzPreview]="handlePreview" |
|
|
|
|
> |
|
|
|
@ -234,8 +236,8 @@ |
|
|
|
|
</div> |
|
|
|
|
<div nz-row> |
|
|
|
|
<div nz-col [nzSpan]="24" class="search-area"> |
|
|
|
|
<button nz-button (click)="resetForm()">重置</button> |
|
|
|
|
<button nz-button [nzType]="'primary'" (click)="getSave()">提交</button> |
|
|
|
|
<!-- <button nz-button (click)="resetForm()">重置</button>--> |
|
|
|
|
<button nz-button [nzType]="'primary'" style="width: 200px;" [nzSize]="'Large'" (click)="getSave()">提交</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|