焊接材料管理修改

This commit is contained in:
2024-09-18 10:48:34 +08:00
parent 0675306a8a
commit 1d60c6f97a
72 changed files with 10645 additions and 282 deletions
+57
View File
@@ -0,0 +1,57 @@
using System.Collections.Generic;
namespace BLL;
public class TwConst
{
public enum InOutType : int
{
入库 = 1,
出库 = 2,
}
public enum TypeInt : int
{
采购入库 = 10,
退料入库 = 20,
其他入库 = 30,
领料出库 = 40,
补料出库 = 50,
其他出库 = 60,
}
public enum Category : int
{
全部 = 0,
管件 = 1,
管段 = 2,
}
public enum State : int
{
审核被拒 = -1,
待提交 = 0,
待审核 = 1,
已审核 = 2,
已完成 = 3,
}
public static Dictionary<string, int> TypeIntMap = new Dictionary<string, int>
{
{ "采购入库" ,(int)TypeInt.采购入库},
{ "退料入库" ,(int)TypeInt.退料入库},
{ "其他入库" ,(int)TypeInt.其他入库},
{ "领料出库" ,(int)TypeInt.领料出库},
{ "补料出库" ,(int)TypeInt.补料出库},
{ "其他出库" ,(int)TypeInt.其他出库}
};
public static Dictionary<string, int> StateMap = new Dictionary<string, int>
{
{ "待提交" ,(int)State.待提交},
{ "待审核" ,(int)State.待审核},
{ "已审核" ,(int)State.已审核},
{ "已完成" ,(int)State.已完成},
{ "审核被拒" ,(int)State.审核被拒},
};
public static Dictionary<string, int> CategoryMap = new Dictionary<string, int>
{
{ "管件" ,(int)Category.管件},
{ "管段" ,(int)Category.管段},
};
}