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.
245 lines
8.8 KiB
245 lines
8.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;
|
|
|
|
namespace QMAPP.FJC.Web.Models.FeedInManage
|
|
{
|
|
/// <summary>
|
|
/// 模块编号:M3-1
|
|
/// 作 用:注塑投料记录页面模型
|
|
/// 作 者:王丹丹
|
|
/// 编写日期:2015年06月05日
|
|
///</summary>
|
|
public class InJectionRecorderModel : QDGModel
|
|
{
|
|
|
|
//private string ordertype
|
|
//{
|
|
// set {new INJECTION;}
|
|
//}
|
|
|
|
///<summary>
|
|
///投料记录主键
|
|
///</summary>
|
|
[Description("注塑投料记录主键")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///物料号
|
|
///</summary>
|
|
[Description("物料号")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 40)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIALCODE { get; set; }
|
|
|
|
///<summary>
|
|
///物料名称
|
|
///</summary>
|
|
[Description("物料名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string MATERIALNAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///物料码(模糊查询)
|
|
///</summary>
|
|
[Description("物料号")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 40)]
|
|
[InputType(inputType.text)]
|
|
public string MATERIALCODETXT { get; set; }
|
|
|
|
///<summary>
|
|
///物料类别(0:原材料 1:织物衬布), JsonUtl = "/Dict/GetMaterialClassByAttributeComboxSource?attribute=" + "3"
|
|
///</summary>
|
|
[Description("物料类别")]
|
|
[HTMLInput(UpdateRead = false, required = true,MaxLength = 1)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string MATERIALTYPE { get; set; }
|
|
|
|
//[Description("物料类别")]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
//public string MATERIALTYPETXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///原材料批次号
|
|
///</summary>
|
|
[Description("原材料批次号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIALBATCH { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///设备分类(0:搪塑 1:注塑 2:浇注)
|
|
///</summary>
|
|
[Description("设备分类")]
|
|
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=MACHINETYPE", MaxLength = 1)]
|
|
[InputType(inputType.combobox)]
|
|
public string MACHINETYPE { get; set; }
|
|
|
|
[Description("设备分类")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MACHINETYPETXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///工序类别(0:搪塑 1:注塑 9:浇注)
|
|
///</summary>
|
|
[Description("工序类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/InJectionRecorder/GetComboxSource", MaxLength = 2)]
|
|
[InputType(inputType.combobox)]
|
|
public string PROCESSTYPE { get; set; }
|
|
|
|
|
|
[Description("工序类别")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string PROCESSTYPETXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///设备名称
|
|
///</summary>
|
|
[Description("设备名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string MACHINENAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///设备编码(注塑INJECT)
|
|
///</summary>
|
|
[Description("设备编码")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MACHINECODDE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///班次信息名称
|
|
///</summary>
|
|
[Description("班次名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string PRODUCESHIFTNAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///班次信息编号
|
|
///</summary>
|
|
[Description("班次编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/InJectionRecorder/GetProductShiftComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PRODUCESHIFTTCODE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///搪塑注料顺序
|
|
///</summary>
|
|
[Description("搪塑注料顺序")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
|
[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public int INJECTIONINDEX { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///搪塑上料口
|
|
///</summary>
|
|
[Description("搪塑上料口")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
|
[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
|
|
public int INJECTIONTERMINAL { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///投料重量
|
|
///</summary>
|
|
[Description("投料重量")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public int METERIALWEIGHT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///已使用重量
|
|
///</summary>
|
|
[Description("已使用重量")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
|
[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
|
|
public int USEDWEIGHTSUM { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///生产线
|
|
///</summary>
|
|
[Description("生产线")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
public string PRODUCELINE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[Description("操作用户")]
|
|
public string CREATEUSER { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
[InputType(inputType.dateTimeBox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
|
|
public string CREATEDATE { get; set; }
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[Description("操作用户")]
|
|
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string CREATEUSERNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新用户
|
|
/// </summary>
|
|
[Description("更新用户")]
|
|
[InputType(inputType.hidden)]
|
|
public string UPDATEUSER { get; set; }
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[Description("更新时间")]
|
|
[InputType(inputType.dateTimeBox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
|
|
public string UPDATEDATE { 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; }
|
|
|
|
}
|
|
}
|