库位表重新生成,一些数据使用enum type status

加上数据权限zoneCode
This commit is contained in:
zhougf committed 2025-04-30 19:59:47 +08:00
1 parent b0a6dcc035
commit b005422b01
25 files changed
+361 -541

No files matched your search

@@ -1,46 +1,39 @@
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using HHWMS.Web.Models;
namespace HHWMS.Web
{
public partial class LocationSearcher : BaseSearcher
{
public List<ComboSelectListItem> AllLocationZones { get; set; }
[Display(Name = "Location.ZoneCode")]
public int? LocationZoneId { get; set; }
[Display(Name = "Location.Code")]
public String Code { get; set; }
[Display(Name = "Location.Type")]
public String Type { get; set; }
public LocationTypeEnum? Type { get; set; }
[Display(Name = "Location.Status")]
public String Status { get; set; }
[Display(Name = "Location.Row")]
public Int16? Row { get; set; }
[Display(Name = "Location.Line")]
public Int16? Line { get; set; }
[Display(Name = "Location.Layer")]
public Int16? Layer { get; set; }
public LocationStatusEnum? Status { get; set; }
[Display(Name = "Location.RoadWay")]
public Int16? RoadWay { get; set; }
[Display(Name = "Location.RowFlag")]
public RowFlagEnum? RowFlag { get; set; }
[Display(Name = "Location.ContainerCode")]
public String ContainerCode { get; set; }
[Display(Name = "Location.ZoneCode")]
public String ZoneCode { get; set; }
[Display(Name = "Location.IsStop")]
public Boolean? IsStop { get; set; }
[Display(Name = "Location.ContiguousCode")]
public String ContiguousCode { get; set; }
protected override void InitVM()
{
AllLocationZones = DC.Set<LocationZone>().GetSelectListItems(Wtm, y => y.Name);
}
}
}