You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
311 lines
6.9 KiB
311 lines
6.9 KiB
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 EnumReviewType
|
|
{
|
|
[Description("报废")]
|
|
SCRAP = 0,
|
|
[Description("退货")]
|
|
REJECT = 1,
|
|
[Description("索赔")]
|
|
CLAIM = 2,
|
|
}
|
|
public enum EnumReviewSite
|
|
{
|
|
[Description("发泡")]
|
|
Foaming = 10,
|
|
[Description("包覆")]
|
|
Coating = 10,
|
|
[Description("装配")]
|
|
Assembly = 10,
|
|
[Description("退货")]
|
|
Reject = 10,
|
|
[Description("第三方仓库")]
|
|
ThirdParty = 10,
|
|
[Description("客户处")]
|
|
Customer = 10,
|
|
[Description("供应商(退货)")]
|
|
VenderReject = 10,
|
|
[Description("供应商索赔(过程&客退)")]
|
|
VenderClaim = 10,
|
|
}
|
|
public enum DB_CONNECTION
|
|
{
|
|
[Description("数据中心")]
|
|
DataCenterDB = 0,
|
|
[Description("交换中心")]
|
|
ExchangeCenterDB = 1,
|
|
[Description("SCP")]
|
|
ScpDB = 2,
|
|
[Description("角色服务器")]
|
|
AppBoxDB = 3,
|
|
[Description("QAD交换中心")]
|
|
UniApiDB = 4,
|
|
[Description("WmsDatabase")]
|
|
WmsDB = 5,
|
|
|
|
}
|
|
|
|
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 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,
|
|
|
|
|
|
}
|
|
public enum AsnState
|
|
{
|
|
[Description("新建")]
|
|
New = 0,
|
|
[Description("已发货")]
|
|
Ship = 3,
|
|
[Description("已收货")]
|
|
Receive = 4,
|
|
[Description("已作废")]
|
|
Reject = -1,
|
|
[Description("异常待处理")]
|
|
Exception = -2,
|
|
|
|
}
|
|
|
|
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,
|
|
|
|
}
|
|
public enum InvoiceState
|
|
{
|
|
[Description("新建")]
|
|
New = 0,
|
|
[Description("供应商申请")]
|
|
Apply= 1,
|
|
[Description("采购审核退回")]
|
|
CheckFail = 2,
|
|
[Description("采购审核通过")]
|
|
CheckSuccess = 3,
|
|
[Description("发票寄出")]
|
|
Mail = 4,
|
|
[Description("财务收票")]
|
|
FinanceReceive = 5,
|
|
[Description("财务退回")]
|
|
FinanceFail = 6,
|
|
[Description("财务手工收票")]
|
|
CustomReceive = 8,
|
|
[Description("发票作废")]
|
|
Reject = -1,
|
|
}
|
|
public enum LoginNumer
|
|
{
|
|
[Description("成功登录")]
|
|
Sussess = 0,
|
|
[Description("登录失败")]
|
|
Faile = 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,
|
|
}
|
|
public enum PriceState
|
|
{
|
|
[Description("新建")]
|
|
New = 0,
|
|
[Description("采购确认")]
|
|
PConfirm = 1,
|
|
[Description("财务确认")]
|
|
FConfirm = 2,
|
|
[Description("已作废")]
|
|
Reject = -1,
|
|
|
|
}
|
|
|
|
public enum Domain
|
|
{
|
|
[Description("BJBMPT")]
|
|
北京北汽模朔= 0,
|
|
[Description("CNS")]
|
|
常熟安通林 = 1,
|
|
[Description("0210")]
|
|
沈阳锦恒 = 2,
|
|
[Description("BJCAIAI")]
|
|
北京安通林 = 3,
|
|
[Description("CQBIM")]
|
|
重庆北汽模朔 = 4,
|
|
|
|
|
|
}
|
|
public enum PoPlanType
|
|
{
|
|
[Description("MRP计划")]
|
|
New = 0,
|
|
[Description("MRP需求")]
|
|
Release = 1,
|
|
[Description("自己定义计划")]
|
|
Confirm = 2,
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|