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.
237 lines
7.7 KiB
237 lines
7.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 StocktakingSearchModel : 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>
|
|
///PLANID
|
|
///</summary>
|
|
[Description("外键")]
|
|
[HTMLInput(UpdateRead = false, required = true,MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true)]
|
|
public string PLANID { get; set; }
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
/////<summary>
|
|
/////工厂编号
|
|
/////</summary>
|
|
//[Description("工厂编号")]
|
|
//[HTMLInput(UpdateRead = false, required = true,MaxLength = 30, JsonUtl = "/Dict/GetNewFactoryComboxSource")]
|
|
//[InputType(inputType.combobox)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width= 150, DataAlign = DataAlign.center)]
|
|
//public string FACTORY_CODE { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
///计划单号
|
|
///</summary>
|
|
[Description("计划单号")]
|
|
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width= 130, DataAlign = DataAlign.center)]
|
|
public string PLAN_NO { get; set; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///有无条码
|
|
///</summary>
|
|
[Description("有无条码")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 185, JsonUtl = "/Dict/GetFixedComboxSource?kind=COUNTTYPE")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string COUNTTYPE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///计划状态
|
|
///</summary>
|
|
[Description("计划状态")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30,Width = 180, JsonUtl = "/Dict/GetFixedComboxSource?kind=STOCK_PLAN_STATE")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width= 80, DataAlign = DataAlign.center)]
|
|
public string PLAN_STATE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///备注
|
|
///</summary>
|
|
[Description("备注")]
|
|
[HTMLInput(UpdateRead = false, required = false,MaxLength = 30, Width = 180, Height = 50)]
|
|
[InputType(inputType.textArea)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width= 160, DataAlign = DataAlign.center, rowspan = 20)]
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///盘点日期
|
|
///</summary>
|
|
[Description("盘点日期")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 180)]
|
|
[InputType(inputType.datebox)]
|
|
[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 = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
|
|
[InputType(inputType.dateTimeBox)]
|
|
public string PLANTIMESTART { get; set; }
|
|
|
|
[Description("至")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
|
|
[InputType(inputType.dateTimeBox)]
|
|
public string PLANTIMEEND { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///登记数量
|
|
///</summary>
|
|
[Description("登记数量")]
|
|
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width= 80, DataAlign = DataAlign.center)]
|
|
|
|
public string REGISTNUMBER { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///实际数量
|
|
///</summary>
|
|
[Description("实际数量")]
|
|
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width= 80, DataAlign = DataAlign.center)]
|
|
|
|
public string ACTUALNUMBER { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
///异常状态
|
|
///</summary>
|
|
[Description("异常状态")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
|
|
|
|
public string ERROWSTATUS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
///创建人
|
|
///</summary>
|
|
[Description("创建人")]
|
|
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width= 80, DataAlign = DataAlign.center)]
|
|
public string CREATEUSERNAME { get; set; }
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///创建时间
|
|
///</summary>
|
|
[Description("创建时间")]
|
|
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
|
|
[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 = 30)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width= 100, DataAlign = DataAlign.center)]
|
|
public string UPDATEUSERNAME { get; set; }
|
|
|
|
|
|
public string UPDATEUSER { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///修改时间
|
|
///</summary>
|
|
[Description("修改时间")]
|
|
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width= 150, DataAlign = DataAlign.center)]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
|
|
|
|
|
|
///<summary>
|
|
/// 物料类别
|
|
/// </summary>
|
|
[Description("物料类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100, JsonUtl = "/Dict/GetMaterialClassComboxSource")]
|
|
[InputType(inputType.combotree)]
|
|
//[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)]
|
|
[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)]
|
|
[InputType(inputType.combobox)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
|
|
public string MATERIAL_CODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 物料id
|
|
/// </summary>
|
|
[Description("物料id")]
|
|
public string MaterialCodes { get; set; }
|
|
|
|
|
|
|
|
public string EDITFLAG { get; set; }
|
|
}
|
|
}
|