From d7e0cc5d3825a2038b8554110aa190006d39dc18 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GMUNQ1B\\k" <1154079537@qq.com> Date: Sat, 30 Mar 2024 11:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/accounts/auditRecord/index.vue | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/views/accounts/auditRecord/index.vue b/src/views/accounts/auditRecord/index.vue index afa2b87..912b452 100644 --- a/src/views/accounts/auditRecord/index.vue +++ b/src/views/accounts/auditRecord/index.vue @@ -57,8 +57,9 @@ @@ -102,8 +103,8 @@
{{ transferData.fail_msg ? transferData.fail_msg : '-' }}
- +
@@ -112,7 +113,7 @@
- + 通过 拒绝 @@ -192,10 +193,11 @@ export default { // 图片格式 srcParse(item) { - if (item.financial_account.financial_img && item.financial_account.financial_img.indexOf(',') > -1) { + if (!item) return []; + if (item && item.financial_account.financial_img && item.financial_account.financial_img.indexOf(',') > -1) { return item.financial_account.financial_img.split(","); - } else { - return item.financial_account.financial_img ? [item.financial_account.financial_img] : [] + } else if (item && item.financial_account.financial_img) { + return [item.financial_account.financial_img] } }, @@ -218,6 +220,10 @@ export default { }); }, + radioChange() { + if (this.auditForm.status == 1) this.auditForm.fail_msg = ''; + }, + // 审核 transferReview(id) { this.$refs.ruleForm.validate(valid => { @@ -237,6 +243,8 @@ export default { // 审核 查看 transferMark(item, type) { + this.auditForm.status = ''; + this.auditForm.fail_msg = ''; this.transferData = item; this.dialogVisible = true; this.type = type;