测试
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();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@model HHWMS.Web.LocationVM
|
||||
@model HHWMS.Web.LocationVM
|
||||
@inject IStringLocalizer<Program> Localizer;
|
||||
|
||||
<wt:form vm="@Model">
|
||||
@@ -18,6 +18,9 @@
|
||||
<wt:display field="Entity.Height" />
|
||||
<wt:display field="Entity.ContiguousCode" />
|
||||
</wt:row>
|
||||
|
||||
<wt:grid vm="@Model.Inventorys" height="300" hidden-checkbox="true" hidden-grid-index="true" use-local-data="true" hidden-panel="true"/>
|
||||
|
||||
<wt:row align="AlignEnum.Right">
|
||||
<wt:closebutton />
|
||||
</wt:row>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
<wt:searchpanel vm="@Model" reset-btn="true">
|
||||
<wt:row items-per-row="ItemsPerRowEnum.Three">
|
||||
<wt:combobox field="Searcher.ZoneCode" items="ZoneCodes" />
|
||||
<wt:textbox field="Searcher.Code" />
|
||||
<wt:combobox field="Searcher.Type" items="Types" />
|
||||
<wt:combobox field="Searcher.Status" items="LocationStatus" />
|
||||
@@ -11,9 +12,8 @@
|
||||
<wt:textbox field="Searcher.Layer" />
|
||||
<wt:textbox field="Searcher.RoadWay" />
|
||||
<wt:textbox field="Searcher.ContainerCode" />
|
||||
<wt:combobox field="Searcher.ZoneCode" items="ZoneCodes" />
|
||||
<wt:combobox field="Searcher.IsStop" empty-text="@Localizer["Sys.All"]" />
|
||||
<wt:textbox field="Searcher.ContiguousCode" />
|
||||
@*<wt:textbox field="Searcher.ContiguousCode" />*@
|
||||
</wt:row>
|
||||
</wt:searchpanel>
|
||||
<wt:grid vm="@Model" url="/configs/Location/Search"/>
|
||||
Reference in new issue
Block a user