核销和异币种核销: 币种校验
This commit is contained in:
		
							parent
							
								
									a4c8ad0ee7
								
							
						
					
					
						commit
						4ab28c91e7
					
				|  | @ -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