From 4ab28c91e7024931fae2cb56f29966ddbd64ff40 Mon Sep 17 00:00:00 2001 From: xyz <747050115@qq.com> Date: Wed, 12 Mar 2025 09:25:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B8=E9=94=80=E5=92=8C=E5=BC=82=E5=B8=81?= =?UTF-8?q?=E7=A7=8D=E6=A0=B8=E9=94=80:=20=E5=B8=81=E7=A7=8D=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gl/verify/verify/vrify/events/handleCrossCurrency.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gl/verify/verify/vrify/events/handleCrossCurrency.js b/src/gl/verify/verify/vrify/events/handleCrossCurrency.js index 8d9abf6..305f26c 100644 --- a/src/gl/verify/verify/vrify/events/handleCrossCurrency.js +++ b/src/gl/verify/verify/vrify/events/handleCrossCurrency.js @@ -18,8 +18,8 @@ export default function handleCrossCurrency(self){ // 异币种校验 let same1 = creditSelectedData.some(function (value, index) { return value.m_pk_currtype.value !== creditSelectedData[0].m_pk_currtype.value}) let same2 = debitSelectedData.some(function (value, index) { return value.m_pk_currtype.value !== debitSelectedData[0].m_pk_currtype.value}) - if(same1||same2||creditSelectedData[0].m_pk_currtype.value!=debitSelectedData[0].m_pk_currtype.value){ - toast({ content: self.state.json['20020VRIFYPAGE-000109'], color: 'warning' });/* 国际化处理: 只能选择同币种*/ + if(!same1&&!same2&&creditSelectedData[0].m_pk_currtype.value==debitSelectedData[0].m_pk_currtype.value){ + toast({ content: self.state.json['20020VRIFYPAGE-000109'], color: 'warning' });/* 国际化处理: 只能选择异币种*/ return false }