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.Stocktaking { public class CountingdetailViewModel : QDGModel { /// ///主键 /// [Description("主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// ///计划ID /// [Description("计划ID")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string PLANID { get; set; } ///// /////物料类型编号 ///// //[Description("物料类型编号")] //[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] //[InputType(inputType.text)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] //public string MATERIAL_TYPE_CODE { get; set; } /// /// 物料分类编号 /// [Description("物料分类")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 100, JsonUtl = "/StocktakingManage/GetMaterialClassComboxSource")] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string MATERIAL_TYPE_CODE { get; set; } /// ///物料分类名称 /// [Description("物料分类名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/StocktakingManage/GetMaterielList?MATERIAL_TYPE_CODE=''")] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Hidden = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string MATERIAL_YPE_Name { get; set; } ///// /////物料号 ///// //[Description("物料号")] //[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/StocktakingManage/GetMaterielList?MATERIAL_TYPE_CODE=''")] //[InputType(inputType.combobox)] //[DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] //public string MATERIAL_CODE1 { get; set; } /// ///物料号 /// [Description("物料号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/StocktakingManage/GetMaterielList?MATERIAL_TYPE_CODE=''")] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string MATERIAL_CODE { get; set; } /// ///创建人 /// [Description("创建人")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string CREATEUSERNAME { get; set; } public string CREATEUSER { get; set; } /// ///创建时间 /// [Description("创建时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public DateTime CREATEDATE { get; set; } /// ///修改人 /// [Description("修改人")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string UPDATEUSERNAME { get; set; } public string UPDATEUSER { get; set; } /// ///修改时间 /// [Description("修改时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public DateTime UPDATEDATE { get; set; } public CountingdetailViewModel detailmodel { get; set; } /// ///计划单号 /// [Description("计划单号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30)] [InputType(inputType.text)] [DGColumn(Hidden = true, frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string PLAN_NO { get; set; } /// ///计划状态 /// [Description("计划状态")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetPlanStateComboxSource")] [InputType(inputType.combobox)] [DGColumn(Hidden = true, frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string PLAN_STATE { get; set; } /// ///备注 /// [Description("备注")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 300, Height = 100)] [InputType(inputType.textArea)] [DGColumn(Hidden = true, frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center, rowspan = 20)] public string REMARK { get; set; } /// ///盘点日期 /// [Description("盘点日期")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30)] [InputType(inputType.datebox)] [DGColumn(Hidden = true, frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string PLAN_DATE { get; set; } /// ///工厂编号 /// [Description("工厂编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetNewFactoryComboxSource")] [InputType(inputType.combobox)] [DGColumn(Hidden = true, frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string FACTORY_CODE { get; set; } public string MaterialCodes { get; set; } } }