This commit is contained in:
zgf committed 2023-08-12 20:54:55 +08:00
1 parent 3467d4aa9d
commit 820d9d065b
27 files changed
+249 -59

No files matched your search

@@ -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();