You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1704 lines
72 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System.ComponentModel;
using System.Reflection;
namespace DS.Module.Core;
/// <summary>
/// 多语言配置
/// </summary>
public static class MultiLanguageConst
{
/// <summary>
/// 获取指定字段的描述文本
/// </summary>
/// <param name="fieldName">字段名</param>
/// <returns></returns>
/// <exception cref="ArgumentException">找不到字段时引发</exception>
public static string GetDescription(string fieldName)
{
var fieldInfo = typeof(MultiLanguageConst).GetField(fieldName) ?? throw new ArgumentException($"不存在的常量:{fieldName}", fieldName);
var attribute = fieldInfo.GetCustomAttribute<DescriptionAttribute>();
return attribute?.Description ?? string.Empty;
}
/// <summary>
/// 未能获取指定的数据
/// </summary>
[Description("未能获取指定的数据")]
public const string EmptyData = "Empty_Data";
/// <summary>
/// 查询成功
/// </summary>
[Description("查询成功")]
public const string DataQuerySuccess = "Data_Query_Success";
/// <summary>
/// 查询无数据
/// </summary>
[Description("查询无数据")]
public const string DataQueryNoData = "Data_Query_NoData";
/// <summary>
/// 新增成功
/// </summary>
[Description("新增成功")]
public const string DataCreateSuccess = "Data_Create_Success";
/// <summary>
/// 操作成功
/// </summary>
[Description("操作成功")]
public const string OperationSuccess = "Operation_Success";
/// <summary>
/// 更新成功
/// </summary>
[Description("更新成功")]
public const string DataUpdateSuccess = "Data_Update_Success";
/// <summary>
/// 复制成功
/// </summary>
[Description("复制成功")]
public const string DataCopySuccess = "Data_Copy_Success";
/// <summary>
/// 删除成功
/// </summary>
[Description("删除成功")]
public const string DataDelSuccess = "Data_Del_Success";
/// <summary>
/// 操作失败
/// </summary>
[Description("操作失败")]
public const string Operation_Failed = "Operation_Failed";
/// <summary>
/// 更新失败
/// </summary>
[Description("更新失败")]
public const string DataUpdateFailed = "Data_Update_Failed";
/// <summary>
/// 导入成功
/// </summary>
[Description("导入成功")]
public const string DataImportSuccess = "Data_Import_Success";
/// <summary>
/// 程序异常
/// </summary>
[Description("程序异常")]
public const string ProgramException = "Program_Exception";
/// <summary>
/// 请选择数据
/// </summary>
[Description("请选择数据!")]
public const string DataNoSelect = "Data_No_Select";
/// <summary>
/// Http请求失败
/// </summary>
[Description("Http请求失败错误代码{0}")]
public const string HttpRequestFailed = "Http_Request_Failed";
#region 数据映射
[Description("场站映射信息已存在")]
public const string MappingYardExist = "MappingYard_Exist";
[Description("场站映射信息不存在")]
public const string MappingYardNotExist = "MappingYard_Not_Exist";
[Description("箱型映射信息已存在")]
public const string MappingCtnExist = "MappingCtn_Exist";
[Description("箱型映射信息不存在")]
public const string MappingCtnNotExist = "MappingCtn_Not_Exist";
[Description("付款方式映射信息已存在")]
public const string MappingFrtExist = "MappingFrt_Exist";
[Description("付款方式映射信息不存在")]
public const string MappingFrtNotExist = "MappingFrt_Not_Exist";
[Description("包装映射信息已存在")]
public const string MappingPackageExist = "MappingPackage_Exist";
[Description("包装映射信息不存在")]
public const string MappingPackageNotExist = "MappingPackage_Not_Exist";
[Description("船司映射信息已存在")]
public const string MappingCarrierExist = "MappingCarrier_Exist";
[Description("船司映射信息不存在")]
public const string MappingCarrierNotExist = "MappingCarrier_Not_Exist";
[Description("船代映射信息已存在")]
public const string MappingForwarderExist = "MappingForwarder_Exist";
[Description("船代映射信息不存在")]
public const string MappingForwarderNotExist = "MappingForwarder_Not_Exist";
[Description("签单方式映射信息已存在")]
public const string MappingIssueTypeExist = "MappingIssueType_Exist";
[Description("签单方式映射信息不存在")]
public const string MappingIssueTypeNotExist = "MappingIssueType_Not_Exist";
[Description("港口映射信息已存在")]
public const string MappingPortExist = "MappingPort_Exist";
[Description("港口映射信息不存在")]
public const string MappingPortNotExist = "MappingPort_Not_Exist";
[Description("运输条款映射信息已存在")]
public const string MappingServiceExist = "MappingService_Exist";
[Description("运输条款映射信息不存在")]
public const string MappingServiceNotExist = "MappingService_Not_Exist";
[Description("船名映射信息已存在")]
public const string MappingVesselExist = "MappingVessel_Exist";
[Description("船名映射信息不存在")]
public const string MappingVesselNotExist = "MappingVessel_Not_Exist";
[Description("船代与港口关系信息已存在")]
public const string RelationForwarderAndPortExist = "RelationForwarderAndPort_Exist";
[Description("船代与港口关系信息不存在")]
public const string RelationForwarderAndPortNotExist = "RelationForwarderAndPort_Not_Exist";
[Description("航线与港口关系信息已存在")]
public const string RelationLaneAndPortExist = "RelationLaneAndPort_Exist";
[Description("航线与港口关系信息不存在")]
public const string RelationLaneAndPortNotExist = "RelationLaneAndPort_Not_Exist";
#endregion
#region 用户管理
[Description("用户授权数量限制")]
public const string UserAuthNumLimit = "User_AuthNum_Limit";
[Description("{0}模块数量超出授权数量{1}")]
public const string PerAuthNumLimit = "Permission_AuthNum_Limit";
[Description("用户唯一编码已存在")]
public const string UserCodeExist = "UserCode_Exist";
[Description("角色唯一编码已存在")]
public const string RoleCodeExist = "RoleCode_Exist";
#endregion
[Description("字典类型唯一编码已存在")]
public const string DictCodeExist = "DictCode_Exist";
[Description("未配置语言代码:{0}下的字典代码:{1}")]
public const string DictCodeLanguageNoConfig = "DictCode_Language_No_Config";
[Description("机构名称已存在")]
public const string OrgNameExist = "OrgName_Exist";
[Description("系统参数已存在")]
public const string ConfigExist = "Config_Exist";
[Description("银行信息已存在")]
public const string BankExist = "Bank_Exist";
[Description("业务参数已存在")]
public const string CodeConfigExist = "CodeConfig_Exist";
[Description("系统版本信息已存在")]
public const string VersionExist = "Version_Exist";
[Description("系统版本更新已执行")]
public const string VersionExecuted = "Version_Executed";
/// <summary>
/// 权限模块不存在
/// </summary>
[Description("权限模块不存在")]
public const string PermissionNotExist = "Permission_NotExist";
[Description("此模块未授权")]
public const string ModuleUnauthorized = "Module_Unauthorized";
[Description("数据权限已存在")]
public const string DataRuleExist = "Data_Rule_Exist";
[Description("系统编码已存在")]
public const string SequenceExist = "Sequence_Exist";
[Description("系统编码规则已存在")]
public const string SequenceRuleExist = "Sequence_Rule_Exist";
/// <summary>
/// 非法请求
/// </summary>
[Description("非法请求")]
public const string IllegalRequest = "Illegal_Request";
#region 工作流相关
[Description("工作流实例存在引用的流程模板不能删除")]
public const string FlowTemplateDelExistImport = "FlowTemplate_Del_Exist_Import";
[Description("引入的流程模板不存在")]
public const string FlowTemplateImportNotExist = "FlowTemplate_Import_NotExist";
/// <summary>
/// 只能修改【草稿】和【驳回】状态的流程
/// </summary>
[Description("只能修改【就绪】和【撤销】状态的流程")]
public const string FlowEditOnlyReadyAndCancel = "Flow_Edit_Only_ReadyAndCancel";
/// <summary>
/// 该流程模板已不存在,请重新设计流程
/// </summary>
[Description("该流程模板不存在")]
public const string FlowTemplateNotExist = "FlowTemplate_NotExist";
/// <summary>
/// 该工作流指定用户非本人
/// </summary>
[Description("该工作流指定用户非本人")]
public const string FlowInstanceAssignUser = "FlowInstance_Assign_User";
/// <summary>
/// 该工作流指定角色非本人
/// </summary>
[Description("该工作流指定角色非本人")]
public const string FlowInstanceAssignRole = "FlowInstance_Assign_Role";
/// <summary>
/// 创建工作流实例成功
/// </summary>
[Description("创建工作流实例成功")]
public const string FlowInstanceCreateSuccess = "FlowInstance_Create_Success";
/// <summary>
/// 工作流实例撤销成功
/// </summary>
[Description("工作流实例撤销成功")]
public const string FlowInstanceCancelSuccess = "FlowInstance_Cancel_Success";
/// <summary>
/// 工作流实例更新成功
/// </summary>
[Description("工作流实例更新成功")]
public const string FlowInstanceUpdateSuccess = "FlowInstance_Update_Success";
/// <summary>
/// 工作流实例审批成功
/// </summary>
[Description("工作流实例审批成功")]
public const string FlowInstanceAuditSuccess = "FlowInstance_Audit_Success";
/// <summary>
/// 工作流实例不存在
/// </summary>
[Description("工作流实例不存在")]
public const string FlowInstanceNotExist = "FlowInstance_NotExist";
/// <summary>
/// 该工作流审批节点与当前节点不一致
/// </summary>
[Description("该工作流审批节点与当前节点不一致")]
public const string FlowInstanceNodeIdConflict
= "FlowInstance_NodeId_Conflict";
/// <summary>
/// 无法寻找到下一个节点
/// </summary>
[Description("无法寻找到下一个节点")]
public const string FlowInstanceNotFindNextNode = "FlowInstance_NotFind_NextNode";
/// <summary>
/// 工作流实例已完成
/// </summary>
[Description("工作流实例已完成")]
public const string FlowInstanceFinished = "FlowInstance_Finished";
#endregion
#region 基础信息
[Description("商品类型已存在")]
public const string CodeGoodsTypeExist = "Code_Goods_Type_Exist";
[Description("商品类型导入无数据")]
public const string CodeGoodsTypeImportNoData = "Code_Goods_Type_Import_No_Data";
[Description("存在已导入的商品类型")]
public const string CodeGoodsTypeImportAlready = "Code_Goods_Type_Import_Already";
[Description("商品已存在")]
public const string CodeGoodsExist = "Code_Goods_Exist";
[Description("商品导入无数据")]
public const string CodeGoodsImportNoData = "Code_Goods_Import_No_Data";
[Description("存在已导入的商品")]
public const string CodeGoodsImportAlready = "Code_Goods_Import_Already";
[Description("签单方式已存在")]
public const string CodeIssueTypeExist = "Code_Issue_Type_Exist";
[Description("签单方式导入无数据")]
public const string CodeIssueTypeImportNoData = "Code_Issue_Type_Import_No_Data";
[Description("存在已导入的签单方式")]
public const string CodeIssueTypeImportAlready = "Code_Issue_Type_Import_Already";
[Description("包装类型已存在")]
public const string CodePackageExist = "Code_Package_Exist";
[Description("包装类型导入无数据")]
public const string CodePackageImportNoData = "Code_Package_Import_No_Data";
[Description("存在已导入的包装类型")]
public const string CodePackageImportAlready = "Code_Package_Import_Already";
[Description("国家信息已存在")]
public const string CodeCountryExist = "Code_Country_Exist";
[Description("国家信息导入无数据")]
public const string CodeCountryImportNoData = "Code_Country_Import_No_Data";
[Description("存在已导入的国家信息")]
public const string CodeCountryImportAlready = "Code_Country_Import_Already";
[Description("集装箱信息已存在")]
public const string CodeCtnExist = "Code_Ctn_Exist";
[Description("集装箱信息导入无数据")]
public const string CodeCtnImportNoData = "Code_Ctn_Import_No_Data";
[Description("存在已导入的集装箱信息")]
public const string CodeCtnImportAlready = "Code_Ctn_Import_Already";
[Description("对账模板信息已存在")]
public const string CheckBillTemplateExist = "CheckBill_Template_Exist";
[Description("工厂信息已存在")]
public const string CodeFactoryExist = "Code_Factory_Exist";
[Description("港口信息已存在")]
public const string CodePortExist = "Code_Port_Exist";
[Description("港口信息导入无数据")]
public const string CodePortImportNoData = "Code_Port_Import_No_Data";
[Description("存在已导入的港口信息")]
public const string CodePortImportAlready = "Code_Port_Import_Already";
[Description("船名信息已存在")]
public const string CodeVesselExist = "Code_Vessel_Exist";
[Description("船名信息导入无数据")]
public const string CodeVesselImportNoData = "Code_Vessel_Import_No_Data";
[Description("存在已导入的船名信息")]
public const string CodeVesselImportAlready = "Code_Vessel_Import_Already";
[Description("船公司信息已存在")]
public const string CodeCarrierExist = "Code_Carrier_Exist";
[Description("航次信息已存在")]
public const string CodeVoynoExist = "Code_Voyno_Exist";
[Description("航次信息导入无数据")]
public const string CodeVoynoImportNoData = "Code_Voyno_Import_No_Data";
[Description("存在已导入的航次信息")]
public const string CodeVoynoImportAlready = "Code_Voyno_Import_Already";
[Description("业务来源信息已存在")]
public const string CodeSourceExist = "Code_Source_Exist";
[Description("业务来源信息导入无数据")]
public const string CodeSourceImportNoData = "Code_Source_Import_No_Data";
[Description("存在已导入的业务来源信息")]
public const string CodeSourceImportAlready = "Code_Source_Import_Already";
[Description("业务来源信息明细已存在")]
public const string CodeSourceDetailExist = "Code_Source_Detail_Exist";
[Description("业务来源明细信息导入无数据")]
public const string CodeSourceDetailImportNoData = "Code_Source_Detail_Import_No_Data";
[Description("存在已导入的业务来源明细信息")]
public const string CodeSourceDetailImportAlready = "Code_Source_Detail_Import_Already";
[Description("航线信息已存在")]
public const string CodeLaneExist = "Code_Lane_Exist";
[Description("航线信息导入无数据")]
public const string CodeLaneImportNoData = "Code_Lane_Import_No_Data";
[Description("存在已导入的航线信息")]
public const string CodeLaneImportAlready = "Code_Lane_Import_Already";
[Description("付费方式已存在")]
public const string CodeFrtExist = "Code_Frt_Exist";
[Description("付费方式导入无数据")]
public const string CodeFrtImportNoData = "Code_Frt_Import_No_Data";
[Description("存在已导入的付费方式")]
public const string CodeFrtImportAlready = "Code_Frt_Import_Already";
[Description("运输条款已存在")]
public const string CodeServiceExist = "Code_Service_Exist";
[Description("运输条款导入无数据")]
public const string CodeServiceImportNoData = "Code_Service_Import_No_Data";
[Description("存在已导入的运输条款")]
public const string CodeServiceImportAlready = "Code_Service_Import_Already";
[Description("结算方式已存在")]
public const string CodeStlModeExist = "Code_StlMode_Exist";
[Description("结算方式导入无数据")]
public const string CodeStlModeImportNoData = "Code_StlMode_Import_No_Data";
[Description("存在已导入的结算方式")]
public const string CodeStlModeImportAlready = "Code_StlMode_Import_Already";
[Description("第三方账号已存在")]
public const string CodeThirdPartyExist = "Code_Third_Party_Exist";
[Description("表单设置已存在")]
public const string FormSetExist = "Form_Set_Exist";
[Description("数据权限模板已存在")]
public const string DataRuleTemplateExist = "DataRule_Template_Exist";
[Description("查询条件设置已存在")]
public const string QuerySetExist = "Query_Set_Exist";
[Description("查询条件设置不存在")]
public const string QuerySetNotExist = "Query_Set_Not_Exist";
[Description("Edi设置已存在")]
public const string EdiSetExist = "Edi_Set_Exist";
[Description("Edi设置不存在")]
public const string EdiSetNotExist = "Edi_Set_Not_Exist";
[Description("订单关系人设置已存在")]
public const string OrderContactExist = "Order_Contact_Exist";
[Description("订单关系人设置不存在")]
public const string OrderContactNotExist = "Order_Contact_Not_Exist";
[Description("用户邮箱设置已存在")]
public const string UserEmailExist = "UserEmail_Exist";
[Description("用户邮箱设置不存在")]
public const string UserEmailNotExist = "UserEmail_Not_Exist";
[Description("未配置个人邮箱账号")]
public const string UserEmailNotSet = "UserEmail_Not_Set";
[Description("列表字段设置已存在")]
public const string ColumnSetExist = "Column_Set_Exist";
[Description("表单复制字段设置已存在")]
public const string FormCopyExist = "Form_Copy_Exist";
[Description("客户银行信息已存在")]
public const string ClientBankExist = "Client_Bank_Exist";
[Description("联系人已存在,同一姓名/邮箱/手机不允许重复")]
public const string ClientContactExist = "Client_Contact_Exist";
[Description("客户合同信息已存在")]
public const string ClientContractExist = "Client_Contract_Exist";
[Description("客户收发货人信息已存在")]
public const string ClientShipperExist = "Client_Shipper_Exist";
[Description("客户账期信息已存在")]
public const string ClientAccountDateExist = "Client_Account_Date_Exist";
[Description("客户信息已存在")]
public const string ClientInfoExist = "Client_Info_Exist";
[Description("客户参数已存在")]
public const string ClientParamExist = "Client_Param_Exist";
[Description("客户联系人信息不完整电话、手机至少填一项邮件、QQ至少填一项")]
public const string ClientInfoIncomplete = "Client_Info_Incomplete";
[Description("此项信息已被使用,禁止编辑")]
public const string ClientIsUsed = "Client_Is_Used";
#endregion
#region 海运出口
[Description("海运出口信息已存在")]
public const string SeaExportExist = "Sea_Export_Exist";
[Description("海运出口信息不存在")]
public const string SeaExportNotExist = "Sea_Export_Not_Exist";
[Description("海运出口存在分票信息")]
public const string SeaExportPartExist = "Sea_Export_Part_Exist";
[Description("海运出口备注不存在")]
public const string SeaExportRemarkNotExist = "Sea_Export_Remark_Not_Exist";
[Description("请先选择场站!")]
public const string SeaExportYardCheck = "Sea_Export_Yard_Check";
[Description("海运出口规则引擎校验完成!")]
public const string SeaExportRuleEngineFinished = "Sea_Export_RuleEngine_Finished";
[Description("订舱货物状态已存在")]
public const string BookingGoodsStatusConfigExist = "Booking_Goods_Status_Config_Exist";
[Description("舱单分票件数合计超出限制")]
public const string SeaExportPartCtnPKGSLimit = "Sea_Export_PartCtn_PKGS_Limit";
[Description("舱单分票重量合计超出限制")]
public const string SeaExportPartCtnKGSLimit = "Sea_Export_PartCtn_KGS_Limit";
[Description("舱单分票件数尺码超出限制")]
public const string SeaExportPartCtnCBMLimit = "Sea_Export_PartCtn_CBM_Limit";
[Description("海运出口存在费用信息")]
public const string SeaExportFeeExist = "Sea_Export_Fee_Exist";
[Description("海运出口存在未取消的关联任务,无法删除;任务流水号:{0}")]
public const string SeaExportTaskExist = "SeaExportTaskExist";
[Description("海运出口信息业务已锁定")]
public const string SeaExportBusinessLock = "Sea_Export_Business_Lock";
[Description("海运出口信息费用已锁定")]
public const string SeaExportFeeLock = "Sea_Export_Fee_Lock";
[Description("海运出口信息业务锁定已解锁")]
public const string SeaExportBusinessUnLock = "Sea_Export_Business_UnLock";
[Description("海运出口信息费用锁定已解锁")]
public const string SeaExportFeeUnLock = "Sea_Export_Fee_UnLock";
[Description("海运出口批量操作未勾选")]
public const string SeaExportBatchOpNoSelect = "Sea_Export_Batch_Op_No_Select";
[Description("海运出口批量编辑未勾选")]
public const string SeaExportBatchEditNoSelect = "Sea_Export_Batch_Edit_No_Select";
[Description("海运出口信息主提单号已存在")]
public const string SeaExportMBLNOExist = "Sea_Export_MBLNO_Exist";
[Description("海运出口信息分提单号已存在")]
public const string SeaExportHBLNOExist = "Sea_Export_HBLNO_Exist";
[Description("截港日期不允许大于开船日期")]
public const string SeaExportCloseDateLimit = "Sea_Export_CloseDate_Limit";
[Description("截单日期不允许大于开船日期")]
public const string SeaExportCloseDocDateLimit = "Sea_Export_CloseDocDate_Limit";
[Description("箱信息不存在")]
public const string OpCtnNotExist = "OpCtn_Not_Exist";
[Description("函电信息不存在")]
public const string LetterNotExist = "Letter_Not_Exist";
[Description("收发通信息不存在")]
public const string ShippingBillTemplateNotExist = "ShippingBill_Template_Not_Exist";
[Description("舱单信息不存在")]
public const string ShippingBillNotExist = "ShippingBill_Not_Exist";
[Description("舱单箱信息不存在")]
public const string ShippingBillCtnNotExist = "ShippingBill_Ctn_Not_Exist";
[Description("提单信息不存在")]
public const string ShippingBillManageNotExist = "ShippingBillManage_Not_Exist";
[Description("表单设置不存在")]
public const string FormSetNotExist = "FormSet_Not_Exist";
[Description("表单复制模板不存在")]
public const string FormCopyNotExist = "FormCopy_Not_Exist";
[Description("系统编码规则不存在")]
public const string SequenceSetNotExist = "SequenceSet_Not_Exist";
#endregion
#region 费用相关
[Description("币别信息已存在")]
public const string FeeCurrencyExist = "Fee_Currency_Exist";
[Description("汇率设置已存在")]
public const string FeeCurrencyExchangeExist = "Fee_Currency_Exchange_Exist";
[Description("尚未维护币别")]
public const string FeeCurrencyNotFound = "Fee_Currency_NotFound";
[Description("费用模板已存在")]
public const string FeeTemplateExist = "Fee_Template_Exist";
[Description("费用模板明细已存在")]
public const string FeeTemplateDetailExist = "Fee_Template_Detail_Exist";
[Description("费用模板明细不存在")]
public const string FeeTemplateDetailNotExist = "Fee_Template_Detail_Not_Exist";
[Description("往来单位固定费用已存在")]
public const string FeeCustTemplateDetailExist = "Fee_Cust_Template_Detail_Exist";
[Description("费用代码已存在")]
public const string FeeCodeExist = "Fee_Code_Exist";
[Description("费用记录已存在")]
public const string FeeRecordExist = "Fee_Record_Exist";
[Description("费用记录不存在")]
public const string FeeRecordNotExist = "Fee_Record_NotExist";
[Description("没有找到费用记录")]
public const string FeeRecordNone = "Fee_Record_None";
[Description("每次只能提交同一笔业务的费用")]
public const string FeeBusinessIdOnlyOne = "Fee_BusinessId_OnlyOne";
[Description("只能删除状态为‘录入’或‘驳回提交’的费用")]
public const string FeeRecordDelete = "Fee_Record_Delete";
[Description("费用已锁定,禁止提交")]
public const string FeeLocked = "Fee_Record_Locked";
[Description("费用【{0}】状态不正确")]
public const string FeeRecordStatus = "Fee_Record_Status";
[Description("所选项包含正在审批中的费用,无法提交")]
public const string FeeRecordIsAuditing = "Fee_Record_IsAuditing";
[Description("当前审批费用包含已结算/部分结算的费用,无法提交")]
public const string FeeRecordIsSettled = "Fee_Record_IsSettled";
[Description("未能找到审批模板")]
public const string TemplateNotFound = "Template_NotFound";
[Description("以下项:{0} 未在审批状态中,无需撤销")]
public const string NoNeedWithdraw = "NoNeed_Withdraw";
[Description("未能获取业务信息")]
public const string BusinessNotFound = "Business_NotFound";
[Description("当前业务的费用状态为:{0},无法提交")]
public const string BusinessStatusError = "Business_Status_Error";
[Description("当前业务的审批状态不正确")]
public const string BusinessAuditStatusError = "Business_AuditStatus_Error";
[Description("不支持的业务类型:{0}")]
public const string BusinessNotSupported = "Business_NotSupported";
[Description("提交数据中包含不在审批流程中的项")]
public const string NotInFlows = "NotIn_Flows";
[Description("提交数据中包含不在待审批状态的项")]
public const string NotInAudit = "NotIn_Audit";
[Description("未能获取审批工作流")]
public const string FlowNotFound = "Flow_NotFound";
[Description("所选项包含不属于当前用户权限范围内的审批,禁止提交")]
public const string AuditUnauthorization = "Audit_Unauthorized";
[Description("当前暂无待审批的项")]
public const string NoAuditItems = "No_Audit_Items";
[Description("所选项正在进行审批")]
public const string ItemsAreAuditing = "Items_Are_Auditing";
[Description("没有找到费用名称")]
public const string NoFeeName = "NoFeeName";
#endregion
#region 申请相关
[Description("费用明细的结算对象有且只能有一个")]
public const string DetailCustomerOnlyOne = "Application_Customer_OnlyOne";
[Description("申请单明细每次提交只能对应一条费用记录")]
public const string ApplicationRecordOnlyOne = "Application_Record_OnlyOne";
[Description("提交审批时必须包含费用明细")]
public const string ApplicationMustHaveDetail = "Application_MustHave_Detail";
[Description("只能提交状态为:未提交/审核驳回的申请单")]
public const string ApplicationSaveStatusError = "Application_Save_StatusError";
[Description("提交申请单币别需与原申请单币别一致")]
public const string ApplicationSaveCurrencyError = "Application_Save_CurrencyError";
[Description("只能删除状态为‘未提交’或‘驳回’的申请单")]
public const string ApplicationDeleteStatusError = "Application_Delete_StatusError";
[Description("申请明细的结算对象需与申请单一致")]
public const string ApplicationCustomerDetail = "Application_Customer_Detail";
[Description("申请明细的金额/原始金额不能为零")]
public const string AmountCannotBeZero = "Amount_CannotBe_Zero";
[Description("申请明细需要设置原始申请金额")]
public const string OriginalAmountCannotBeZero = "OriginalAmount_CannotBe_Zero";
[Description("未能关联明细【{0}】的费用信息")]
public const string ApplicationCannotRelateFee = "Application_Cannot_Relate_Fee";
[Description("费用【{0}】的金额已全部申请完毕")]
public const string FeeNobalance = "Fee_Nobalance";
[Description("申请单明细【{0}】的申请金额不能超出原费用的金额")]
public const string DetailExceedingLimit = "Detail_Exceeding_Limit";
[Description("提交内容包含正在审批中/已审批的申请单")]
public const string ApplicationIsAuditing = "Application_IsAuditing";
[Description("提交数据中包含不在待审批状态的申请单")]
public const string ApplicationIsNotAuditing = "Application_IsNot_Auditing";
[Description("费用【{0}】的税率与发票申请的税率不一致")]
public const string InvoiceRateFee = "Invoice_Rate_Fee";
[Description("模板字段定义文件不存在")]
public const string TemplateFileNotFound = "Template_File_NotFound";
[Description("模板")]
public const string DefaultTemplateName = "Default_Template_Name";
#endregion
#region 结算相关
[Description("结算单的结算类型未指定")]
public const string UnknownSettlementMode = "Unknown_Settlement_Mode";
[Description("结算单的单据类型未指定")]
public const string UnknownSettlementType = "Unknown_Settlement_Type";
[Description("结算单已被锁定,禁止提交")]
public const string SettlementIsLocked = "Settlement_IsLocked";
[Description("只能选择状态为:审核通过/部分结算的申请")]
public const string ApplicationSelectStatusError = "Application_Select_StatusError";
[Description("非原币申请必须指定原始币别")]
public const string OriginalCurrencyCanNotNull = "OriginalCurrency_CanNot_Null";
#endregion
#region 发票相关
[Description("发票已被锁定,禁止提交")]
public const string InvoiceIsLocked = "Invoice_IsLocked";
[Description("发票币别与费用明细币别不一致,需要进行汇率转换")]
public const string NeedExchangeRate = "Need_ExchangeRate";
[Description("开票单位有且只能有一个")]
public const string InvoiceCustomerOnlyOne = "Invoice_Customer_OnlyOne";
[Description("未配置开票API请求地址请联系管理员")]
public const string InvoiceAPIUrlNull = "Invoice_API_Url_Null";
[Description("开票信息不完整,请检查每张发票是否添加了费用明细")]
public const string InvoiceIncomplete = "Invoice_Incomplete";
[Description("请通过用户管理功能设置证件号码后再提交开票")]
public const string DrawerIDNumberIsNull = "Drawer_IDNumber_IsNull";
[Description("税率不一致,禁止提交")]
public const string InconsistentTaxRates= "Inconsistent_Tax_Rates";
#endregion
#region 预订舱API
/*
未配置
*/
/// <summary>
/// 当前船公司{0} 不支持 API 订舱
/// </summary>
[Description("当前船公司{0} 不支持 API 合约订舱")]
public const string SpaceBookingAPIBookingNotSupport = "SpaceBK_API_Booking_NotSupport";
/// <summary>
/// 当前船公司{0} 不支持 API 查询港口
/// </summary>
[Description("当前船公司{0} 不支持 API 查询港口")]
public const string SpaceBookingAPISearchLocNotSupport = "SpaceBK_API_SearchLoc_NotSupport";
/// <summary>
/// 当前船公司{0} 不支持 API 查询商品
/// </summary>
[Description("当前船公司{0} 不支持 API 查询商品")]
public const string SpaceBookingAPISearchCommodityNotSupport = "SpaceBK_API_SearchCommodity_NotSupport";
/// <summary>
/// 当前船公司{0} 不支持 API 订舱查询船期
/// </summary>
[Description("当前船公司{0} 不支持 API 合约订舱查询船期")]
public const string SpaceBookingAPISearchShipNotSupport = "SpaceBK_API_SearchShip_NotSupport";
/// <summary>
/// 当前船公司{0} 不支持 API Spot 订舱查询船期
/// </summary>
[Description("当前船公司{0} 不支持 API Spot 订舱查询船期")]
public const string SpaceBookingAPISportSearchShipNotSupport = "SpaceBK_API_Spot_SearchShip_NotSupport";
/// <summary>
/// 未配置 MSK API 查询港口请求接口地址马士基API合约查询港口URL请联系管理员
/// </summary>
[Description("未配置 MSK API 查询港口请求接口地址马士基API合约查询港口URL请联系管理员")]
public const string SpaceBookingAPISearchLocNoConfig = "SpaceBK_API_SearchLoc_NoConfig";
/// <summary>
/// 未配置 MSK API 查询港口请求接口地址马士基API合约查询商品URL请联系管理员
/// </summary>
[Description("未配置 MSK API 查询港口请求接口地址马士基API合约查询商品URL请联系管理员")]
public const string SpaceBookingAPISearchCommodityNoConfig = "SpaceBK_API_SearchCommodity_NoConfig";
/// <summary>
/// 未配置 MSK API 查询船期请求接口地址马士基API合约查询船期URL请联系管理员
/// </summary>
[Description("未配置 MSK API 查询船期请求接口地址马士基API合约查询船期URL请联系管理员")]
public const string SpaceBookingAPISearchShipNoConfig = "SpaceBK_API_SearchShip_NoConfig";
/// <summary>
/// 未配置API SPOT 查询船期请求接口地址 key={0},请联系管理员
/// </summary>
[Description("未配置API SPOT 查询船期请求接口地址 key={0},请联系管理员")]
public const string SpaceBookingAPISpotSearchShipNoConfig = "SpaceBK_API_Spot_SearchShip_NoConfig";
/// <summary>
/// 未配置API SPOT查询港口请求接口地址 key={0},请联系管理员
/// </summary>
[Description("未配置API SPOT查询港口请求接口地址 key={0},请联系管理员")]
public const string SpaceBookingAPISpotSearchLocNoConfig = "SpaceBK_API_Spot_SearchLoc_NoConfig";
/// <summary>
/// 未配置发送 API 订舱请求接口地址,请联系管理员
/// </summary>
[Description("未配置发送 API 订舱请求接口地址,请联系管理员")]
public const string SpaceBookingAPIBookingUrlNull = "SpaceBK_API_Booking_Url_Null";
/// <summary>
/// 未配置第三方账户个人或公司账户MSKApi
/// </summary>
[Description("未配置第三方账户个人或公司账户MSKApi")]
public const string SpaceBookingAPIThirdPartyNull = "SpaceBK_API_ThirdParty_Null";
/// <summary>
/// 未配置公司或个人的第三方账户维护MSK API合约请联系管理员
/// </summary>
[Description("未配置公司或个人的第三方账户维护MSK API合约请联系管理员")]
public const string SpaceBookingAPIMSKConThirdPartySettingNull = "SpaceBK_API_MSKCon_ThirdParty_Setting_Null";
/// <summary>
/// 未配置公司或个人的第三方账户维护MSK API Spot请联系管理员
/// </summary>
[Description("未配置公司或个人的第三方账户维护MSK API Spot请联系管理员")]
public const string SpaceBookingAPIMSKSpotThirdPartySettingNull = "SpaceBK_API_MSKSpot_ThirdParty_Setting_Null";
/// <summary>
/// 第三方账户MSK API合约维护配置缺少备案代码、备案全称、联系人、邮箱必填请联系管理员
/// </summary>
[Description("第三方账户MSK API合约维护配置缺少备案代码、备案全称、联系人、邮箱必填请联系管理员")]
public const string SpaceBookingAPIMSKConThirdPartySettingShortage = "SpaceBK_API_MSKCon_ThirdParty_Setting_Shortage";
/*
空值校验
*/
/// <summary>
/// 始发地城市不能为空
/// </summary>
[Description("始发地城市不能为空")]
public const string SpaceBookingAPIOriginCityNameNull = "SpaceBK_API_OrigCityName_Null";
/// <summary>
/// 目的地城市不能为空
/// </summary>
[Description("目的地城市不能为空")]
public const string SpaceBookingAPIDestCityNameNull = "SpaceBK_API_DestCityName_Null";
/// <summary>
/// 服务船公司不能为空
/// </summary>
[Description("服务船公司不能为空")]
public const string SpaceBookingAPIVesselCarrierCodeNull = "SpaceBK_API_VesselCarrierCode_Null";
/// <summary>
/// 船公司代码不能为空
/// </summary>
[Description("船公司代码不能为空")]
public const string SpaceBookingAPICarrierCodeNull = "SpaceBK_API_CarrierCode_Null";
/// <summary>
/// 预计离港日期不能为空
/// </summary>
[Description("预计离港日期不能为空")]
public const string SpaceBookingAPIETDNull = "SpaceBK_API_ETD_Null";
/// <summary>
/// 预计离港日期格式错误
/// </summary>
[Description("预计离港日期格式错误")]
public const string SpaceBookingAPIETDFormatError = "SpaceBK_API_ETD_Format_Error";
/// <summary>
/// 查询船期错误,预计离港日期查询为空
/// </summary>
[Description("查询船期错误,预计离港日期查询为空")]
public const string SpaceBookingAPISearchShipETDNull = "SpaceBK_API_SearchShip_ETD_Null";
/// <summary>
/// 查询船期错误,预计到港日期查询为空
/// </summary>
[Description("查询船期错误,预计到港日期查询为空")]
public const string SpaceBookingAPISearchShipETANull = "SpaceBK_API_SearchShip_ETA_Null";
/// <summary>
/// 订舱合同惟一ID必填
/// </summary>
[Description("订舱合同惟一ID必填")]
public const string SpaceBookingAPIPriceReferNull = "SpaceBK_API_Price_Refer_Null";
/// <summary>
/// 订舱合同惟一ID格式错误 [a-zA-Z0-9_/,-]{1,50}
/// </summary>
[Description("订舱合同惟一ID格式错误 [a-zA-Z0-9_/,-]{1,50}")]
public const string SpaceBookingAPIPriceReferFormatError = "SpaceBK_API_Price_Refer_Format_Error";
/// <summary>
/// 请求类别必填
/// </summary>
[Description("请求类别必填")]
public const string SpaceBookingAPISenderNull = "SpaceBK_API_Sender_Null";
/// <summary>
/// 服务船公司代码必填
/// </summary>
[Description("服务船公司代码必填")]
public const string SpaceBookingAPIServiceCarrierCodeNull = "SpaceBK_API_Service_CarrierCode_Null";
/// <summary>
/// 订舱公司名称必填
/// </summary>
[Description("订舱公司名称必填")]
public const string SpaceBookingAPIBookCompanyNameNull = "SpaceBK_API_Book_Company_Name_Null";
/// <summary>
/// 订舱方ID必填
/// </summary>
[Description("订舱方ID必填")]
public const string SpaceBookingAPIBookCompanyCodeNull = "SpaceBK_API_Book_Company_Code_Null";
/// <summary>
/// 订舱方公司联系人必填
/// </summary>
[Description("订舱方公司联系人必填")]
public const string SpaceBookingAPIBookCompanyContactNull = "SpaceBK_API_Book_Company_Contact_Null";
/// <summary>
/// 订舱方公司邮箱必填
/// </summary>
[Description("订舱方公司邮箱必填")]
public const string SpaceBookingAPIBookCompanyContactEmailNull = "SpaceBK_API_Book_Company_Contact_Email_Null";
/// <summary>
/// 持约方公司名称必填
/// </summary>
[Description("持约方公司名称必填")]
public const string SpaceBookingAPIPriceOwnerCompanyNameNull = "SpaceBK_API_Price_Owner_Company_Name_Null";
/// <summary>
/// 持约方ID必填
/// </summary>
[Description("持约方ID必填")]
public const string SpaceBookingAPIPriceOwnerCompanyCodeNull = "SpaceBK_API_Price_Owner_Company_Code_Null";
/// <summary>
/// 持约方公司联系人必填
/// </summary>
[Description("持约方公司联系人必填")]
public const string SpaceBookingAPIPriceOwnerCompanyContactNull = "SpaceBK_API_Price_Owner_Company_Contact_Null";
/// <summary>
/// 持约方公司邮箱必填
/// </summary>
[Description("持约方公司邮箱必填")]
public const string SpaceBookingAPIPriceOwnerCompanyContactEmailNull = "SpaceBK_API_Price_Owner_Company_Contact_Email_Null";
/// <summary>
/// 始发地UN CODE必填
/// </summary>
[Description("始发地UN CODE必填")]
public const string SpaceBookingAPIOriginUnCodeNull = "SpaceBK_API_Origin_Uncode_Null";
/// <summary>
/// 始发地国家代码必填
/// </summary>
[Description("始发地国家代码必填")]
public const string SpaceBookingAPIOriginCountryCodeNull = "SpaceBK_API_Origin_CountryCode_Null";
/// <summary>
/// 始发地服务模式必填
/// </summary>
[Description("始发地服务模式必填")]
public const string SpaceBookingAPIOriginServiceModeNull = "SpaceBK_API_Origin_ServiceMode_Null";
/// <summary>
/// 目的地UN CODE必填
/// </summary>
[Description("目的地UN CODE必填")]
public const string SpaceBookingAPIDestUnCodeNull = "SpaceBK_API_Dest_UnCode_Null";
/// <summary>
/// 目的地国家代码必填
/// </summary>
[Description("目的地国家代码必填")]
public const string SpaceBookingAPIDestCountryCodeNull = "SpaceBK_API_Dest_CountryCode_Null";
/// <summary>
/// 目的地服务模式必填
/// </summary>
[Description("目的地服务模式必填")]
public const string SpaceBookingAPIDestServiceModeNull = "SpaceBK_API_Dest_ServiceMode_Null";
/// <summary>
/// 船名必填,请确认正确选择了船期
/// </summary>
[Description("船名必填,请确认正确选择了船期")]
public const string SpaceBookingAPIVesselNameNull = "SpaceBK_API_Vessel_Name_Null";
/// <summary>
/// 航次号必填,请确认正确选择了船期
/// </summary>
[Description("航次号必填,请确认正确选择了船期")]
public const string SpaceBookingAPIVoynoNull = "SpaceBK_API_Voyno_Null";
/// <summary>
/// ETD必填请确认正确选择了船期
/// </summary>
[Description("ETD必填请确认正确选择了船期")]
public const string SpaceBookingAPIOriginDepartureDateNull = "SpaceBK_API_Origin_DepartureDate_Null";
/// <summary>
/// ETA必填请确认正确选择了船期
/// </summary>
[Description("ETA必填请确认正确选择了船期")]
public const string SpaceBookingAPIDestArrivalDateNull = "SpaceBK_API_Dest_ArrivalDate_Null";
/// <summary>
/// 商品代码必填,请确认正确选择了商品
/// </summary>
[Description("商品代码必填,请确认正确选择了商品")]
public const string SpaceBookingAPICommodityNull = "SpaceBK_API_Commodity_Null";
/// <summary>
/// 商品名称必填,请确认正确选择了商品
/// </summary>
[Description("商品名称必填,请确认正确选择了商品")]
public const string SpaceBookingAPICommodityNameNull = "SpaceBK_API_CommodityName_Null";
/// <summary>
/// 总重必填
/// </summary>
[Description("总重必填")]
public const string SpaceBookingAPITotalCargoWTNull = "SpaceBK_API_Total_Cargo_Weight_Null";
/// <summary>
/// 货物标志必填
/// </summary>
[Description("货物标志必填")]
public const string SpaceBookingAPICargoTypeNull = "SpaceBK_API_Cargo_Type_Null";
/// <summary>
/// 预计离港日期必填
/// </summary>
[Description("预计离港日期必填")]
public const string SpaceBookingAPIEarliestDepartDateNull = "SpaceBK_API_Earliest_DepartDate_Null";
/// <summary>
/// 选择了冷冻处理,温度必填
/// </summary>
[Description("选择了冷冻处理,温度必填")]
public const string SpaceBookingAPIIsReeferTempNull = "SpaceBK_API_IsReefer_temp_Null";
/// <summary>
/// 箱型箱量信息必填
/// </summary>
[Description("箱型箱量信息必填")]
public const string SpaceBookingAPICtnAndNumNull = "SpaceBK_API_CtnAndNum_Null";
/// <summary>
/// 箱型不能为空
/// </summary>
[Description("箱型不能为空")]
public const string SpaceBookingAPICtnCodeNull = "SpaceBK_API_CtnCode_Null";
/// <summary>
/// 箱量不能为空并且不能小于1
/// </summary>
[Description("箱量不能为空并且不能小于1")]
public const string SpaceBookingAPICtnNumLower = "SpaceBK_API_CtnNum_Lower";
/// <summary>
/// 箱内重量不能为空并且不能小于1
/// </summary>
[Description("箱内重量不能为空并且不能小于1")]
public const string SpaceBookingAPICtnSufferWeightLower = "SpaceBK_API_CtnSufferWeight_Lower";
/// <summary>
/// 箱内重量合计不等于总重,请修改
/// </summary>
[Description("箱内重量合计不等于总重,请修改")]
public const string SpaceBookingAPICtnWeightUnequalTotal = "SpaceBK_API_CtnWeight_Unequal_Total";
/// <summary>
/// 商品名称不能为空
/// </summary>
[Description("商品名称不能为空")]
public const string SpaceBookingAPICommodityNameQueryNull = "SpaceBK_API_Commodity_Name_Query_Null";
/// <summary>
/// 船期信息不能为空,请重新检索船期
/// </summary>
[Description("船期信息不能为空,请重新检索船期")]
public const string SpaceBookingAPIShipScheduleNotNull = "SpaceBK_API_Ship_Schedule_Not_Null";
/// <summary>
/// 船期数据校验失败,请重新查询船期信息
/// </summary>
[Description("船期数据校验失败,请重新查询船期信息")]
public const string SpaceBookingAPIShipScheduleCheckFailNotNull = "SpaceBK_API_Ship_Schedule_CheckFail_Not_Null";
/// <summary>
/// 船期数据校验失败,当前船期请求参数错误,请重新查询船期信息
/// </summary>
[Description("船期数据校验失败,当前船期请求参数错误,请重新查询船期信息")]
public const string SpaceBookingAPIShipScheduleCheckFailPriceIDNotEqual = "SpaceBK_API_Ship_Schedule_CheckFail_PriceIDNotEqual";
/// <summary>
/// 船期数据校验失败,当前船期请求参数错误,价格发生差异,请重新查询船期信息
/// </summary>
[Description("船期数据校验失败,当前船期请求参数错误,价格发生差异,请重新查询船期信息")]
public const string SpaceBookingAPIShipScheduleCheckFailAmountChange = "SpaceBK_API_Ship_Schedule_CheckFail_AmountChange";
/// <summary>
/// 港口或城市名称不能为空
/// </summary>
[Description("港口或城市名称不能为空")]
public const string SpaceBookingAPISPOTQueryLocCityNull = "SpaceBK_API_Spot_Query_LocCityName_Null";
/// <summary>
/// 港口或城市名称至少输入3个以上字符
/// </summary>
[Description("港口或城市名称至少输入3个以上字符")]
public const string SpaceBookingAPIQueryLocCityLeastThreeLNull = "SpaceBK_API_Query_LocCityName_Three_Null";
/// <summary>
/// 商品名称至少输入3个以上字符
/// </summary>
[Description("港口或城市名称至少输入3个以上字符")]
public const string SpaceBookingAPICommodityNameInputStrLeast3 = "SpaceBK_API_CommodityName_InputStr_Least3";
/*
提醒
*/
/// <summary>
/// 含有指定托运人自己的集装箱
/// </summary>
[Description("含有指定托运人自己的集装箱")]
public const string SpaceBookingAPIIncludeShipperOwner = "SpaceBK_API_Include_Shipper_Owner";
/// <summary>
/// 含有指定进口退货集装箱或者其他三角集运
/// </summary>
[Description("含有指定进口退货集装箱或者其他三角集运")]
public const string SpaceBookingAPIIncludeImportReturned = "SpaceBK_API_Include_Import_Returned";
/// <summary>
/// 含有是冷冻处理
/// </summary>
[Description("含有是冷冻处理")]
public const string SpaceBookingAPIIncludeReefer = "SpaceBK_API_Include_Reefer";
/// <summary>
/// 货物标志与被复制货物标志不一致
/// </summary>
[Description("货物标志与被复制货物标志不一致")]
public const string SpaceBookingAPICargoTypeWithCopyDiff = "SpaceBK_API_CargoType_WithCopy_Diff";
/*
异常
*/
/// <summary>
/// 请求MSK API查询船期异常原因{0}
/// </summary>
[Description("请求MSK API查询船期异常原因{0}")]
public const string SpaceBookingAPISearchShipException = "SpaceBK_API_SearchShip_Exception";
/// <summary>
/// 请求MSK API查询港口异常原因{0}
/// </summary>
[Description("请求MSK API查询港口异常原因{0}")]
public const string SpaceBookingAPISearchLocException = "SpaceBK_API_SearchLoc_Exception";
/// <summary>
/// 请求MSK API查询商品异常原因{0}
/// </summary>
[Description("请求MSK API查询商品异常原因{0}")]
public const string SpaceBookingAPISearchCommodityException = "SpaceBK_API_SearchCommodity_Exception";
/// <summary>
/// 请求MSK API SPOT 查询船期异常,原因:{0}
/// </summary>
[Description("请求MSK API SPOT 查询船期异常,原因:{0}")]
public const string SpaceBookingAPISpotSearchShipException = "SpaceBK_API_Spot_SearchShip_Exception";
/// <summary>
/// 删除失败,业务信息不存在或已作废
/// </summary>
[Description("删除失败,业务信息不存在或已作废")]
public const string SpaceBookingAPIDeleteFailNoExists = "SpaceBK_API_Delete_Fail_NoExists";
/// <summary>
/// 预订舱数据获取失败,请确认选中的记录是否存在
/// </summary>
[Description("预订舱数据获取失败,请确认选中的记录是否存在")]
public const string SpaceBookingAPIOrderNoExists = "SpaceBK_API_Order_NoExists";
/// <summary>
/// 预订舱数据不存在或已作废
/// </summary>
[Description("预订舱数据不存在或已作废")]
public const string SpaceBookingAPIOrderDeletedOrNoExists = "SpaceBK_API_Order_DeleteOr_NoExists";
/// <summary>
/// 请求MSK API SPOT 查询船期异常,原因:{0}
/// </summary>
[Description("MSK API SPOT 检索海运船期详情失败,原因:{0}")]
public const string SpaceBookingAPISpotSearchShipResultError = "SpaceBK_API_Spot_SearchShip_Exception";
/// <summary>
/// 请求MSK API SPOT 查询船期异常,原因:{0}
/// </summary>
[Description("MSK API SPOT 检索海运船期详情失败,原因:{0}")]
public const string SpaceBookingAPISpotSearchShipResultError2 = "SpaceBK_API_Spot_SearchShip_Exception";
/// <summary>
/// 复制数量不能小于1
/// </summary>
[Description("复制数量不能小于1")]
public const string SpaceBookingAPICopyLowNum = "SpaceBK_API_CopyLowNum";
/// <summary>
/// 复制数量不能大于1000
/// </summary>
[Description("复制数量不能大于1000")]
public const string SpaceBookingAPICopyLimitNum = "SpaceBK_API_CopyLimitNum";
/// <summary>
/// 请求的操作类型不能为空
/// </summary>
[Description("请求的操作类型不能为空")]
public const string SpaceBookingAPIOpTypeNull = "SpaceBK_API_OpTypeNull";
#endregion
#region 舱位管理
/// <summary>
/// 订舱提单号已存在
/// </summary>
[Description("订舱提单号已存在")]
public const string BookingSlotSlotBookingNoExists = "BookingSlot_SlotBookingNo_Exists";
/// <summary>
/// 保存失败原因更新关联订舱时未查询到订舱关联表Id{item.Id}
/// </summary>
[Description("保存失败原因更新关联订舱时未查询到订舱关联表Id{0}")]
public const string BookingSlotSaveFailAllocRecordNull = "BookingSlot_SaveFail_AllocRecord_Null";
/// <summary>
/// 业务主键为空,请选中需要标记的业务信息
/// </summary>
[Description("业务主键为空,请选中需要标记的业务信息")]
public const string BookingSlotLabelBusiNoNull = "BookingSlotLabel_BusiNo_Null";
/// <summary>
/// 设定标签失败,原因:{0}
/// </summary>
[Description("设定标签失败,原因:{0}")]
public const string BookingSlotSetLabelError = "BookingSlotLabel_SetLabel_Error";
/// <summary>
/// 自动生成舱位标签失败,原因:{0}
/// </summary>
[Description("自动生成舱位标签失败,原因:{0}")]
public const string BookingSlotAutoSetLabelError = "BookingSlotLabel_AutoSetLabel_Error";
/// <summary>
/// 未查询到此舱位信息,已删除或不存在
/// </summary>
[Description("未查询到此舱位信息,已删除或不存在")]
public const string BookingSlotBaseInfoNull = "BookingSlot_BaseInfo_Null";
/// <summary>
/// 查询日志异常,原因:{0}
/// </summary>
[Description("查询日志异常,原因:{0}")]
public const string BookingSlotAuditLogError = "BookingSlot_AuditLog_Error";
/// <summary>
/// 解析日志异常,原因:{0}
/// </summary>
[Description("解析日志异常,原因:{0}")]
public const string BookingSlotAuditLogDeserializeError = "BookingSlot_AuditLogDeserialize_Error";
/// <summary>
/// 执行舱位失败,原因:{0}
/// </summary>
[Description("执行舱位失败,原因:{0}")]
public const string BookingSlotApiReceiveError = "BookingSlot_ApiReceive_Error";
/// <summary>
/// 合约数据不存在或已作废
/// </summary>
[Description("合约数据不存在或已作废")]
public const string BookingContractRecordDeletedOrNoExists = "BookingContract_RecordDeleted_NoExists";
/// <summary>
/// 合约作废未提供主键ID
/// </summary>
[Description("合约作废未提供主键ID")]
public const string BookingContractDeleteIdsNull = "BookingContract_Delete_IdsNull";
/// <summary>
/// 部分舱位信息提取失败,请确认舱位是否存在或已作废
/// </summary>
[Description("部分舱位信息提取失败,请确认舱位是否存在或已作废")]
public const string BookingSlotMergeCheckPartRecordDeletedOrNoExists = "BookingContract_MergeCheck_PartRecord_DeletedOrNoExists";
/// <summary>
/// 舱位合票校验失败,部分舱位的以下信息船公司、船名场次、合约号、承运方式、订舱方式、装货地、卸货地有空值情况
/// </summary>
[Description("舱位合票校验失败,部分舱位的以下信息船公司、船名场次、合约号、承运方式、订舱方式、装货地、卸货地有空值情况")]
public const string BookingSlotMergeCheckPartRecordNoConsistent = "BookingContract_MergeCheck_PartRecord_NoConsistent";
/// <summary>
/// 舱位合票校验失败,船公司、船名场次、合约号、承运方式、订舱方式、装货地、卸货地不统一不能合票
/// </summary>
[Description("舱位合票校验失败,船公司、船名场次、合约号、承运方式、订舱方式、装货地、卸货地不统一不能合票")]
public const string BookingSlotMergeCheckPartRecordNoConsistentFail = "BookingContract_MergeCheck_PartRecord_NoConsistent_Fail";
/// <summary>
/// 舱位合票失败,校验库存为不可用,请确认正确的库存
/// </summary>
[Description("舱位合票失败,校验库存为不可用,请确认正确的库存")]
public const string BookingSlotMergeCheckStockEmpty = "BookingContract_MergeCheck_StockEmpty";
/// <summary>
/// 舱位合票失败,舱位提单号:{0} 缺少库存
/// </summary>
[Description("舱位合票失败,舱位提单号:{0} 缺少库存")]
public const string BookingSlotMergeFailShortStock = "BookingContract_MergeFail_ShortStock";
/// <summary>
/// 单号【{0}】含有 {1}
/// </summary>
[Description("单号【{0}】含有 {1}")]
public const string BookingSlotMergeSpecialNotice = "BookingContract_Merge_SpecialNotice";
/// <summary>
/// 请选择委托单位
/// </summary>
[Description("请选择委托单位")]
public const string BookingSlotCreateCustomerNull = "BookingSlot_Create_CustomerNull";
/// <summary>
/// 请选择要使用的箱信息
/// </summary>
[Description("请选择要使用的箱信息")]
public const string BookingSlotCreateContaNull = "BookingSlot_Create_ContaNull";
/// <summary>
/// 舱位ID不能为空
/// </summary>
[Description("舱位ID不能为空")]
public const string BookingSlotCreateSlotIdNull = "BookingSlot_Create_SlotIdNull";
/// <summary>
/// 舱位数据不存在或已作废
/// </summary>
[Description("舱位数据不存在或已作废")]
public const string BookingSlotCreateRecordDeletedOrNoExists = "BookingSlot_Create_Recrod_DeleteOr_NoExists";
/// <summary>
/// 委托单位{0} 获取失败,委托单位不存在或已作废
/// </summary>
[Description("委托单位{0} 获取失败,委托单位不存在或已作废")]
public const string BookingSlotCreateCustomerDeletedOrNoExists = "BookingSlot_Create_Customer_DeleteOr_NoExists";
/// <summary>
/// 委托单位{0} 获取相关联系人失败,委托单位相关联系人为空
/// </summary>
[Description("委托单位{0} 获取相关联系人失败,委托单位相关联系人为空")]
public const string BookingSlotCreateCustomerContractInfoNull = "BookingSlot_Create_Customer_ContractInfoNull";
/// <summary>
/// 委托单位 {0} 联系人 {1} 获取失败,联系人不存在或已作废
/// </summary>
[Description("委托单位 {0} 联系人 {1} 获取失败,联系人不存在或已作废")]
public const string BookingSlotCreateCustomerContractDeletedOrNoExists = "BookingSlot_Create_Customer_ContractDeletedOrNoExists";
/// <summary>
/// 生成订舱时往来单位联系人必填,请修改
/// </summary>
[Description("生成订舱时往来单位联系人必填,请修改")]
public const string BookingSlotCreateCustomerContractNotNull = "BookingSlot_Create_Customer_ContractNotNull";
/// <summary>
/// 订舱主键{0}已引用舱位
/// </summary>
[Description("订舱主键{0}已引用舱位")]
public const string BookingSlotHasImportSlots = "BookingSlot_HasImportSlots";
/// <summary>
/// 获取的历史拆票后缀异常maxChar={0}
/// </summary>
[Description("订舱主键{0}已引用舱位")]
public const string BookingSlotSplitMergeCheckError = "BookingSlot_SplitMerge_CheckError";
/// <summary>
/// 舱位提单号:{0} 已有订舱记录不能重复操作
/// </summary>
[Description("舱位提单号:{0} 已有订舱记录不能重复操作")]
public const string BookingSlotSplitMergeHasOrder = "BookingSlot_SplitMerge_HasOrder";
/// <summary>
/// 加载缓存成功
/// </summary>
[Description("加载缓存成功")]
public const string LoadCacheSucc = "LoadCache_Succ";
/// <summary>
/// 加载缓存失败,未获取到数据
/// </summary>
[Description("加载缓存失败,未获取到数据")]
public const string LoadCacheFailDataNull = "LoadCache_Fail_DataNull";
/// <summary>
/// 清除缓存成功
/// </summary>
[Description("清除缓存成功")]
public const string RemoveCacheSucc = "RemoveCache_Succ";
/// <summary>
/// 预订舱数据不存在或已作废
/// </summary>
[Description("预订舱数据不存在或已作废")]
public const string SpaceBookingRecordDeletedOrNoExists = "SpaceBooking_Record_DeletedOrNoExists";
/// <summary>
/// 预订舱数据已发送成功,不能重复发送
/// </summary>
[Description("预订舱数据已发送成功,不能重复发送")]
public const string SpaceBookingBeSendNotRepeat = "SpaceBooking_BeSend_NotRepeat";
/// <summary>
/// 预订舱数据已发送成功,不能修改
/// </summary>
[Description("预订舱数据已发送成功,不能修改")]
public const string SpaceBookingBeSendNotModify = "SpaceBooking_BeSend_NotModify";
/// <summary>
/// 附件不能为空
/// </summary>
[Description("附件不能为空")]
public const string BookingSlotImportFileNull = "BookingSlot_Import_FileNull";
/// <summary>
/// 请上传指定模板文件
/// </summary>
[Description("请上传指定模板文件")]
public const string BookingSlotImportFileTypeError = "BookingSlot_Import_TypeError";
/// <summary>
/// 内容为空
/// </summary>
[Description("内容为空")]
public const string BookingSlotImportExcelEmpty = "BookingSlot_Import_ExcelEmpty";
/// <summary>
/// 导入舱位异常,原因:{0}
/// </summary>
[Description("导入舱位异常,原因:{0}")]
public const string BookingSlotImportException = "BookingSlot_Import_Exception";
/// <summary>
/// 导入失败
/// </summary>
[Description("导入失败")]
public const string BookingSlotImportFail = "BookingSlot_Import_Fail";
/// <summary>
/// 作废成功
/// </summary>
[Description("作废成功")]
public const string BookingSlotDeleteSucc = "BookingSlot_DeleteSucc";
/// <summary>
/// 舱位变更比对结果不存在
/// </summary>
[Description("舱位变更比对结果不存在")]
public const string BookingSlotCompareNull = "BookingSlot_CompareNull";
/// <summary>
/// 获取舱位变更比对结果错误,比对内容不存在
/// </summary>
[Description("获取舱位变更比对结果错误,比对内容不存在")]
public const string BookingSlotCompareJsonNull = "BookingSlot_CompareJsonNull";
/// <summary>
/// 舱位台账导出模板【舱位台账导出模板】文件不存在
/// </summary>
[Description("舱位台账导出模板【舱位台账导出模板】文件不存在")]
public const string BookingSlotExportTemplateNull = "BookingSlot_ExportTemplateNull";
/// <summary>
/// 任务主键{0}无法获取业务信息
/// </summary>
[Description("任务主键{0}无法获取业务信息")]
public const string TaskBaseInfoFromTaskIdNull = "TaskBaseInfo_FromTaskId_Null";
/// <summary>
/// 提单号 {0} 检索海运出口订单失败
/// </summary>
[Description("提单号 {0} 检索海运出口订单失败")]
public const string TaskBaseSearchOrderFailMBLNo = "TaskBase_SearchOrderFail_MBLNo";
/// <summary>
/// 提单号 {0} 生成截止时间变更转发邮件正文失败,原因:{1}
/// </summary>
[Description("提单号 {0} 生成截止时间变更转发邮件正文失败,原因:{1}")]
public const string TaskBaseCutDateTransmitGenerateEmailFail = "TaskBase_CutDate_Transmit_GenerateEmailFail";
/// <summary>
/// 当前公司未配置邮件发送API接口
/// </summary>
[Description("当前公司未配置邮件发送API接口")]
public const string CurrTenantEmailApiUrlNull = "CurrTenant_EmailApiUrlNull";
/// <summary>
/// 转发邮件发送失败,原因:{0}
/// </summary>
[Description("转发邮件发送失败,原因:{0}")]
public const string TransmitEmailFail = "TransmitEmailFail";
/// <summary>
/// 海运出口主键不能为空
/// </summary>
[Description("海运出口主键不能为空")]
public const string SeaExportIdNotNull = "SeaExport_IdNotNull";
/// <summary>
/// 海运出口详情获取失败,已作废或数据不存在
/// </summary>
[Description("海运出口详情获取失败,已作废或数据不存在")]
public const string SeaExportInfoNotExists = "SeaExportInfo_NotExists";
/// <summary>
/// 当前截单回执已有匹配的订舱订单
/// </summary>
[Description("当前截单回执已有匹配的订舱订单")]
public const string TaskSISubmittedHasOrder = "TaskSISubmittedHasOrder";
#endregion
#region 关联任务
[Description("此任务已存在,请勿重复提交")]
public const string TaskExists = "Task_Exists";
[Description("未能找到任务")]
public const string TaskNotExists = "Task_Not_Exists";
[Description("此任务已完成")]
public const string TaskCompleted = "Task_Completed";
[Description("此任务已取消")]
public const string TaskCancelled = "Task_Cancelled";
[Description("任务数据与已提交数据条数不匹配")]
public const string TaskCountNotMatch = "Task_Count_Not_Match";
[Description("当前任务状态不支持此操作")]
public const string TaskStatusNotSupported = "Task_Status_Not_Supported";
[Description("非审核类任务不支持此操作")]
public const string TaskTypeNotSupported = "Task_Type_Not_Supported";
[Description("当前任务状态不正确,无法提交审核")]
public const string TaskAuditStatusError = "Task_Audit_Status_Error";
[Description("无法从配置中获取任务接收人,请检查是否设置了订单的操作/客服/单证等人员,或联系管理员检查配置")]
public const string TaskReceiverNotFound = "Task_Receiver_Not_Found";
[Description("未找到此票订单的订舱任务")]
public const string BookingTaskNotFound = "Booking_Task_NotFound";
[Description("此操作不支持多种业务类型同时提交")]
public const string MultiBusinessType = "Multi_Business_Type";
[Description("订单:{0} 已提交")]
public const string OrderTaskSubmitted = "Order_Task_Submitted";
[Description("任务邮件必须设置收件人")]
public const string TaskMailReceiverNotNull = "Task_Mail_Receiver_Not_Null";
[Description("任务邮件必须设置发件人")]
public const string TaskMailSenderNotNull = "Task_Mail_Sender_Not_Null";
[Description("驳回成功")]
public const string TaskRejected = "Task_Rejected";
#endregion
#region 任务台相关
[Description("当前状态是{0}不能执行完成")]
public const string TaskCannotCompleteWhenStatusMismatch = "TaskCannotCompleteWhenStatusMismatch";
[Description("未能获取到指定任务基础数据")]
public const string TaskBaseEmpty = "TaskBaseEmpty";
[Description("未能获取到相应BC业务数据")]
public const string TaskBCInfoEmpty = "TaskBCInfoEmpty";
[Description("附件分类代码错误,请提供正确的分类代码")]
public const string TaskFileCategoryError = "TaskFileCategoryError";
[Description("任务主键{0}没有可下载的附件")]
public const string TaskFileEmpty = "TaskFileEmpty";
[Description("任务主键{0} 附件下载请求失败,请确认文件是否存在")]
public const string TaskFileNotExists = "TaskFileNotExists";
[Description("BC匹配订单失败{0}")]
public const string BcMatchSeaExportFailed = "BcMatchSeaExportFailed";
[Description("未执行:任务中相应订单的提单号【{0}】与BC附件的提单号【{1}】不一致,请检查")]
public const string BCMblnoNotMatchSeaexport = "BCMblnoNotMatchSeaexport";
[Description("暂不支持BC解析的船公司{0}")]
public const string BCParserNotSupportedCarrier = "BCParserNotSupportedCarrier";
[Description("上传完成,请关注相关任务及订单状态")]
public const string UploadBcThenRunTaskSuccess = "UploadBcThenRunTaskSuccess";
[Description("当前任务非当前登陆人的待处理任务,请检查您是否在所选任务的接收人列表之内,任务流水号:{0}")]
public const string TaskNotHaveAuthorSingle = "TaskNotHaveAuthorSingle";
[Description("所选任务中存在非当前登陆人待处理的任务,请检查您是否在以下任务的接收人列表之内,任务流水号:{0}")]
public const string TaskNotHaveAuthor = "TaskNotHaveAuthor";
#endregion
#region 邮件解析配置
/// <summary>
/// 操作成功
/// </summary>
[Description("操作成功")]
public const string EmailOperateSuccess = "Email_Operate_Success";
/// <summary>
/// 邮件账户不能为空
/// </summary>
[Description("邮件账户不能为空")]
public const string EmailAccountCanNotEmpty = "Email_Account_Can_Not_Empty";
/// <summary>
/// 邮件账号格式错误
/// </summary>
[Description("邮件账号格式错误")]
public const string EmailAccountInvalid = "Email_Account_Invalid";
/// <summary>
/// 邮件账户不能重复
/// </summary>
[Description("邮件账户不能重复")]
public const string EmailAccountCanNotRepeat = "Email_Account_Can_Not_Repeat";
/// <summary>
/// 解析器代码不能为空
/// </summary>
[Description("解析器代码不能为空")]
public const string EmailParserCodeCanNotEmpty = "Email_Parser_Code_Can_Not_Empty";
/// <summary>
/// 解析器名称不能为空
/// </summary>
[Description("解析器名称不能为空")]
public const string EmailParserNameCanNotEmpty = "Email_Parser_Name_Can_Not_Empty";
/// <summary>
/// 邮件标题匹配、邮件正文匹配、邮件发送人匹配、邮件附件匹配至少要填写一项匹配
/// </summary>
[Description("邮件标题匹配、邮件正文匹配、邮件发送人匹配、邮件附件匹配至少要填写一项匹配")]
public const string EmailParserNoOneMatch = "Email_Parser_No_One_Match";
/// <summary>
/// 解析器代码不能重复
/// </summary>
[Description("解析器代码不能重复")]
public const string EmailParserCodeCanNotRepeat = "Email_Parser_Code_Can_Not_Repeat";
/// <summary>
/// 未找到相关数据
/// </summary>
[Description("未找到相关数据")]
public const string EmailParserDataNotFound = "Email_Parser_Data_Not_Found";
/// <summary>
/// 注入代码不能为空
/// </summary>
[Description("注入代码不能为空")]
public const string EmailInjectCodeCanNotEmpty = "Email_Inject_Code_Can_Not_Empty";
/// <summary>
/// 注入名称不能为空
/// </summary>
[Description("注入名称不能为空")]
public const string EmailInjectNameCanNotEmpty = "Email_Inject_Name_Can_Not_Empty";
/// <summary>
/// 注入代码不能重复
/// </summary>
[Description("注入代码不能重复")]
public const string EmailInjectCodeCanNotRepeat = "Email_Inject_Code_Can_Not_Repeat";
/// <summary>
/// 注入代码完整路径不能为空
/// </summary>
[Description("注入代码完整路径不能为空")]
public const string EmailInjectFullNameCanNotEmpty = "Email_Inject_Full_Name_Can_Not_Empty";
#endregion
#region 箱管
[Description("该业务存在费用信息")]
public const string CM_FeeExist = "CM_FeeExist";
[Description("此业务该状态下不能生成费用")]
public const string CM_CanNotMakeFee = "This Bill can not make fee in this state.";
[Description("箱号重复")]
public const string CM_CntrnoRepeat = "Cntrno repeat.";
[Description("箱号不能为空")]
public const string CM_CntrnoNotNull = "Cntrno need value.";
[Description("已被退租引用")]
public const string CM_HaveBeenEndLease = "Cntrno CM_Have Been EndLease.";
[Description("不允许删除")]
public const string CM_CanNotDelete = "Can Not Delete";
[Description("必须录入模板名字")]
public const string CM_Templat_ = "Must Input the TemplatName";
[Description("必须选择对应的列")]
public const string CM_Templat_ = "Must Select ColumnName";
[Description("必须输入模板列的标题名称或列号")]
public const string CM_Templat_ = "Must Input Templat ColumnName or SortNumber";
[Description("没有找到模板")]
public const string CM_Templat_ = "No Templat";
[Description("箱号无法进行此操作")]
public const string CM_CtnCannotDo = "Cntrno can not do this.";
#endregion
}