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.
229 lines
9.1 KiB
229 lines
9.1 KiB
using System;
|
|
using System.Web.Mvc.Html;
|
|
using QMFrameWork.WebUI;
|
|
using QMFrameWork.WebUI.Attribute;
|
|
|
|
namespace QMAPP.FJC.Web.Models.ProduceManage
|
|
{
|
|
/// <summary>
|
|
/// 模块编号:M4-1
|
|
/// 作 用:生产记录维护页面模型
|
|
/// 作 者:张敬贺
|
|
/// 编写日期:2015年06月04日
|
|
///</summary>
|
|
public class ProducePlanModel : 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>
|
|
///生产计划号
|
|
///</summary>
|
|
[Description("生产计划号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PLANCODE { get; set; }
|
|
|
|
///<summary>
|
|
///零件类别(0:表皮 1:骨架 3:气囊支架 4:开关支架 5:风道 6:HUD风道 7:格栅 8:中控支架)
|
|
///</summary>
|
|
[Description("零件类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, Width = 155)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string PRODUCTTYPE { get; set; }
|
|
|
|
///<summary>
|
|
///工序类别(0:搪塑 1:骨架注塑 2:气囊支架注塑 3:风道注塑 4:中控之间注塑 5:HUD风道注塑 6:冷刀弱化 7:火焰加工 8:预热 9:浇注 10:红外扫描 11:冲切 12:铣削 13:铆接 14:超时波焊接 15:红外焊接 16:总成装配)
|
|
///</summary>
|
|
[Description("工序类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=PROCESSTYPE", multiple = false, Width = 155)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string PROCESSTYPE { get; set; }
|
|
|
|
///<summary>
|
|
///颜色
|
|
///</summary>
|
|
[Description("颜色")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=COLOR", multiple = false, Width = 155)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.left)]
|
|
public string COLOR { get; set; }
|
|
///<summary>
|
|
///高低配
|
|
///</summary>
|
|
[Description("高低配")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=HAndL", multiple = false, Width = 155)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 60, DataAlign = DataAlign.center)]
|
|
public string HB { get; set; }
|
|
|
|
///<summary>
|
|
///设备码
|
|
///</summary>
|
|
[Description("设备编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 155)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string MACHINECODE { get; set; }
|
|
|
|
///<summary>
|
|
///设备名称
|
|
///</summary>
|
|
[Description("设备名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string MACHINENAME { get; set; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///班次信息编号
|
|
///</summary>
|
|
[Description("班次信息编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 155, 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 = 20)]
|
|
[InputType(inputType.text)]
|
|
public string PRODUCELINE { 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 MINPRODUCECOUNT { get; set; }
|
|
|
|
///<summary>
|
|
///生产数量
|
|
///</summary>
|
|
[Description("生产数量")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 9, NumberMin = 1, DataType = QDataType.number)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.right)]
|
|
public int PRODUCECOUNT { get; set; }
|
|
|
|
///<summary>
|
|
///完成数量
|
|
///</summary>
|
|
[Description("完成数量")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 9)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.right)]
|
|
public int COMPLETECOUNT { get; set; }
|
|
|
|
///<summary>
|
|
///计划状态(0:初始化 1:)
|
|
///</summary>
|
|
[Description("计划状态")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=PLANSTATUS")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.right)]
|
|
public string PLANSTATUS { get; set; }
|
|
|
|
///<summary>
|
|
///备注
|
|
///</summary>
|
|
[Description("备注")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 100, Width = 153, Height = 70)]
|
|
[InputType(inputType.textArea)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 120, DataAlign = DataAlign.left)]
|
|
public string MEMO { get; set; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///生成方式(0:自动生成 1:人工生成)
|
|
///</summary>
|
|
[Description("生成方式")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.right)]
|
|
public string CREATETYPE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 计划时间
|
|
/// </summary>
|
|
[Description("计划时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20,required = true)]
|
|
[InputType(inputType.datebox)]
|
|
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center)]
|
|
public DateTime PLANDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[Description("创建用户")]
|
|
public string CREATEUSER { get; set; }
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[Description("创建用户")]
|
|
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string CREATEUSERNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
|
[InputType(inputType.hidden)]
|
|
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
|
public DateTime CREATEDATE { get; set; }
|
|
|
|
[Description("创建日期")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd")]
|
|
[InputType(inputType.datebox)]
|
|
public string STARTCREATEDATE { get; set; }
|
|
|
|
[Description("至")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd")]
|
|
[InputType(inputType.datebox)]
|
|
public string ENDCREATEDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新用户
|
|
/// </summary>
|
|
[Description("更新用户")]
|
|
public string UPDATEUSER { get; set; }
|
|
/// <summary>
|
|
/// 更新用户
|
|
/// </summary>
|
|
[Description("更新用户")]
|
|
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string UPDATEUSERNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[Description("更新时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
|
[InputType(inputType.hidden)]
|
|
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|