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

168 lines
5.9 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.FIS
{
public class FISOrderSendModel : QDGModel
{
public FISOrderSendModel()
{
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){ BindFISExpandRow(rowIndex, rowData); }");
//不可缺少
//获取FIS订单信息下发货明细ACTION
GETDETAILINFO = @"/FISOrderSend/GetFISOrederSendDetialList?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 = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string VWSEQ { get; set; }
///<summary>
///KIN号
///</summary>
[Description("KIN号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 90, DataAlign = DataAlign.center)]
public string KIN { get; set; }
///<summary>
///VIN号
///</summary>
[Description("VIN号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string VIN { get; set; }
///<summary>
///产品号
///</summary>
[Description("产品号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string PRODNO { get; set; }
///<summary>
///总成描述
///</summary>
[Description("总成描述")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
public string CARSETDESC_CN { get; set; }
///<summary>
///上线时间
///</summary>
[Description("上线时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8)]
[InputType(inputType.datebox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string CP5A { get; set; }
///<summary>
///状态(0:初始 1:生产中 2:生产完成 3:发运中 4:生产完成 )
///</summary>
[Description("状态")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetFixedComboxSource?kind=SCANSTATE")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.center)]
public string SCANSTATE { get; set; }
///<summary>
///生产线
///</summary>
[Description("生产线")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = false, Width = 100, DataAlign = DataAlign.center)]
public string LINENO { get; set; }
///<summary>
///创建时间
///</summary>
[Description("创建时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8)]
[InputType(inputType.datebox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime CREATETIME { get; set; }
[Description("上线时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string ONLINETIMESTART { get; set; }
[Description("至")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string ONLINETIMEEND { get; set; }
///<summary>
///删除标识
///</summary>
[Description("删除标识")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
//[InputType(inputType.text)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string FLAGDEL { get; set; }
[InputType(inputType.hidden)]
public string GETDETAILINFO { get; set; }
[InputType(inputType.hidden)]
public string SAVEURL { get; set; }
#region
public string SHIPMENT_NO { get; set; }
public string MATERIAL_CODE { get; set; }
public string FACTORY_CODE { get; set; }
public string WORKCENTER_CODE { get; set; }
public string SENDCODE { get; set; }
public string PRODUCT_SN { get; set; }
public int QTY { get; set; }
#endregion
}
}