|  |  | @ -10,86 +10,91 @@ public class ConstantStatus { | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 等待提交(草稿) |  |  |  |      * 等待提交(草稿) | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_TEMP_SAVE = 1; |  |  |  |     public static final int ORDER_STATUS_TEMP_SAVE = 1; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 已提交待处理 |  |  |  |      * 已提交待处理 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_PROCESS = 2; |  |  |  |     public static final int ORDER_STATUS_PROCESS = 2; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 处理成功待校验 |  |  |  |      * 处理成功待校验 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_CHECK = 3; |  |  |  |     public static final int ORDER_STATUS_CHECK = 3; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 处理异常 |  |  |  |      * 处理异常 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATS_ERROR = 4; |  |  |  |     public static final int ORDER_STATS_ERROR = 4; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 待核对 |  |  |  |      * 待核对 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_CHECK_SUCCESS = 5; |  |  |  |     public static final int ORDER_STATUS_CHECK_SUCCESS = 5; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 校验失败 |  |  |  |      * 校验失败 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_CHECK_FAIL = 6; |  |  |  |     public static final int ORDER_STATUS_CHECK_FAIL = 6; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 待审核 |  |  |  |      * 待审核 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_CHECK_REW = 10; |  |  |  |     public static final int ORDER_STATUS_CHECK_REW = 10; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 审核通过 |  |  |  |      * 审核通过 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_AUDITED = 7; |  |  |  |     public static final int ORDER_STATUS_AUDITED = 7; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 审核拒绝 |  |  |  |      * 审核拒绝 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_AUDITED_REFUSED = 8; |  |  |  |     public static final int ORDER_STATUS_AUDITED_REFUSED = 8; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 已提交正在处理 |  |  |  |      * 已提交正在处理 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_PROCESSING = 9; |  |  |  |     public static final int ORDER_STATUS_PROCESSING = 9; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      * 已提交校验正在处理 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     public static final int ORDER_STATUS_CHECK_PROCESS = 12; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 业务单已提交待配货 |  |  |  |      * 业务单已提交待配货 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_ALLOCATE = 11; |  |  |  |     public static final int ORDER_STATUS_ALLOCATE = 11; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_DELIVERY_STATUS_UN = 1; |  |  |  |     public static final int ORDER_DELIVERY_STATUS_UN = 1; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_DELIVERY_STATUS_ED = 2; |  |  |  |     public static final int ORDER_DELIVERY_STATUS_ED = 2; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 单据创建类型  2.新增扫码单据,1、新增业务单据,3、正常单据处理,4:带配货页面 |  |  |  |      * 单据创建类型  2.新增扫码单据,1、新增业务单据,3、正常单据处理,4:带配货页面 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_TYPE_BIZ = 1; |  |  |  |     public static final int ORDER_TYPE_BIZ = 1; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_TYPE_SCAN = 2; |  |  |  |     public static final int ORDER_TYPE_SCAN = 2; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_TYPE_NORMAL = 3; |  |  |  |     public static final int ORDER_TYPE_NORMAL = 3; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_TYPE_WAIT = 4; |  |  |  |     public static final int ORDER_TYPE_WAIT = 4; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 供应商自助平台单据类型 |  |  |  |      * 供应商自助平台单据类型 | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer BUS_TYPE_NORMAL = 1;  //正常出入库单据(入账)
 |  |  |  |     public static final int BUS_TYPE_NORMAL = 1;  //正常出入库单据(入账)
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer BUS_TYPE_DELIVERY = 2;    //送货出入库单据
 |  |  |  |     public static final int BUS_TYPE_DELIVERY = 2;    //送货出入库单据
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer BUS_TYPE_ARRIVAL = 3;  //到货出库单据类型
 |  |  |  |     public static final int BUS_TYPE_ARRIVAL = 3;  //到货出库单据类型
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer BUS_TYPE_RETURNED = 4;      //退货单单据类型
 |  |  |  |     public static final int BUS_TYPE_RETURNED = 4;      //退货单单据类型
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer BUS_TYPE_INVOICE = 4;      //退货单单据类型
 |  |  |  |     public static final int BUS_TYPE_INVOICE = 4;      //退货单单据类型
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ACTION_TYPE_NORMAL = 1;         //带票
 |  |  |  |     public static final int ACTION_TYPE_NORMAL = 1;         //带票
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ACTION_TYPE_PREIN = 2;          //预验收
 |  |  |  |     public static final int ACTION_TYPE_PREIN = 2;          //预验收
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ACTION_TYPE_ADVANCE = 3;        //寄售
 |  |  |  |     public static final int ACTION_TYPE_ADVANCE = 3;        //寄售
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final int ORDER_SPUSE_NO = 0;         //不允许供应商使用
 |  |  |  |     public static final int ORDER_SPUSE_NO = 0;         //不允许供应商使用
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -97,41 +102,41 @@ public class ConstantStatus { | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final int ORDER_SPUSE_EDIT = 2;       //允许供应商编辑
 |  |  |  |     public static final int ORDER_SPUSE_EDIT = 2;       //允许供应商编辑
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_STATUS_ADDITIONAL = 5;    //补录单据
 |  |  |  |     public static final int ORDER_STATUS_ADDITIONAL = 5;    //补录单据
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | //    public static final Integer ORDER_STATUS_RECEIVEED = 7;
 |  |  |  | //    public static final int ORDER_STATUS_RECEIVEED = 7;
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //订单处理状态
 |  |  |  |     //订单处理状态
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_DEAL_DRAFT = 1;   //草稿
 |  |  |  |     public static final int ORDER_DEAL_DRAFT = 1;   //草稿
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_DEAL_POST = 2;   //已提交,待交接
 |  |  |  |     public static final int ORDER_DEAL_POST = 2;   //已提交,待交接
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_DEAL_REW = 4;     //交接中,待审核
 |  |  |  |     public static final int ORDER_DEAL_REW = 4;     //交接中,待审核
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_DEAL_CHECK = 3;     //已审核
 |  |  |  |     public static final int ORDER_DEAL_CHECK = 3;     //已审核
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //ERP校验状态
 |  |  |  |     //ERP校验状态
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_CHECK_SUCCESS = 2;    //校验成功
 |  |  |  |     public static final int ORDER_CHECK_SUCCESS = 2;    //校验成功
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_CHECK_FAIL = 1;       //校验失败
 |  |  |  |     public static final int ORDER_CHECK_FAIL = 1;       //校验失败
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_CHECK_UN = 0;       //未校验
 |  |  |  |     public static final int ORDER_CHECK_UN = 0;       //未校验
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //ERP订单上传状态
 |  |  |  |     //ERP订单上传状态
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_EXPORT_UN = 0;    //未导出
 |  |  |  |     public static final int ORDER_EXPORT_UN = 0;    //未导出
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_EXPORT_ED = 1;    //已导出
 |  |  |  |     public static final int ORDER_EXPORT_ED = 1;    //已导出
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_EXPORT_FAIL = 2;    //导出失败
 |  |  |  |     public static final int ORDER_EXPORT_FAIL = 2;    //导出失败
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //ERP订单签字状态
 |  |  |  |     //ERP订单签字状态
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_SIGN_UN = 0;    //未签字
 |  |  |  |     public static final int ORDER_SIGN_UN = 0;    //未签字
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_SIGN_ED = 1;    //已签字
 |  |  |  |     public static final int ORDER_SIGN_ED = 1;    //已签字
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer ORDER_SIGN_FAIL = 2;    //签字失败
 |  |  |  |     public static final int ORDER_SIGN_FAIL = 2;    //签字失败
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //UDI产品信息表字段类型
 |  |  |  |     //UDI产品信息表字段类型
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer PRODUCT_TYPE_UDI = 0; |  |  |  |     public static final int PRODUCT_TYPE_UDI = 0; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer PRODUCT_TYPE_THIRD = 1; |  |  |  |     public static final int PRODUCT_TYPE_THIRD = 1; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //DI类型
 |  |  |  |     //DI类型
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer DI_TYPE_MAIN = 1;//主标识
 |  |  |  |     public static final int DI_TYPE_MAIN = 1;//主标识
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer DI_TYPE_SYDY = 2;//使用单元
 |  |  |  |     public static final int DI_TYPE_SYDY = 2;//使用单元
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer DI_TYPE_BTBS = 3;//本体标识
 |  |  |  |     public static final int DI_TYPE_BTBS = 3;//本体标识
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer DI_TYPE_BZBS = 4;//包装标识
 |  |  |  |     public static final int DI_TYPE_BZBS = 4;//包装标识
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //业务单据状态
 |  |  |  |     //业务单据状态
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -174,8 +179,8 @@ public class ConstantStatus { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //采购类型
 |  |  |  |     //采购类型
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer PRUCHASE_ADVANCE = 1;   //预入库
 |  |  |  |     public static final int PRUCHASE_ADVANCE = 1;   //预入库
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     public static final Integer PRUCHASE_COMMON = 2;    //普通采购
 |  |  |  |     public static final int PRUCHASE_COMMON = 2;    //普通采购
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //往来单位类型
 |  |  |  |     //往来单位类型
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |