添加库存查询条件

入库保存时,依据容器的code,并不是前端传递的code
This commit is contained in:
zhougf committed 2026-03-07 11:26:25 +08:00
1 parent 38c126c7b7
commit 17b3236989
4 files changed
+12 -4

No files matched your search

@@ -110,6 +110,7 @@ namespace HHWMS.Web
var query = DC.Set<Inventory>()
.CheckContain(Searcher.ZoneCode, x => x.ZoneCode)
.CheckContain(Searcher.LocationCode, x => x.LocationCode)
.CheckContain(Searcher.ContainerCode, x => x.ContainerCode)
.CheckContain(Searcher.MaterialCode, x => x.MaterialCode)
.CheckContain(Searcher.MaterialType, x => x.MaterialType)
.CheckContain(Searcher.MaterialName, x => x.MaterialName)
@@ -14,8 +14,12 @@ namespace HHWMS.Web
{
[Display(Name = "Task.ZoneCode")]
public String ZoneCode { get; set; }
[Display(Name = "Inventory.LocationCode")]
[Display(Name = "Container.LocationCode")]
public String LocationCode { get; set; }
[Display(Name = "Task.ContainerCode")]
public String ContainerCode { get; set; }
[Display(Name = "Inventory.UniqueCode")]
public String UniqueCode { get; set; }
[Display(Name = "Inventory.MaterialCode")]