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

115 lines
4.0 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI;
namespace QMAPP.MESReport.Web.Models.LineQTY
{
/// <summary>
/// 生产统计 视图MODEL
/// 于子清
/// 2017-10-18
/// </summary>
public class QTYInfoCountVModel : QDGModel
{
/// <summary>
/// 起始日期
/// </summary>
[Description("起始日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 150)]
[InputType(inputType.datebox)]
public string START_DATE { get; set; }
/// <summary>
/// 结束日期
/// </summary>
[Description("结束日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 150)]
[InputType(inputType.datebox)]
public string END_DATE { get; set; }
///<summary>
///商品类型
///</summary>
[Description("项目号")]
[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetProjectList", MaxLength = 20, Width = 150)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PROJECTCODE { get; set; }
///<summary>
///商品类型
///</summary>
[Description("物料号")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20, Width = 150)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MATERIAL_CODE { get; set; }
///<summary>
///商品类型
///</summary>
[Description("高低配")]
[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=HBTYPE", MaxLength = 20, Width = 150)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string HBTYPE { get; set; }
///<summary>
///商品类型
///</summary>
[Description("颜色")]
[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=COLOR", MaxLength = 20, Width = 150)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string COLOR { get; set; }
///<summary>
/// 物料名称
///</summary>
[Description("物料名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)]
[InputType(inputType.combobox)]
public string MATERIAL_NAME { get; set; }
///<summary>
/// 统计类型
///</summary>
[Description("统计类型")]
[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetTJList", MaxLength = 20, Width = 150)]
[InputType(inputType.combobox)]
public string TYPE_COUNT { get; set; }
/// <summary>
/// 生产数量
/// </summary>
[Description("生产数量")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)]
[InputType(inputType.datebox)]
public string QTY { get; set; }
/// <summary>
/// 合格数
/// </summary>
[Description("合格数")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)]
[InputType(inputType.datebox)]
public string OK_QTY { get; set; }
/// <summary>
/// 不合格数
/// </summary>
[Description("不合格数")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)]
[InputType(inputType.datebox)]
public string NOK_QTY { get; set; }
}
}