测试
This commit is contained in:
1 parent
3467d4aa9d
commit
820d9d065b
27 files changed
+249
-59
No files matched your search
@@ -62,13 +62,13 @@ namespace HHWMS.Web
|
||||
this.MakeGridHeader(x => x.Row),
|
||||
this.MakeGridHeader(x => x.Line),
|
||||
this.MakeGridHeader(x => x.Layer),
|
||||
this.MakeGridHeader(x => x.RoadWay),
|
||||
this.MakeGridHeader(x => x.RoadWay).SetHide(),
|
||||
this.MakeGridHeader(x => x.ContainerCode),
|
||||
this.MakeGridHeader(x => x.IsStop),
|
||||
this.MakeGridHeader(x => x.Length),
|
||||
this.MakeGridHeader(x => x.Width),
|
||||
this.MakeGridHeader(x => x.Height),
|
||||
this.MakeGridHeader(x => x.ContiguousCode),
|
||||
this.MakeGridHeader(x => x.Length).SetHide(),
|
||||
this.MakeGridHeader(x => x.Width).SetHide(),
|
||||
this.MakeGridHeader(x => x.Height).SetHide(),
|
||||
this.MakeGridHeader(x => x.ContiguousCode).SetHide(),
|
||||
this.MakeGridHeaderAction(width: 200)
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,6 +9,8 @@ namespace HHWMS.Web
|
||||
{
|
||||
public partial class LocationVM : BaseCRUDVM<Location>
|
||||
{
|
||||
public InventoryListVM Inventorys { get; set; } = new InventoryListVM();
|
||||
|
||||
[Display(Name = "Location.BeginLine", Description = "起始列")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public short BeginLine { get; set; }
|
||||
@@ -34,6 +36,9 @@ namespace HHWMS.Web
|
||||
|
||||
protected override void InitVM()
|
||||
{
|
||||
Inventorys.CopyContext(this);
|
||||
Inventorys.Searcher.LocationCode = Entity.Code;
|
||||
|
||||
_unitWork = new UnitWork(Wtm);
|
||||
var CurrentCulture = Wtm.CurrentCulture;
|
||||
var dictDatas = DC.Set<SysDictData>().ToList();
|
||||
|
||||
Reference in new issue
Block a user