You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
193 lines
6.7 KiB
193 lines
6.7 KiB
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
|
|
{
|
|
|
|
///<summary>
|
|
///主键
|
|
///</summary>
|
|
[Description("主键")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///计划ID
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
|
|
/////<summary>
|
|
/////物料类型编号
|
|
/////</summary>
|
|
//[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; }
|
|
|
|
///<summary>
|
|
/// 物料分类编号
|
|
/// </summary>
|
|
[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; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///物料分类名称
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
|
|
/////<summary>
|
|
/////物料号
|
|
/////</summary>
|
|
//[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; }
|
|
|
|
///<summary>
|
|
///物料号
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///创建人
|
|
///</summary>
|
|
[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; }
|
|
|
|
///<summary>
|
|
///创建时间
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
///<summary>
|
|
///修改人
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
///<summary>
|
|
///修改时间
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///计划单号
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///计划状态
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///备注
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///盘点日期
|
|
///</summary>
|
|
[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; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///工厂编号
|
|
///</summary>
|
|
[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; }
|
|
}
|
|
}
|