|
|
@ -103,6 +103,7 @@ export class ListComponent implements OnInit { |
|
|
|
this.rechargeForm = this.form.group({ |
|
|
|
this.rechargeForm = this.form.group({ |
|
|
|
merchantId: [null, [Validators.required]], |
|
|
|
merchantId: [null, [Validators.required]], |
|
|
|
amount: [null, [Validators.required]], |
|
|
|
amount: [null, [Validators.required]], |
|
|
|
|
|
|
|
phone: [null, [Validators.required]], |
|
|
|
smsCode: [null, [Validators.required]], |
|
|
|
smsCode: [null, [Validators.required]], |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.searchForm = this.form.group({ |
|
|
|
this.searchForm = this.form.group({ |
|
|
@ -298,7 +299,7 @@ export class ListComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
|
|
this.rechargeForm.controls.merchantId.disable(); |
|
|
|
this.rechargeForm.controls.merchantId.disable(); |
|
|
|
this.rechargeForm.controls.amount.disable(); |
|
|
|
this.rechargeForm.controls.amount.disable(); |
|
|
|
this.common.sendRechargeSmsCode('18090580471', this.rechargeParam['merchantId'], this.rechargeParam['amount'], data => { |
|
|
|
this.common.sendRechargeSmsCode(this.rechargeForm.value['phone'], this.rechargeParam['merchantId'], this.rechargeParam['amount'], data => { |
|
|
|
if (data['return_code'] === '000000') { |
|
|
|
if (data['return_code'] === '000000') { |
|
|
|
this.getVerifyCodeCountdown(); |
|
|
|
this.getVerifyCodeCountdown(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|