|
|
|
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.Bucket
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 模块名称:注塑投料记录
|
|
|
|
/// 作 者:张松男
|
|
|
|
/// 编写日期:2021年07月13日
|
|
|
|
/// </summary>
|
|
|
|
public class RawMaterialModel : QDGModel
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 主键
|
|
|
|
/// </summary>
|
|
|
|
[Description("主键")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
|
|
public string PID { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 料筒编号
|
|
|
|
/// </summary>
|
|
|
|
[Description("料筒编号")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200, JsonUtl = "/Dict/GetBucketCodeComboxSource")]
|
|
|
|
[InputType(inputType.combotree)]
|
|
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
|
|
public string BucketCode { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 零件号
|
|
|
|
/// </summary>
|
|
|
|
[Description("零件号")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
|
|
[InputType(inputType.text)]
|
|
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
|
|
public string PartCode { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 投料批次
|
|
|
|
/// </summary>
|
|
|
|
[Description("投料批次")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
|
|
[InputType(inputType.text)]
|
|
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 230, DataAlign = DataAlign.center)]
|
|
|
|
public string planNumber { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 原料批次
|
|
|
|
/// </summary>
|
|
|
|
[Description("原料批次")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
|
|
[InputType(inputType.text)]
|
|
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
|
|
public string BatchCode { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 流水号
|
|
|
|
/// </summary>
|
|
|
|
[Description("流水号")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
|
|
[InputType(inputType.text)]
|
|
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
|
|
public string SerialCode { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 重量
|
|
|
|
/// </summary>
|
|
|
|
[Description("重量")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
|
|
[InputType(inputType.text)]
|
|
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
|
|
public string weight { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 是否可用
|
|
|
|
/// </summary>
|
|
|
|
[Description("是否可用")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
|
|
[InputType(inputType.text)]
|
|
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center,Hidden = true)]
|
|
|
|
public string IsCheck { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 供应商编码
|
|
|
|
/// </summary>
|
|
|
|
[Description("供应商编码")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
|
|
[InputType(inputType.text)]
|
|
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
|
|
public string SupplierCode { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建用户
|
|
|
|
/// </summary>
|
|
|
|
[Description("创建用户")]
|
|
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
|
|
[InputType(inputType.text)]
|
|
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
|
|
public string CREATEUSER { 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; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|