using System; using System.Collections.Generic; using System.Linq; using System.Web; using QMFrameWork.WebUI.Attribute; using QMFrameWork.WebUI; using System.Web.Mvc.Html; using QMFrameWork.WebUI.Attribute; using QMFrameWork.WebUI; namespace QMAPP.MESReport.Web.Models.LineQTY { /// /// 生产统计 视图MODEL /// 于子清 /// 2017-10-18 /// public class QTYInfoCountVModel : QDGModel { /// /// 起始日期 /// [Description("起始日期")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 150)] [InputType(inputType.datebox)] public string START_DATE { get; set; } /// /// 结束日期 /// [Description("结束日期")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 150)] [InputType(inputType.datebox)] public string END_DATE { get; set; } /// ///商品类型 /// [Description("项目号")] [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetProjectList", MaxLength = 20, Width = 150)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PROJECTCODE { get; set; } /// ///商品类型 /// [Description("物料号")] [HTMLInput(UpdateRead = true, required = true, MaxLength = 20, Width = 150)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string MATERIAL_CODE { get; set; } /// ///商品类型 /// [Description("高低配")] [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=HBTYPE", MaxLength = 20, Width = 150)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string HBTYPE { get; set; } /// ///商品类型 /// [Description("颜色")] [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=COLOR", MaxLength = 20, Width = 150)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string COLOR { get; set; } /// /// 物料名称 /// [Description("物料名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.combobox)] public string MATERIAL_NAME { get; set; } /// /// 统计类型 /// [Description("统计类型")] [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetTJList", MaxLength = 20, Width = 150)] [InputType(inputType.combobox)] public string TYPE_COUNT { get; set; } /// /// 生产数量 /// [Description("生产数量")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.datebox)] public string QTY { get; set; } /// /// 合格数 /// [Description("合格数")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.datebox)] public string OK_QTY { get; set; } /// /// 不合格数 /// [Description("不合格数")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.datebox)] public string NOK_QTY { get; set; } } }