提交修改

pull/1/head
袁野 3 years ago
parent 12eeb6630a
commit f0c2c6cfa4
  1. 13
      src/app/admin/recharge-order/price-list/price-list.component.html
  2. 2
      src/app/admin/recharge-order/price-list/price-list.component.ts
  3. 3
      src/app/app-common.module.ts
  4. 1
      src/app/pipes/index.ts

@ -68,6 +68,7 @@
<th>编号</th> <th>编号</th>
<th>金额类型</th> <th>金额类型</th>
<th>充值类型</th> <th>充值类型</th>
<th>展示区域</th>
<!-- <th>供货商编号</th>--> <!-- <th>供货商编号</th>-->
<!-- <th>商品ID</th>--> <!-- <th>商品ID</th>-->
<th>充值金额</th> <th>充值金额</th>
@ -81,7 +82,7 @@
<td>{{i + 1}}</td> <td>{{i + 1}}</td>
<td>{{data.type | rechargePrice}}</td> <td>{{data.type | rechargePrice}}</td>
<td>{{data.rechargeType== 1? '快充':'慢充'}}</td> <td>{{data.rechargeType== 1? '快充':'慢充'}}</td>
<!-- <td>{{data.channel}}</td>--> <td>{{data.showType | showType}}</td>
<!-- <td>{{data.goodsId}}</td>--> <!-- <td>{{data.goodsId}}</td>-->
<td>{{data.price}}</td> <td>{{data.price}}</td>
<td>{{data.realPrice}}</td> <td>{{data.realPrice}}</td>
@ -107,6 +108,16 @@
</nz-select> </nz-select>
</nz-form-control> </nz-form-control>
</nz-form-item> </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="showType" nzPlaceHolder="请选择展示区域">
<nz-option nzLabel="小程序" [nzValue] ="1"></nz-option>
<nz-option nzLabel="H5" [nzValue] ="2"></nz-option>
<nz-option nzLabel="银联" [nzValue] ="3"></nz-option>
</nz-select>
</nz-form-control>
</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="请选择充值类型!">

@ -57,7 +57,7 @@ export class PriceListComponent implements OnInit {
price: [null, [Validators.required]], price: [null, [Validators.required]],
rechargeType: [null, [Validators.required]], rechargeType: [null, [Validators.required]],
realPrice: [{value: null, disabled: true}, [Validators.required]], realPrice: [{value: null, disabled: true}, [Validators.required]],
// goodsId: [null, [Validators.required]], showType: [null, [Validators.required]],
discount: [null, [Validators.required]], discount: [null, [Validators.required]],
sort: [null, [Validators.required]], sort: [null, [Validators.required]],
// channel: [null, [Validators.required]], // channel: [null, [Validators.required]],

@ -36,6 +36,7 @@ import {
import { PreOrderStatusPipe } from './pipes/order/pre-order-status.pipe'; import { PreOrderStatusPipe } from './pipes/order/pre-order-status.pipe';
import { ButtonPipe } from './pipes/commons/button.pipe'; import { ButtonPipe } from './pipes/commons/button.pipe';
import { DiscountPackageStatusPipe } from './pipes/discount-package-status.pipe'; import { DiscountPackageStatusPipe } from './pipes/discount-package-status.pipe';
import { ShowTypePipe } from './pipes/show-type.pipe';
@ -66,6 +67,7 @@ const PIPES = [
PreOrderStatusPipe, PreOrderStatusPipe,
ButtonPipe, ButtonPipe,
DiscountPackageStatusPipe, DiscountPackageStatusPipe,
ShowTypePipe,
]; ];
@ -79,6 +81,7 @@ const PIPES = [
], ],
declarations: [ declarations: [
...PIPES, ...PIPES,
], ],
exports: [ exports: [

@ -23,3 +23,4 @@ export * from './audit/refund-status.pipe';
export * from './order/pre-order-status.pipe'; export * from './order/pre-order-status.pipe';
export * from './commons/button.pipe'; export * from './commons/button.pipe';
export * from './discount-package-status.pipe'; export * from './discount-package-status.pipe';
export * from './show-type.pipe';

Loading…
Cancel
Save