提交代理商订单页面

pull/1/head
袁野 2 years ago
parent b71d6c0877
commit e711e76912
  1. 9
      src/app/admin/order-manage/mobile-recharge-order-list/mobile-recharge-order-list.component.html
  2. 1
      src/app/admin/order-manage/mobile-recharge-order-list/mobile-recharge-order-list.component.ts
  3. 2
      src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html
  4. 2
      src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.ts
  5. 4
      src/app/pipes/recharge-pipe/platform.pipe.ts
  6. 3
      src/app/pipes/recharge-price/recharge-platform.pipe.ts

@ -17,6 +17,15 @@
</nz-form-item>
</div>
<div nz-col nzSpan="8">
<nz-form-item>
<nz-form-label [nzSpan]="8">标题</nz-form-label>
<nz-form-control [nzSpan]="14">
<input nz-input formControlName="title" />
</nz-form-control>
</nz-form-item>
</div>
<div nz-col nzSpan="8">
<nz-form-item>
<nz-form-label [nzSpan]="8">客户电话</nz-form-label>

@ -91,6 +91,7 @@ export class MobileRechargeOrderListComponent implements OnInit {
orderStatus: [null],
createTimeArray: [null],
refundTimeArray: [null],
title: [null],
companyId: [null],
payType: [null],
memCardNo: [null],

@ -30,7 +30,7 @@
<nz-form-item>
<nz-form-label [nzSpan]="8">订单状态</nz-form-label>
<nz-form-control [nzSpan]="14">
<nz-select nzAllowClear formControlName="status">
<nz-select nzAllowClear formControlName="orderStatus">
<nz-option nzValue="1" nzLabel="待支付"></nz-option>
<nz-option nzValue="3" nzLabel="已完成"></nz-option>
</nz-select>

@ -70,7 +70,7 @@ export class OrderIntegralRechargeComponent implements OnInit {
memPhone: [null],
couponName: [null],
payType: [null],
status: [null],
orderStatus: [null],
createTime: [[createTimeS, createTimeE]],
payTime: [null],
finishTime: [null],

@ -13,6 +13,10 @@ export class PlatformPipe implements PipeTransform {
return '龙阅';
case 3:
return '城宇';
case 4:
return '畅停';
default:
return '未知平台';
}
}

@ -7,6 +7,7 @@ export class RechargePlatformPipe implements PipeTransform {
transform(value: string): unknown {
const array = value.split('-');
console.log(array);
let string = '';
for (const i of array) {
if (Number(i) === 1) {
@ -19,7 +20,7 @@ export class RechargePlatformPipe implements PipeTransform {
string = string + '城宇,';
}
if (Number(i) === 4) {
string = string + '嗨购,';
string = string + '畅停,';
}
}

Loading…
Cancel
Save