Merge branch 'master' of http://121.37.179.211:3000/yonyou/ncpub-multipage-demo-2005
This commit is contained in:
commit
1c9f7e1610
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue