|  |  |  | @ -780,7 +780,7 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |             if (StrUtil.isNotEmpty(udiEntity.getSerialNo())) { | 
			
		
	
		
			
				
					|  |  |  |  |                 IoCodeTempEntity codeTempEntity1 = codeTempService.selectByCode(code, udiEntity.getBatchNo(), bussinessTypeEntity.getAction()); | 
			
		
	
		
			
				
					|  |  |  |  |                 if (codeTempEntity1 != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                     return ResultVOUtils.error(533, "扫码重复或当前追溯码已存在草稿单据中!"); | 
			
		
	
		
			
				
					|  |  |  |  |                     return ResultVOUtils.error(533, "扫码重复!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -794,7 +794,7 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |             if (StrUtil.isNotEmpty(udiEntity.getSerialNo())) { | 
			
		
	
		
			
				
					|  |  |  |  |                 IoCodeTempEntity codeTempEntity1 = codeTempService.selectByCode(code, udiEntity.getBatchNo(), bussinessTypeEntity.getAction()); | 
			
		
	
		
			
				
					|  |  |  |  |                 if (codeTempEntity1 != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                     return ResultVOUtils.error(533, "扫码重复或当前追溯码已存在草稿单据中!"); | 
			
		
	
		
			
				
					|  |  |  |  |                     return ResultVOUtils.error(533, "扫码重复!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } else { | 
			
		
	
		
			
				
					|  |  |  |  |                 //校验工位库存
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1813,7 +1813,7 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |                 return ResultVOUtils.error(533, "当前追溯码已存在拆零库存!"); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (codeTempEntity != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 return ResultVOUtils.error(533, "扫码重复或当前追溯码已存在草稿单据中!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return ResultVOUtils.error(533, "扫码重复!"); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } else if (bussinessTypeEntity.getAction().equals(ConstantType.SPLIT_RETURN)) { | 
			
		
	
		
			
				
					|  |  |  |  |             if (fifoCodeEntity == null) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -1823,7 +1823,7 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |                 return ResultVOUtils.error(533, "当前追溯码已经拆零,无法退货!"); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (codeTempEntity != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 return ResultVOUtils.error(533, "扫码重复或当前追溯码已存在草稿单据中!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return ResultVOUtils.error(533, "扫码重复!"); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         return ResultVOUtils.success(); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |