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

188 lines
5.8 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;
using System.Data;
namespace QMAPP.FJC.Web.Models.ProductPetrospect
{
/// <summary>
/// 模块编号:
/// 作 用:加工记录页面模型(用于加工记录查询)
/// 作 者:王丹丹
/// 编写日期:2015年06月30日
///</summary>
public class MainOperationModel : QDGModel
{
public MainOperationModel()
{
this.propertyParameter = new Dictionary<string, string>();
this.propertyParameter.Add("fitColumns", "false");
}
/// <summary>
/// 加工记录ID
/// </summary>
public string ids { get; set; }
///<summary>
///表皮条码
///</summary>
[Description("条码信息")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
public string PRODUCTCODE { get; set; }
///<summary>
///产品条码
///</summary>
[Description("产品条码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
public string PRODUCTCODETXT { get; set; }
///<summary>
/// 工序类别
///</summary>
[Description("工序类别X")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=PROCESSTYPE")]
[InputType(inputType.combobox)]
public string PROCESSTYPE { get; set; }
///<summary>
/// 工序类别(注塑,用于设备加工记录查询)
///</summary>
[Description("工序类别")]
public string PROCESSTYPES { get; set; }
///<summary>
///设备名称
///</summary>
[Description("设备名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
public string MACHINENAME { get; set; }
///<summary>
///设备编码
///</summary>
[Description("设备编码")]
[HTMLInput(UpdateRead = false, required = true, Height=50, MaxLength = 50, JsonUtl = "/InJectionRecorder/GetMachineInfoComboxSource")]
[InputType(inputType.combobox)]
public string MACHINECODDE { get; set; }
///<summary>
///班次信息名称
///</summary>
[Description("班次信息名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
public string PRODUCESHIFTNAME { get; set; }
///<summary>
///班次信息编号
///</summary>
[Description("班次信息编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/InJectionRecorder/GetProductShiftComboxSource")]
[InputType(inputType.combobox)]
public string PRODUCESHIFTTCODE { get; set; }
///<summary>
///物料号, JsonUtl = "/Dict/GetNewMaterialComboxSource"
///</summary>
[Description("物料号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.combobox)]
public string MATERIAL_CODE { get; set; }
///<summary>
///物料名称
///</summary>
[Description("物料名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.combobox)]
public string MATERIAL_NAME { get; set; }
///<summary>
///物料类别
///</summary>
[Description("物料类别")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.combotree)]
public string MATERIAL_TYPE_CODE { get; set; }
///<summary>
///工作中心
///</summary>
[Description("工作中心")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, JsonUtl = "/Dict/GetAllWorkCenterComboxSource")]
[InputType(inputType.combobox)]
public string WORKCENTER_CODE { get; set; }
///<summary>
///工艺路线
///</summary>
[Description("工艺路线")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, JsonUtl = "/Dict/GetProcessRouteComboxSource")]
[InputType(inputType.combobox)]
public string ROUTE_CODE { get; set; }
///<summary>
///工序
///</summary>
[Description("工序")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.combobox)]
public string WORKCELL_CODE { get; set; }
///<summary>
///产品状态(0:合格 1:返修 2:作废)
///</summary>
[Description("产品状态")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCTSTATUS")]
[InputType(inputType.combobox)]
public string STATUS { get; set; }
///<summary>
///操作时间
///</summary>
[Description("操作时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8)]
[InputType(inputType.dateTimeBox)]
public string CREATEDATESTART { get; set; }
///<summary>
///至
///</summary>
[Description("至")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8)]
[InputType(inputType.dateTimeBox)]
public string CREATEDATEEND { get; set; }
public string json { get; set; }
/// <summary>
/// DataGrid列头
/// </summary>
public DataTable dt { get; set; }
}
}