Files
SGGL_SHJ/SGGL/BLL/CLGL/TwConst.cs
T
lpf 3185461755 feat(clgl): 增加入库申请编辑与明细导入
支持入库申请信息维护、入库明细批量导入及模板下载,
完善材料入库业务流程,减少人工录入和明细维护成本。
增加焊口流转区段信息,并统一相关单位工程列表排序
2026-07-13 09:17:00 +08:00

81 lines
2.8 KiB
C#

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,
= 70,
}
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.},
{ "散件出库" ,(int)TypeInt.}
};
public static Dictionary<string, int> PlanPrintMap = new Dictionary<string, int>
{
{ "采购入库申请单" ,(int)TypeInt.},
{ "退料入库申请单" ,(int)TypeInt.退},
{ "其他入库通知单" ,(int)TypeInt.},
{ "材料领用申请单" ,(int)TypeInt.},
{ "补料申请单" ,(int)TypeInt.},
{ "其他出库申请单" ,(int)TypeInt.},
{ "散件出库申请单" ,(int)TypeInt.}
};
public static Dictionary<string, int> PrintMap = new Dictionary<string, int>
{
{ "采购入库单" ,(int)TypeInt.},
{ "退料入库单" ,(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.},
{ "管段" ,(int)Category.},
};
}
}