|  |  | @ -310,7 +310,18 @@ public class IoOrderDetailBizServiceImpl implements IoOrderDetailBizService { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } else if (IntUtil.value(bussinessTypeEntity.getVailHcType() == 2)) { |  |  |  |                 } else if (IntUtil.value(bussinessTypeEntity.getVailHcType() == 2)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     if (IntUtil.value(udiRelevanceResponse.getHcType()) != 2) { |  |  |  |                     if (IntUtil.value(udiRelevanceResponse.getHcType()) != 2) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                         throw new JsonException("单据只允许录入普通耗材\" + \",请检查后重试!"); |  |  |  |                         throw new JsonException("单据只允许录入普通耗材" + ",请检查后重试!"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 //是否开启校验扫码 :0:不校验;1:只允许录入扫码产品;2:只允许录入不扫码产品
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if (IntUtil.value(bussinessTypeEntity.getCodeCheck() == 1)){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     if (IntUtil.value(udiRelevanceResponse.getRequireScanCode()) != 1) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         throw new JsonException("单据只允许录入需要扫码产品" + ",请检查后重试!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 }else if (IntUtil.value(bussinessTypeEntity.getCodeCheck() == 2)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     if (IntUtil.value(udiRelevanceResponse.getHcType()) != 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         throw new JsonException("单据只允许录入不需要扫码产品" + ",请检查后重试!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |