提交修改

pull/1/head
袁野 3 years ago
parent f67efef973
commit fa83aa6dd7
  1. 1
      src/app/admin/coupon/coupon-edit/coupon-edit.component.html
  2. 2
      src/app/admin/recharge-order/order-list/order-list.component.ts
  3. 2
      src/app/pipes/display-area.pipe.ts
  4. 2
      src/app/pipes/recharge-pay-type.pipe.ts

@ -50,6 +50,7 @@
<nz-select nzPlaceHolder="请选择展示区域" [formControlName]="'displayArea'"> <nz-select nzPlaceHolder="请选择展示区域" [formControlName]="'displayArea'">
<nz-option nzValue="1" nzLabel="赠券专区"></nz-option> <nz-option nzValue="1" nzLabel="赠券专区"></nz-option>
<nz-option nzValue="2" nzLabel="金币专区"></nz-option> <nz-option nzValue="2" nzLabel="金币专区"></nz-option>
<nz-option nzValue="3" nzLabel="银联专区"></nz-option>
</nz-select> </nz-select>
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>

@ -182,7 +182,7 @@ export class OrderListComponent implements OnInit , OnDestroy {
sourceOrderNo: orderNo sourceOrderNo: orderNo
}, data => { }, data => {
if (data['return_code'] === '000000') { if (data['return_code'] === '000000') {
this.message.success('退款成功'); this.message.success('申请成功');
this.getRequest(false, this.searchForm.value); this.getRequest(false, this.searchForm.value);
} else { } else {
this.message.error(data['return_msg']); this.message.error(data['return_msg']);

@ -11,6 +11,8 @@ export class DisplayAreaPipe implements PipeTransform {
return '赠券专区'; return '赠券专区';
case 2: case 2:
return '金币专区'; return '金币专区';
case 3:
return '银联专区';
case null: case null:
return '消费券'; return '消费券';
} }

@ -14,6 +14,8 @@ export class RechargePayTypePipe implements PipeTransform {
return '工会卡'; return '工会卡';
case 3: case 3:
return '积分'; return '积分';
case 4:
return '银联';
} }
} }
} }

Loading…
Cancel
Save