|
|
|
@ -196,18 +196,18 @@ |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>展示平台</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择展示平台!"> |
|
|
|
|
<nz-select |
|
|
|
|
nzMode="multiple" |
|
|
|
|
formControlName="productPlatform" |
|
|
|
|
nzPlaceHolder="请选择展示平台" |
|
|
|
|
> |
|
|
|
|
<nz-option *ngFor="let item of productPlatformArray" nzValue="{{item.codeValue}}" nzLabel="{{item.codeName}}"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSpan]="6" nzRequired>展示平台</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSpan]="16" nzErrorTip="请选择展示平台!">--> |
|
|
|
|
<!-- <nz-select--> |
|
|
|
|
<!-- nzMode="multiple"--> |
|
|
|
|
<!-- formControlName="productPlatform"--> |
|
|
|
|
<!-- nzPlaceHolder="请选择展示平台"--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<!-- <nz-option *ngFor="let item of productPlatformArray" nzValue="{{item.codeValue}}" nzLabel="{{item.codeName}}"></nz-option>--> |
|
|
|
|
<!-- </nz-select>--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>充值平台</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择充值平台!"> |
|
|
|
@ -216,18 +216,18 @@ |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>支付方式</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择支付方式!"> |
|
|
|
|
<nz-select |
|
|
|
|
nzMode="multiple" |
|
|
|
|
formControlName="payType" |
|
|
|
|
nzPlaceHolder="请选择支付方式" |
|
|
|
|
> |
|
|
|
|
<nz-option *ngFor="let item of priceTypeArray" nzValue="{{item.codeValue}}" nzLabel="{{item.codeName}}"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSpan]="6" nzRequired>支付方式</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSpan]="16" nzErrorTip="请选择支付方式!">--> |
|
|
|
|
<!-- <nz-select--> |
|
|
|
|
<!-- nzMode="multiple"--> |
|
|
|
|
<!-- formControlName="payType"--> |
|
|
|
|
<!-- nzPlaceHolder="请选择支付方式"--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<!-- <nz-option *ngFor="let item of priceTypeArray" nzValue="{{item.codeValue}}" nzLabel="{{item.codeName}}"></nz-option>--> |
|
|
|
|
<!-- </nz-select>--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>充值方式</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择充值方式!"> |
|
|
|
@ -237,63 +237,43 @@ |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSpan]="6" nzRequired>充值类型</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSpan]="16" nzErrorTip="请选择充值类型!">--> |
|
|
|
|
<!-- <nz-select nzShowSearch nzAllowClear formControlName="rechargeType" nzPlaceHolder="请选择充值类型">--> |
|
|
|
|
<!-- <nz-option nzLabel="快充" [nzValue] ="1"></nz-option>--> |
|
|
|
|
<!-- <nz-option nzLabel="慢充" [nzValue]="2"></nz-option>--> |
|
|
|
|
<!-- </nz-select>--> |
|
|
|
|
<!-- <nz-form-label [nzSpan]="6" nzRequired>折扣比例</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSpan]="16" nzErrorTip="请输入折扣比例!">--> |
|
|
|
|
<!-- <nz-input-number--> |
|
|
|
|
<!-- style="width: 200px"--> |
|
|
|
|
<!-- formControlName="discount"--> |
|
|
|
|
<!-- [nzMin]="1"--> |
|
|
|
|
<!-- [nzMax]="100"--> |
|
|
|
|
<!-- [nzStep]="1"--> |
|
|
|
|
<!-- [nzPrecision]="2"--> |
|
|
|
|
<!-- nzPrecisionMode="cut"--> |
|
|
|
|
<!-- (ngModelChange)="changePayType($event)"--> |
|
|
|
|
<!-- nzPlaceHolder="请输入折扣比例!"--> |
|
|
|
|
<!-- [nzFormatter]="formatterPercent"--> |
|
|
|
|
<!-- [nzParser]="parserPercent"--> |
|
|
|
|
<!-- ></nz-input-number>--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>折扣比例</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请输入折扣比例!"> |
|
|
|
|
<nz-input-number |
|
|
|
|
style="width: 200px" |
|
|
|
|
formControlName="discount" |
|
|
|
|
[nzMin]="1" |
|
|
|
|
[nzMax]="100" |
|
|
|
|
[nzStep]="1" |
|
|
|
|
[nzPrecision]="2" |
|
|
|
|
nzPrecisionMode="cut" |
|
|
|
|
(ngModelChange)="changePayType($event)" |
|
|
|
|
nzPlaceHolder="请输入折扣比例!" |
|
|
|
|
[nzFormatter]="formatterPercent" |
|
|
|
|
[nzParser]="parserPercent" |
|
|
|
|
></nz-input-number> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>积分支付比例</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请输入积分支付比例!"> |
|
|
|
|
<nz-input-number |
|
|
|
|
style="width: 200px" |
|
|
|
|
formControlName="integralDiscount" |
|
|
|
|
[nzMin]="0" |
|
|
|
|
[nzMax]="100" |
|
|
|
|
[nzStep]="1" |
|
|
|
|
[nzPrecision]="2" |
|
|
|
|
nzPrecisionMode="cut" |
|
|
|
|
nzPlaceHolder="请输入积分支付比例!" |
|
|
|
|
[nzFormatter]="formatterPercent" |
|
|
|
|
[nzParser]="parserPercent" |
|
|
|
|
></nz-input-number> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item *ngIf="edit">--> |
|
|
|
|
<!-- <nz-form-label [nzSpan]="6" >商品编号</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSpan]="16" nzErrorTip="请输入商品编号!">--> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSpan]="6" nzRequired>积分支付比例</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSpan]="16" nzErrorTip="请输入积分支付比例!">--> |
|
|
|
|
<!-- <nz-input-number--> |
|
|
|
|
<!-- style="width: 200px"--> |
|
|
|
|
<!-- formControlName="goodsId"--> |
|
|
|
|
<!-- [nzMin]="1"--> |
|
|
|
|
<!-- [nzMax]="10000"--> |
|
|
|
|
<!-- formControlName="integralDiscount"--> |
|
|
|
|
<!-- [nzMin]="0"--> |
|
|
|
|
<!-- [nzMax]="100"--> |
|
|
|
|
<!-- [nzStep]="1"--> |
|
|
|
|
<!-- nzPlaceHolder="请输入商品编号!"--> |
|
|
|
|
<!-- [nzPrecision]="2"--> |
|
|
|
|
<!-- nzPrecisionMode="cut"--> |
|
|
|
|
<!-- nzPlaceHolder="请输入积分支付比例!"--> |
|
|
|
|
<!-- [nzFormatter]="formatterPercent"--> |
|
|
|
|
<!-- [nzParser]="parserPercent"--> |
|
|
|
|
<!-- ></nz-input-number>--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
|
|
|
|
|
<nz-form-item *ngIf="edit"> |
|
|
|
|
<nz-form-label [nzSpan]="6" >排序</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请输入排序!"> |
|
|
|
|