using System; using System.Web.Mvc.Html; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Mvc.Html; using QMAPP.Web; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; namespace QMAPP.FJC.Web.Models.ProduceManage { /// /// 模块编号:M4-3不合格品记录查询 /// 作 用:不合格品记录查询 /// 作 者:张敬贺 /// 编写日期:2015年06月15日 /// public class UnQualityModel : QDGModel { public UnQualityModel() { pagination = false; } /// /// 物料号 /// [Description("物料号")] [HTMLInput(UpdateRead = true, required = true, MaxLength = 20)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 180, DataAlign = DataAlign.center)] public string MATERIAL_CODE { get; set; } /// /// 物料名称 /// [Description("物料名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30)] [InputType(inputType.text)] [DGColumn(Sortable = false, Width = 260, DataAlign = DataAlign.center)] public string MATERIAL_NAME { get; set; } /// ///物料类别 /// [Description("物料类别")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 345, JsonUtl = "/Dict/GetMaterialClassTree")] [InputType(inputType.combotree)] [DGColumn(frozenColumns = false, Sortable = false, Width = 120, DataAlign = DataAlign.center)] public string MATERIAL_TYPE_CODE { get; set; } /// ///物料类别名称 /// [Description("物料类别名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = false, Width = 170, DataAlign = DataAlign.center)] public string MATERIAL_TYPE_NAME { get; set; } /// ///在制品数量 /// [Description("不合格品数量")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = false, Width = 120, DataAlign = DataAlign.center)] public int UNUSED { get; set; } } }