using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc.Html; using QMFrameWork.WebUI.Attribute; using QMFrameWork.WebUI; namespace QMAPP.FJC.Web.Models.FIS { /// /// 计划管理操作记录 /// 作 者:周晓东 /// 时 间:2018年03月22日 /// public class OrderPlanTraceModel : QDGModel { /// ///主键 /// [Description("主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// ///计划单号 /// [Description("计划单号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)] public string PLAN_NO { get; set; } /// ///操作类型 /// [Description("操作类型")] [DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)] public string OPERATE_TYPE { get; set; } /// ///计划顺序号 /// [Description("计划顺序号")] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string PLAN_SEQ { get; set; } /// ///计划状态 /// [Description("计划状态")] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string PLAN_STATE { get; set; } /// ///物料号 /// [Description("物料号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 200)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 130, DataAlign = DataAlign.center)] public string MATERIAL_CODE { get; set; } /// ///物料名称 /// [Description("物料名称")] [DGColumn(frozenColumns = false, Sortable = true, Width = 210, DataAlign = DataAlign.center)] public string MATERIAL_NAME { get; set; } /// ///设备编号 /// [Description("设备编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 200)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string MACHINECODDE { get; set; } /// ///PBOM编号 /// [Description("PBOM编号")] //[InputType(inputType.text)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string PBOM_CODE { get; set; } /// ///工艺路线编号 /// [Description("工艺路线编号")] //[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetProcessRouteComboxSource")] //[InputType(inputType.combobox)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string ROUTE_CODE { get; set; } /// ///工艺路线 /// [Description("工艺路线")] //[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string ROUTE_NAME { get; set; } /// ///描述 /// [Description("描述")] //[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string REMARK { get; set; } /// ///计划数量 /// [Description("计划数量")] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string QTY { get; set; } /// ///完成数量 /// [Description("完成数量")] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string COMPLETE_QTY { get; set; } /// ///计划日期 /// [Description("计划日期")] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public DateTime PLAN_DATE { get; set; } [Description("计划日期")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 200, FormatDate = "yyyy-MM-dd HH:mm:ss")] [InputType(inputType.dateTimeBox)] public string PLANTIMESTART { get; set; } [Description("至")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 200, FormatDate = "yyyy-MM-dd HH:mm:ss")] [InputType(inputType.dateTimeBox)] public string PLANTIMEEND { get; set; } /// ///工厂编号 /// [Description("工厂编号")] //[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string FACTORY_CODE { get; set; } /// ///工厂名称 /// [Description("工厂名称")] //[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string FACTORY_NAME { get; set; } /// ///班次编码 /// [Description("班次编码")] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string SHIFT_CODE { get; set; } /// ///班次名称 /// [Description("班次名称")] //[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string SHIFT_NAME { get; set; } /// ///计划来源 /// [Description("计划来源")] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string PLANSOURCE { get; set; } /// ///生产要求 /// [Description("生产要求")] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string PRODUCEREQUIRE { get; set; } /// /// 创建用户 /// [Description("创建用户")] public string CREATEUSER { get; set; } /// /// 创建用户 /// [Description("创建用户")] [DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string CREATEUSERNAME { get; set; } /// /// 创建时间 /// [Description("创建时间")] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime CREATEDATE { get; set; } /// /// 更新用户 /// [Description("更新用户")] public string UPDATEUSER { get; set; } /// /// 更新用户 /// [Description("更新用户")] [DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string UPDATEUSERNAME { get; set; } /// /// 更新时间 /// [Description("更新时间")] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime UPDATEDATE { get; set; } /// /// 订单类型 /// [InputType(inputType.hidden)] public string ORDER_TYPE { get; set; } /// /// 订单类型 /// [InputType(inputType.hidden)] public string WORKCENTER_CODE { get; set; } } }