xiaozy_0517
xiaozhiyong 2 years ago
parent 03bc343e78
commit d7a96aa14f
  1. 4
      src/views/financialCenter/enterpriseRecharge/components/add.vue

@ -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();

Loading…
Cancel
Save