|  |  | @ -10,6 +10,7 @@ import com.glxp.api.common.util.ResultVOUtils; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.constant.Constant; |  |  |  | import com.glxp.api.constant.Constant; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.constant.ConstantStatus; |  |  |  | import com.glxp.api.constant.ConstantStatus; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.constant.ConstantType; |  |  |  | import com.glxp.api.constant.ConstantType; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import com.glxp.api.entity.auth.AuthAdmin; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.basic.BasicBusTypeChangeEntity; |  |  |  | import com.glxp.api.entity.basic.BasicBusTypeChangeEntity; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.basic.BasicProductsEntity; |  |  |  | import com.glxp.api.entity.basic.BasicProductsEntity; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.inout.IoOrderDetailBizEntity; |  |  |  | import com.glxp.api.entity.inout.IoOrderDetailBizEntity; | 
			
		
	
	
		
		
			
				
					|  |  | @ -115,6 +116,10 @@ public class PurApplyController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (purApplyRequest.getStatus() == null) { |  |  |  |         if (purApplyRequest.getStatus() == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             purApplyRequest.setStatus(11);  //查询未审核和草稿状态
 |  |  |  |             purApplyRequest.setStatus(11);  //查询未审核和草稿状态
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if(purApplyRequest.getIsUser() != null && purApplyRequest.getIsUser()){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             AuthAdmin authAdmin=customerService.getUserBean(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             purApplyRequest.setCreateUser(authAdmin.getId() + ""); //查询自己
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<PurApplyResponse> purApplyEntities = purApplyService.queryPageList(purApplyRequest); |  |  |  |         List<PurApplyResponse> purApplyEntities = purApplyService.queryPageList(purApplyRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |         PageInfo<PurApplyResponse> pageInfo; |  |  |  |         PageInfo<PurApplyResponse> pageInfo; | 
			
		
	
	
		
		
			
				
					|  |  | @ -136,6 +141,10 @@ public class PurApplyController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (purApplyRequest.getStatus() == null) { |  |  |  |         if (purApplyRequest.getStatus() == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             purApplyRequest.setStatus(10);  //查询未审核和已审核状态
 |  |  |  |             purApplyRequest.setStatus(10);  //查询未审核和已审核状态
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if(purApplyRequest.getIsInvCode()!=null && purApplyRequest.getIsInvCode()){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             AuthAdmin authAdmin=customerService.getUserBean(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             purApplyRequest.setInvCode(authAdmin.getLocInvCode() + ""); //查询自己仓库
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<PurApplyResponse> purApplyEntities = purApplyService.queryPageList(purApplyRequest); |  |  |  |         List<PurApplyResponse> purApplyEntities = purApplyService.queryPageList(purApplyRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |         PageInfo<PurApplyResponse> pageInfo; |  |  |  |         PageInfo<PurApplyResponse> pageInfo; | 
			
		
	
		
		
			
				
					
					|  |  |  |         pageInfo = new PageInfo<>(purApplyEntities); |  |  |  |         pageInfo = new PageInfo<>(purApplyEntities); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |