From d7a96aa14f4add9fd57d112b1e18e8438d7f3ee2 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Tue, 4 Apr 2023 15:28:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../financialCenter/enterpriseRecharge/components/add.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/financialCenter/enterpriseRecharge/components/add.vue b/src/views/financialCenter/enterpriseRecharge/components/add.vue index 2cfd0a3..1e975c0 100644 --- a/src/views/financialCenter/enterpriseRecharge/components/add.vue +++ b/src/views/financialCenter/enterpriseRecharge/components/add.vue @@ -333,6 +333,10 @@ export default { this.$refs["form"].validate((valid) => { if (valid) { 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.$message.success(res.msg); this.closeWindow();