提交代码

master
袁野 10 months ago
parent d997969bd3
commit 16732b508b
  1. 3
      src/app/admin/api-product/list/list.component.html
  2. 2
      src/app/admin/recharge-order/price-list/price-list.component.html
  3. 5
      src/app/pipes/recharge-price/recharge-platform.pipe.ts

@ -26,7 +26,8 @@
<nz-select nzShowSearch nzAllowClear formControlName="rechargePlatform" nzPlaceHolder="请选择充值平台"> <nz-select nzShowSearch nzAllowClear formControlName="rechargePlatform" nzPlaceHolder="请选择充值平台">
<nz-option nzLabel="尖椒" [nzValue]="1"></nz-option> <nz-option nzLabel="尖椒" [nzValue]="1"></nz-option>
<nz-option nzLabel="龙阅" [nzValue]="2"></nz-option> <nz-option nzLabel="龙阅" [nzValue]="2"></nz-option>
<nz-option nzLabel="畅停" [nzValue]="4"></nz-option> <nz-option nzLabel="嗨购" [nzValue]="4"></nz-option>
<nz-option nzLabel="简牛" [nzValue]="5"></nz-option>
</nz-select> </nz-select>
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>

@ -26,6 +26,8 @@
<nz-select nzShowSearch nzAllowClear formControlName="rechargePlatform" nzPlaceHolder="请选择充值平台"> <nz-select nzShowSearch nzAllowClear formControlName="rechargePlatform" nzPlaceHolder="请选择充值平台">
<nz-option nzLabel="尖椒" [nzValue]="1"></nz-option> <nz-option nzLabel="尖椒" [nzValue]="1"></nz-option>
<nz-option nzLabel="龙阅" [nzValue]="2"></nz-option> <nz-option nzLabel="龙阅" [nzValue]="2"></nz-option>
<nz-option nzLabel="嗨购" [nzValue]="4"></nz-option>
<nz-option nzLabel="简牛" [nzValue]="5"></nz-option>
</nz-select> </nz-select>
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>

@ -20,7 +20,10 @@ export class RechargePlatformPipe implements PipeTransform {
string = string + '城宇,'; string = string + '城宇,';
} }
if (Number(i) === 4) { if (Number(i) === 4) {
string = string + '畅停,'; string = string + '嗨购,';
}
if (Number(i) === 5) {
string = string + '简牛,';
} }
} }

Loading…
Cancel
Save