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.
275 lines
10 KiB
275 lines
10 KiB
4 years ago
|
using System;
|
||
|
using System.Web.Mvc.Html;
|
||
|
using QMFrameWork.WebUI;
|
||
|
using QMFrameWork.WebUI.Attribute;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Web;
|
||
|
using System.Web.Mvc;
|
||
|
using System.Web.Mvc.Html;
|
||
|
using QMAPP.Web;
|
||
|
using QMFrameWork.WebUI;
|
||
|
using QMFrameWork.WebUI.Attribute;
|
||
|
|
||
|
namespace QMAPP.FJC.Web.Models.FeedInManage
|
||
|
{
|
||
|
///</summary>
|
||
|
/// 模块编号:M3-4骨架信息查询
|
||
|
/// 作 用:骨架信息查询
|
||
|
/// 作 者:张敬贺
|
||
|
/// 编写日期:2015年06月01日
|
||
|
///</summary>
|
||
|
public class FrameWorkModel : QDGModel
|
||
|
{
|
||
|
|
||
|
public FrameWorkModel()
|
||
|
{
|
||
|
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){ BindExpandRow(rowIndex, rowData); }");
|
||
|
|
||
|
|
||
|
//不可缺少
|
||
|
//获取表皮产品下投料明细ACTION
|
||
|
GETDETAILINFO = @"/FrameWork/GetProductInfectionList?PID=";
|
||
|
|
||
|
//修改表皮产品下投料名称批次ACTION
|
||
|
SAVEURL = @"/FrameWork/Save";
|
||
|
}
|
||
|
|
||
|
///<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)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 70, 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 = 150, 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 = 100, DataAlign = DataAlign.center)]
|
||
|
public string MACHINENAME { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///设备编码
|
||
|
///</summary>
|
||
|
[Description("设备编码")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string MACHINECODDE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///物料类别
|
||
|
///</summary>
|
||
|
[Description("物料类别")]
|
||
|
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
||
|
//[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 70, 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 = 70, 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>
|
||
|
///当前工序(0:搪塑 1:骨架注塑 2:气囊支架注塑 3:风道注塑 4:中控之间注塑 5:HUD风道注塑 5:冷刀弱化 6:火焰加工 7:预热 8:浇注 9:红外扫描 10:冲切 11:铣削 12:铆接 13:超时波焊接 14:红外焊接 15:总成装配)
|
||
|
//////</summary>
|
||
|
[Description("当前工序")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=PROCESSTYPE")]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.left)]
|
||
|
public string CURRENTPROCESS { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///生产线
|
||
|
///</summary>
|
||
|
[Description("生产线")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string PRODUCELINE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///班次信息名称
|
||
|
///</summary>
|
||
|
[Description("班次信息名称")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string PRODUCESHIFTNAME { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///班次信息编号
|
||
|
///</summary>
|
||
|
[Description("班次信息编号")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string PRODUCESHIFTTCODE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///出库标记(0:在库 1:发货 2.异常出库)
|
||
|
///</summary>
|
||
|
[Description("出库标记")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.center)]
|
||
|
public string OUTFLAG { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///使用状态(0:未使用 1:使用中 2:使用完成)
|
||
|
///</summary>
|
||
|
[Description("使用状态")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=USINGSTATE")]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.left)]
|
||
|
public string USINGSTATE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///实际容量
|
||
|
///</summary>
|
||
|
[Description("实际容量")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
||
|
[InputType(inputType.text)]
|
||
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.right)]
|
||
|
public int CAPACITY { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///使用容量
|
||
|
///</summary>
|
||
|
[Description("使用数量")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
||
|
[InputType(inputType.text)]
|
||
|
//DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.right)]
|
||
|
public int USINGCOUNT { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///创建用户
|
||
|
///</summary>
|
||
|
[Description("创建用户")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string CREATEUSER { 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 CREATEDATE { get; set; }
|
||
|
|
||
|
[Description("创建日期")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
|
||
|
[InputType(inputType.dateTimeBox)]
|
||
|
public string STARTCREATEDATE { get; set; }
|
||
|
|
||
|
[Description("至")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
|
||
|
[InputType(inputType.dateTimeBox)]
|
||
|
public string ENDCREATEDATE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///更新用户
|
||
|
///</summary>
|
||
|
[Description("更新用户")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string UPDATEUSER { 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 UPDATEDATE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///物料码
|
||
|
///</summary>
|
||
|
[Description("物料号")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
public string MATERIALCODE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///批次号
|
||
|
///</summary>
|
||
|
[Description("批次号")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string MATERIALBATCH { get; set; }
|
||
|
|
||
|
[InputType(inputType.hidden)]
|
||
|
public string PRODUCTINID { get; set; }
|
||
|
|
||
|
[InputType(inputType.hidden)]
|
||
|
public string PRODUCTID { get; set; }
|
||
|
|
||
|
[InputType(inputType.hidden)]
|
||
|
public string GETDETAILINFO { get; set; }
|
||
|
|
||
|
[InputType(inputType.hidden)]
|
||
|
public string SAVEURL { get; set; }
|
||
|
|
||
|
}
|
||
|
}
|