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

317 lines
12 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.ProduceManage
{
public class MendRecorderModel : QDGModel
{
public MendRecorderModel()
{
//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); }");
////不可缺少
////获取表皮产品下投料明细ACTION
//GETDETAILINFO = @"/MendRecorder/GetMendReasonList?PID=";
;
}
///<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 = 50, JsonUtl = "/Dict/GetFixedComboxSource?kind=MENDRESULT")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 60, DataAlign = DataAlign.center)]
public string MENDRESULT { get; set; }
/// <summary>
/// 产品条码
/// </summary>
[Description("产品条码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string PRODUCTCODE { get; set; }
/// <summary>
/// 零件分类
/// </summary>
//[Description("零件分类")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/WIPInventory/GetProductSetDropDownList")]
//[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
//public string PRODUCTTYPE { get; set; }
/// <summary>
/// 物料号
/// </summary>
[Description("物料号")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 130, DataAlign = DataAlign.center)]
public string MATERIAL_CODE { get; set; }
/// <summary>
/// 物料名称
/// </summary>
[Description("物料名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string MATERIAL_NAME { get; set; }
///<summary>
///物料类别
///</summary>
[Description("物料类别")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.combotree)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 120, DataAlign = DataAlign.center)]
public string MATERIAL_TYPE_CODE { get; set; }
///<summary>
///物料类别名称
///</summary>
[Description("物料类别名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 120, DataAlign = DataAlign.center)]
public string MATERIAL_TYPE_NAME { get; set; }
/// <summary>
/// 零件分类
/// </summary>
[Description("缺陷位置")]
[HTMLInput(UpdateRead = false, required = true, Width = 74, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=HORIZONTAL")]
[InputType(inputType.combobox)]
public string HORIZONTAL { get; set; }
/// <summary>
/// 零件分类
/// </summary>
[Description("纵向位置")]
[HTMLInput(UpdateRead = false, required = true, Width = 74, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=VERTICAL")]
[InputType(inputType.combobox)]
public string VERTICAL { get; set; }
/// <summary>
/// 当前工序
/// </summary>
[Description("当前工序")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/WIPInventory/GetProcessSetDropDownList")]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string CURRENTPROCESS { get; set; }
/// <summary>
/// 班次信息名称
/// </summary>
[Description("生产班次")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCESHIFTTCODE")]
[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 = 50, JsonUtl = "/Dict/GetDefectDropDownList")]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MENDREASON { get; set; }
/// <summary>
/// 返修方式
/// </summary>
[Description("返修方式")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/Dict/GetFixedComboxSource?kind=MENDTYPE")]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MENDTYPE { get; set; }
/// <summary>
/// 返修状态
/// </summary>
[Description("返修状态")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/Dict/GetFixedComboxSource?kind=REGISTERSTATUS")]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string REGISTERSTATUS { get; set; }
/// <summary>
/// 返修状态
/// </summary>
[Description("模架号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=MOLDNUMBER")]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MOLDNUMBER { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("操作日期")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
[InputType(inputType.hidden)]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime CREATEDATE { get; set; }
///<summary>
///工序
///</summary>
[Description("工序")]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string WORKCELL_CODE { get; set; }
///<summary>
///工位
///</summary>
[Description("工位")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MACHINENAME { get; set; }
[Description("处理方法")]
[DGColumn(frozenColumns = false, Sortable = false, Width = 100, DataAlign = DataAlign.center)]
public string HANDLEMETHODTXT { get; set; }
[Description("生产件/采购价")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string OUTSOURCE { get; set; }
///<summary>
///责任方OUTSOURCE
///</summary>
[Description("责任方")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MENDDUTY { get; set; }
///<summary>
///是否测试件
///</summary>
[Description("测试件")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MENDTEST { get; set; }
/// <summary>
/// 报废数量
/// </summary>
[Description("报废数量")]
[DGColumn(Hidden = false, frozenColumns = false, Sortable = false, Width = 50, DataAlign = DataAlign.center)]
public int MENDNUMBER { get; set; }
[Description("操作日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.datebox)]
public string CREATEDATESTART { get; set; }
[Description("至")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.datebox)]
public string CREATEDATEEND { get; set; }
[InputType(inputType.hidden)]
public string GETDETAILINFO { get; set; }
///<summary>
///废品类别
///</summary>
[Description("废品类别")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string ERP_MFGCODETYPE { get; set; }
///<summary>
///车型代码
///</summary>
[Description("车型代码")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string ERP_CAR { get; set; }
///<summary>
///生产线代码
///</summary>
[Description("生产线代码")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string ERP_WORKLINE { get; set; }
///<summary>
///班组代码
///</summary>
[Description("班组代码")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string ERP_SHIFT { get; set; }
///<summary>
///工序代码
///</summary>
[Description("工序代码")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string ERP_WORKCELL { get; set; }
///<summary>
///缺陷归属
///</summary>
[Description("缺陷归属")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string ERP_DEFECTTO { get; set; }
///<summary>
///产品类别代码
///</summary>
[Description("产品类别代码")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string ERP_PRODUCTTYPE { get; set; }
///<summary>
///缺陷代码
///</summary>
[Description("缺陷代码")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string ERP_DEFECTCODE { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("操作用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.combobox)]
public string CREATEUSER { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("操作用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string CREATEUSERNAME { get; set; }
}
}