From 6b25c4004057242d40568a06036643792b66b987 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 25 三月 2024 14:38:20 +0800 Subject: [PATCH] 11 --- src/views/project/fund/applyDetail/index.vue | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index 290f53e..740df09 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -2681,7 +2681,15 @@ this.$modal.msgWarning( "鏈嶅姟椤圭洰琛ㄤ腑锛岀" + (k + 1).toString() + - "琛岀殑鏈嶅姟浜哄憳濮撳悕涓洪�夋嫨,璇烽�夋嫨浜哄憳鍚庡啀鎻愪氦淇濆瓨锛�" + "琛岀殑浜哄憳濮撳悕涓虹┖,璇烽�夋嫨浜哄憳鍚庡啀鎻愪氦淇濆瓨锛�" + ); + return; + } + if (tempDetail.unitname == null) { + this.$modal.msgWarning( + "鏈嶅姟椤圭洰琛ㄤ腑锛岀" + + (k + 1).toString() + + "琛岀殑涓撳鍗曚綅涓虹┖,璇烽�夋嫨鍗曚綅鍚庡啀鎻愪氦淇濆瓨锛�" ); return; } @@ -3528,6 +3536,17 @@ ) { this.accountlist.map(res => { if (res.id == this.accountselectform.accountname) { + console.log(res, "res"); + const hasIdOne = this.rbDetails.some( + obj => obj.beneficiaryname == res.username + ); + if (hasIdOne) { + this.$modal.msgWarning( + "鏈嶅姟椤圭洰琛ㄤ腑锛屼汉鍛樺悕绉帮細" + + res.username + + "閲嶅锛岃娉ㄦ剰鏍稿淇℃伅锛�" + ); + } this.rbDetails[tempIndex].beneficiaryno = res.userno; this.rbDetails[tempIndex].beneficiaryname = res.username; this.rbDetails[tempIndex].depositbank = res.depositbank; -- Gitblit v1.9.3