using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CK.SCP.Models.Enums { public enum QUAL_STATE { [Description("打开")] OPEN = 0, [Description("关闭")] CLOSE = 1, } public enum REVIEW_STATE { [Description("未审核")] OPEN = 0, [Description("已审核")] CLOSE = -1, [Description("已作废")] DELETE= -2, } public enum PENDING_STATE { [Description("代办")] WAITING=0, [Description("已办")] COMPLETED = 1, } public enum PENDING_MESSAGE_TYPE { [Description("新合同订单")] NEW_CONTRACT_PO = 101, [Description("新离散订单")] NEW_PO = 102, [Description("新要货看板")] NEW_ASK = 103, [Description("新收货单")] NEW_RECVICE = 104, [Description("采购审核通过")] PO_AUDIT_PASS = 105, [Description("采购审核退回")] PO_AUDIT_BACK = 106, [Description("财务审核通过")] FC_AUDIT_PASS = 107, [Description("财务审核退回")] FC_AUDIT_BACK = 108, [Description("财务收票")] FC_END = 109, [Description("新发货单")] NEW_ASN = 110, [Description("申请开发票")] APPLY_INVOICE = 111, [Description("发票寄出")] SEND_INVOICE = 112 } public enum PoState { [Description("关闭")] Close = 0, [Description("开放")] Open = 1, } public enum BillModType { [Description("日程订单")] Contract = 1, [Description("离散订单")] Non_Contract = 2, } public enum BillFwModType { [Description("普通订单")] Contract = 1, [Description("委外订单")] Non_Contract = 2, [Description("期货订单")] Qh_Contract = 3, } public enum AskState { [Description("新建")] New = 0, [Description("发布")] Release = 1, [Description("已确认")] Confirm = 2, [Description("已发货")] Ship = 3, [Description("已收货")] Receive = 4, [Description("已完成")] Complete = 5, [Description("强制完结")] CompleteForce = 6, [Description("已作废")] Reject = -1, [Description("取消已确认")] NoConfirm = 7, [Description("退回")] Back = 8, [Description("关闭")] Close = -2, } public enum PoPlanType { [Description("MRP计划")] New = 0, [Description("MRP需求")] Release = 1, [Description("自己定义计划")] Confirm = 2, //[Description("")] //Ship = 3, //[Description("已收货")] //Receive = 4, //[Description("已完成")] //Complete = 5, //[Description("强制完结")] //CompleteForce = 6, //[Description("已作废")] //Reject = -1, //[Description("取消已确认")] //NoConfirm = 7, } public enum AsnState { [Description("新建")] New = 0, [Description("已发货")] Ship = 3, [Description("已收货")] Receive = 4, [Description("已作废")] Reject = -1, } public enum ReceiveState { [Description("已收货")] Receive = 0, [Description("审核通过")] Check = 1, [Description("待开票")] Invoice = 2, [Description("报废退货单")] Reject = -1, } public enum RejectState { [Description("已拒收")] NoReceive = 0, [Description("审核通过")] Check = 1, } public enum ArriveState { [Description("不合格")] NotRight = 0, [Description("合格")] OK = 1, } public enum ArriveBillType { [Description("收货单")] Receive = 0, [Description("退货单")] Reject = 1, [Description("索赔单")] Claim = 2, } public enum InvoiceState { [Description("新建")] New = 0, [Description("供应商申请")] Apply= 1, [Description("采购审核退回")] CheckFail = 2, [Description("采购审核通过")] CheckSuccess = 3, [Description("发票寄出")] Mail = 4, [Description("财务收票")] FinanceReceive = 5, [Description("财务手工收票")] CustomReceive = 8, [Description("财务退回")] FinanceFail = 6, [Description("发票作废")] Reject = -1, } public enum ConfigState { [Description("工厂参数")] FactoryParms = 101, [Description("全局参数")] GlobalParms = 102, } public enum PrintType { [Description("发货单标签")] ASN = 1, [Description("发货单")] BAR_CODE =2, [Description("托盘")] Pallet_CODE = 3, } public enum PalletType { [Description("")] ASN = 1, [Description("发货单")] BAR_CODE = 2, } public enum PalletState { [Description("新建")] New = 0, [Description("发布")] Release = 1, [Description("已确认")] Confirm = 2, [Description("已发货")] Ship = 3, [Description("已收货")] Receive = 4, [Description("已完成")] Complete = 5, [Description("强制完结")] CompleteForce = 6, [Description("已作废")] Reject = -1, [Description("取消已确认")] NoConfirm = 7, } public enum ForecastState { [Description("新建")] New = 0, [Description("已确认")] Confirm = 1, [Description("已作废")] Reject = -1, } }