|
|
@ -333,6 +333,10 @@ export default { |
|
|
|
this.$refs["form"].validate((valid) => { |
|
|
|
this.$refs["form"].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
if (valid) { |
|
|
|
let params = { transactionType: "RECHARGE", ...this.form }; |
|
|
|
let params = { transactionType: "RECHARGE", ...this.form }; |
|
|
|
|
|
|
|
if (this.form.companyBankCardArr.length) { |
|
|
|
|
|
|
|
let index = this.form.companyBankCardArr.length - 1; |
|
|
|
|
|
|
|
params["companyBankCardId"] = this.form.companyBankCardArr[index]; |
|
|
|
|
|
|
|
} |
|
|
|
this.judgeInterface(params).then((res) => { |
|
|
|
this.judgeInterface(params).then((res) => { |
|
|
|
this.$message.success(res.msg); |
|
|
|
this.$message.success(res.msg); |
|
|
|
this.closeWindow(); |
|
|
|
this.closeWindow(); |
|
|
|