往来核销明细查询条件-币种多个逗号分隔
This commit is contained in:
		
							parent
							
								
									a947bde88b
								
							
						
					
					
						commit
						ec5845c789
					
				|  | @ -37,7 +37,7 @@ export default function handleQueryClick(state,data,isrefreah){ | |||
|     for(let k in childData){ | ||||
|         if(k=='ass'||k=='resourceAss'||k=='account_currency'||k=='cashtype'||k=='pk_org'||k=='isShowUnit' | ||||
|         ||k=='isControl'||k=='endflag'||k=='isCrossAccountVerify'||k=='isControlItems'){ | ||||
|         }else if(k=='pk_units'||k=='pk_currency'){ | ||||
|         }else if(k=='pk_units'){ | ||||
|             if(childData[k].length>0){ | ||||
|                 if(childData[k][0].value==""){ | ||||
|                     childData[k]=null; | ||||
|  | @ -49,6 +49,8 @@ export default function handleQueryClick(state,data,isrefreah){ | |||
|             }else{ | ||||
|                 childData[k]=null; | ||||
|             } | ||||
|         }else if(k=='pk_currency'){ //币种
 | ||||
|             childData[k]=childData[k].length>0?childData[k].map(item=>item.value).join(','):null | ||||
|         }else{ | ||||
|             childData[k]=childData[k].value?childData[k].value:null; | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue