提交代码

pull/1/head
胡锐 3 years ago
parent ae42319586
commit 77cfe2a768
  1. 9
      src/app/admin/company-amount/company-amount-record/company-amount-record.component.html
  2. 4
      src/app/admin/company-amount/company-amount-record/company-amount-record.component.ts
  3. 2
      src/app/admin/oil-card/oil-card-record-list/oil-card-record-list.component.html

@ -22,8 +22,8 @@
<nz-form-label [nzSpan]="8">类型</nz-form-label>
<nz-form-control [nzSpan]="14">
<nz-select nzShowSearch nzAllowClear formControlName="type">
<nz-option nzLabel="1" nzValue="进账"></nz-option>
<nz-option nzLabel="2" nzValue="出账"></nz-option>
<nz-option nzLabel="进账" nzValue="1"></nz-option>
<nz-option nzLabel="出账" nzValue="2"></nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>
@ -34,8 +34,9 @@
<nz-form-label [nzSpan]="8">来源类型</nz-form-label>
<nz-form-control [nzSpan]="14">
<nz-select nzShowSearch nzAllowClear formControlName="sourceType">
<nz-option nzLabel="1" nzValue="金额充值"></nz-option>
<nz-option nzLabel="2" nzValue="油卡充值"></nz-option>
<nz-option nzLabel="金额充值" nzValue="1"></nz-option>
<nz-option nzLabel="油卡充值" nzValue="2"></nz-option>
<nz-option nzLabel="回收余额" nzValue="3"></nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>

@ -196,13 +196,13 @@ export class CompanyAmountRecordComponent implements OnInit {
return;
}
this.rechargeParam.phone = '17726395120';
this.rechargeParam.phone = '13251378838';
this.rechargeParam.orgId = this.rechargeForm.value['orgId'];
this.rechargeParam.amount = this.rechargeForm.value['amount'];
this.rechargeForm.controls.orgId.disable();
this.rechargeForm.controls.amount.disable();
this.companyAccountService.sendRechargeSmsCode('17726395120', this.rechargeParam.orgId, this.rechargeParam.amount, data => {
this.companyAccountService.sendRechargeSmsCode('13251378838', this.rechargeParam.orgId, this.rechargeParam.amount, data => {
if (data['return_code'] === '000000') {
this.getVerifyCodeCountdown();
} else {

@ -27,6 +27,8 @@
<nz-select nzAllowClear formControlName="sourceType">
<nz-option nzValue="1" nzLabel="充值金额"></nz-option>
<nz-option nzValue="2" nzLabel="订单消费"></nz-option>
<nz-option nzValue="3" nzLabel="订单退款"></nz-option>
<nz-option nzValue="4" nzLabel="回收余额"></nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>

Loading…
Cancel
Save