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