提交代理商订单页面

pull/1/head
袁野 2 years ago
parent 3cc552a89a
commit d8b8e7c77f
  1. 124
      src/app/admin/recharge-order/price-list/price-list.component.html
  2. 8
      src/environments/environment.ts

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

@ -4,11 +4,11 @@
export const environment = { export const environment = {
production: false, production: false,
baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址) // baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址)
orderUrl: 'http://localhost:9304/order/', // 测试环境服务器地址(请求数据地址) // orderUrl: 'http://localhost:9304/order/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'https://hsgcs.dctpay.com/filesystem/', imageUrl: 'https://hsgcs.dctpay.com/filesystem/',
// baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址) baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
// orderUrl: 'https://hsgcs.dctpay.com/order/', // 测试环境服务器地址(请求数据地址) orderUrl: 'https://hsgcs.dctpay.com/order/', // 测试环境服务器地址(请求数据地址)
key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=', key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=',
inviteUrl: 'https://hsgcs.dctpay.com/wx/?action=ic&id=', inviteUrl: 'https://hsgcs.dctpay.com/wx/?action=ic&id=',
}; };

Loading…
Cancel
Save