天津投入产出系统后端
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.
 
 
 
 
 
 

124 lines
4.5 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.Operation
{
public class ProductCheckModel : QDGModel
{
public ProductCheckModel()
{
this.ActiveTab = false;
this.propertyParameter = new Dictionary<string, string>();
this.propertyParameter.Add("view", "detailview");
this.propertyParameter.Add("detailFormatter", "function (index, row) { return TableStyle(index, row); } ");
this.propertyParameter.Add("onExpandRow", "function (rowIndex,rowData){ BindExpandRow(rowIndex, rowData); }");
//获取详细信息
GETDETAILINFO = @"/ProductCheck/GetProductCheckItemList?PID=";
}
[InputType(inputType.hidden)]
public string GETDETAILINFO { get; set; }
///<summary>
///
///</summary>
[Description("主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///<summary>
///条码号
///</summary>
[Description("条码号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string PRODUCTCODE { get; set; }
///<summary>
///物料号
///</summary>
[Description("物料号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.combotree)]
[DGColumn(frozenColumns = false, 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(frozenColumns = false, Sortable = true, Width = 180, DataAlign = DataAlign.center)]
public string MATERIAL_NAME { get; set; }
///<summary>
///抽检结果
///</summary>
[Description("抽检结果")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetFixedComboxSource?kind=CHECKRESULT")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 120, DataAlign = DataAlign.center)]
public string CHECKRESULT { get; set; }
///<summary>
///抽检类型
///</summary>
[Description("抽检类型")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCTCHECKTYPE")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 120, DataAlign = DataAlign.center)]
public string PRODUCTCHECKTYPE { get; set; }
///<summary>
///抽检员
///</summary>
[Description("抽检员")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
public string CREATEUSER { get; set; }
/// <summary>
/// 抽检员
/// </summary>
[Description("抽检员")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 120, DataAlign = DataAlign.center)]
public string CREATEUSERNAME { get; set; }
///<summary>
///抽检时间
///</summary>
[Description("抽检时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 180, DataAlign = DataAlign.center)]
public DateTime CREATEDATE { get; set; }
[Description("抽检时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string CREATEDATESTART { get; set; }
[Description("至")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string CREATEDATEEND { get; set; }
//public string PRODUCEDATE { get; set; }
}
}