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 }