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.
85 lines
3.0 KiB
85 lines
3.0 KiB
4 years ago
|
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
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 不合格品数量
|
||
|
/// </summary>
|
||
|
public class UnQualityProductModel : 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>
|
||
|
///零件分类(0:表皮 1:骨架 3:气囊支架 4:开关支架 5:风道 6:HUD风道 7:格栅 8:中控支架 )
|
||
|
///</summary>
|
||
|
[Description("零件分类")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCTTYPE")]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
|
||
|
public string PRODUCTTYPE { 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 PRODUCTCODE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///物料类别
|
||
|
///</summary>
|
||
|
[Description("物料类别")]
|
||
|
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
||
|
//[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
|
||
|
public string MATERIAL_TYPE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///物料号
|
||
|
///</summary>
|
||
|
[Description("物料号")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
|
||
|
public string MATERIAL_CODE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///零件状态(0:合格 1:返修 2:作废)
|
||
|
///</summary>
|
||
|
[Description("零件状态")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCTSTATUS")]
|
||
|
[InputType(inputType.combobox)]
|
||
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.center)]
|
||
|
public string STATUS { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///数量
|
||
|
///</summary>
|
||
|
[Description("数量")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
|
||
|
public int CAPACITY { get; set; }
|
||
|
|
||
|
}
|
||
|
}
|