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.
114 lines
4.3 KiB
114 lines
4.3 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.MD.Web.Models
|
|
{
|
|
/// <summary>
|
|
/// 模块名称:物料信息绑定关系
|
|
/// 作 者:周晓东
|
|
/// 编写日期:20180508
|
|
/// </summary>
|
|
public class MaterialBindingModel : 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>
|
|
/// 绑定类型
|
|
/// MOULD 模具
|
|
/// EQUIP 设备
|
|
/// </summary>
|
|
[Description("绑定类型")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 200, JsonUtl = "/Dict/GetBingingTypeComboxSource")]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
[InputType(inputType.combobox)]
|
|
public string BINDING_TYPE { get; set; }
|
|
|
|
[Description("绑定类型")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string BINDING_TYPE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 绑定对象编码
|
|
/// </summary>
|
|
[Description("绑定编码")]
|
|
[HTMLInput(UpdateRead = false, required = false, Width = 200, JsonUtl = "/Dict/GetTestComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
|
|
public string TARGET_CODE { get; set; }
|
|
|
|
[Description("绑定名称")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
|
|
public string TARGET_CODE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 绑定-模具
|
|
/// </summary>
|
|
[Description("模具")]
|
|
[HTMLInput(UpdateRead = false, required = false, Width = 200, JsonUtl = "/Dict/GetMouldsComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
public string TARGET_MOULD { get; set; }
|
|
|
|
/// <summary>
|
|
/// 绑定-设备
|
|
/// </summary>
|
|
[Description("设备")]
|
|
[HTMLInput(UpdateRead = false, required = false, Width = 200, JsonUtl = "/Dict/GetAllMachineInfoListComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
public string TARGET_EQUIP { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料类型-物料号 0:物料类型 1:物料号
|
|
/// </summary>
|
|
[Description("绑定物料")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 200, JsonUtl = "/Dict/GetIsMaterialCodeComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
public string IS_MATERIAL_CODE { get; set; }
|
|
|
|
[Description("绑定物料")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string IS_MATERIAL_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 绑定对象编码
|
|
/// </summary>
|
|
[Description("物料编码")]
|
|
[HTMLInput(UpdateRead = false, required = false, Width = 200, JsonUtl = "/Dict/GetTestComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
|
|
public string MATERIAL_CODE { get; set; }
|
|
|
|
[Description("物料名称")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 240, DataAlign = DataAlign.center)]
|
|
public string MATERIAL_CODE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 绑定-物料号
|
|
/// </summary>
|
|
[Description("物料号")]
|
|
[HTMLInput(UpdateRead = false, required = false, Width = 200, JsonUtl = "/Dict/GetMaterialTree")]
|
|
[InputType(inputType.combotree)]
|
|
public string TARGET_MATERIAL_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 绑定-物料类型
|
|
/// </summary>
|
|
[Description("物料类型")]
|
|
[HTMLInput(UpdateRead = false, required = false, Width = 200, JsonUtl = "/Dict/GetMaterialClassTree")]
|
|
[InputType(inputType.combotree)]
|
|
public string TARGET_MATERIAL_CLASS { get; set; }
|
|
|
|
}
|
|
}
|