1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
| using System;
| using System.Collections.Generic;
| using System.ComponentModel;
| using System.Linq;
| using System.Text;
| using System.Threading.Tasks;
|
| namespace WIDESEA_Core.Enums
| {
| public enum StockChangeType
| {
| /// <summary>
| /// 组盘
| /// </summary>
| [Description("组盘")]
| MaterielGroup,
|
| /// <summary>
| /// 入库
| /// </summary>
| [Description("入库")]
| Inbound,
|
| /// <summary>
| /// 出库
| /// </summary>
| [Description("出库")]
| Outbound,
| /// <summary>
| /// 移库
| /// </summary>
| [Description("移库")]
| Relocation,
|
| /// <summary>
| /// 入库锁定
| /// </summary>
| [Description("锁定")]
| Lock,
|
| }
|
| /// <summary>
| /// 库存状态: 1,组盘暂存 2,组盘撤销 3,入库确认 4,入库撤销 5,已入库 6,已出库
| /// </summary>
| public enum StockStatusEmun
| {
| [Description("组盘暂存")]
| 组盘暂存 = 1,
|
| [Description("组盘撤销")]
| 组盘撤销 = 2,
|
| [Description("入库确认")]
| 入库确认 = 3,
|
| [Description("入库撤销")]
| 入库撤销 = 4,
|
| [Description("已入库")]
| 已入库 = 5,
|
| [Description("入库完成")]
| 入库完成 = 6,
|
| [Description("出库锁定")]
| 出库锁定 = 7,
|
| [Description("出库完成")]
| 出库完成 = 8,
|
| [Description("移库锁定")]
| 移库锁定 = 9,
| }
|
| public enum OutStockStatus
| {
| [Description("已分配")]
| 已分配 = 0,
|
| [Description("出库中")]
| 出库中 = 1,
|
| [Description("出库完成")]
| 出库完成 = 2,
|
| [Description("撤销")]
| 撤销 = 99
| }
|
| public enum InventoryMaterialType
| {
| [Description("原材料")]
| 原材料 = 0,
| [Description("成品")]
| 成品 = 1,
| [Description("空托")]
| 空托 = 2,
| }
|
| public enum InventoryMaterialStatus
| {
| [Description("待检")]
| 待检 = 0,
| [Description("合格")]
| 合格 = 1,
| [Description("不合格")]
| 不合格 = 2,
| [Description("空托")]
| 空托 = 3,
| }
|
| public enum outMaterialType
| {
| [Description("人工出库")]
| 人工出库 = 0,
| }
| }
|
|