修改
This commit is contained in:
1 parent
523dee5e38
commit
f9bf7be066
12 files changed
+635
-42
No files matched your search
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
@@ -34,8 +34,10 @@ namespace HHWMS.Web
|
||||
public ExcelPropety Status_Excel = ExcelPropety.CreateProperty<TaskHeader>(x => x.Status);
|
||||
[Display(Name = "Task.ErrorMsg")]
|
||||
public ExcelPropety ErrorMsg_Excel = ExcelPropety.CreateProperty<TaskHeader>(x => x.ErrorMsg);
|
||||
[Display(Name = "Task.CreateTime")]
|
||||
public ExcelPropety CreateTime_Excel = ExcelPropety.CreateProperty<TaskHeader>(x => x.CreateTime);
|
||||
|
||||
protected override void InitVM()
|
||||
protected override void InitVM()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -57,16 +57,20 @@ namespace HHWMS.Web
|
||||
{
|
||||
string rv = UIService.MakeScriptButton(ButtonTypesEnum.Link,a.TaskNo,$"details('{a.ID}')");
|
||||
return rv;
|
||||
}),
|
||||
this.MakeGridHeader(x => x.TaskType),
|
||||
this.MakeGridHeader(x => x.FromLocation),
|
||||
this.MakeGridHeader(x => x.ToLocation),
|
||||
this.MakeGridHeader(x => x.Station),
|
||||
this.MakeGridHeader(x => x.ContainerCode),
|
||||
this.MakeGridHeader(x => x.RoadWay),
|
||||
this.MakeGridHeader(x => x.Priority),
|
||||
this.MakeGridHeader(x => x.Status),
|
||||
this.MakeGridHeader(x => x.ErrorMsg),
|
||||
}).SetWidth(150),
|
||||
this.MakeGridHeader(x => x.TaskType,150),
|
||||
this.MakeGridHeader(x => x.FromLocation,150),
|
||||
this.MakeGridHeader(x => x.ToLocation, 150),
|
||||
this.MakeGridHeader(x => x.Station,150),
|
||||
this.MakeGridHeader(x => x.ContainerCode, 150),
|
||||
this.MakeGridHeader(x => x.RoadWay, 150),
|
||||
this.MakeGridHeader(x => x.Priority, 150),
|
||||
this.MakeGridHeader(x => x.Status, 150),
|
||||
this.MakeGridHeader(x => x.ErrorMsg, 150),
|
||||
this.MakeGridHeader(x => x.CreateTime, 150),
|
||||
this.MakeGridHeader(x => x.CreateBy, 150),
|
||||
this.MakeGridHeader(x => x.UpdateTime, 150),
|
||||
this.MakeGridHeader(x => x.UpdateBy, 150),
|
||||
this.MakeGridHeaderAction(width: 200)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user