添加工序配置
修改入库页面,任务完成,库存页面等
This commit is contained in:
1 parent
c2b039ea47
commit
5a04ca9d59
41 files changed
+1151
-84
No files matched your search
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using HHWMS.Web.Models;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
@@ -40,6 +42,7 @@ namespace HHWMS.Web
|
||||
{
|
||||
InitVM();
|
||||
return new List<GridColumn<Container_View>>{
|
||||
this.MakeGridHeader(x => x.Name_view).SetWidth(80),
|
||||
this.MakeGridHeader(x => x.Code),
|
||||
this.MakeGridHeader(x => x.Type)
|
||||
.SetFormat((a, b) =>
|
||||
@@ -65,6 +68,7 @@ namespace HHWMS.Web
|
||||
public override IOrderedQueryable<Container_View> GetSearchQuery()
|
||||
{
|
||||
var query = DC.Set<Container>()
|
||||
.CheckEqual(Searcher.ZoneId, x=>x.ZoneId)
|
||||
.CheckContain(Searcher.Code, x => x.Code)
|
||||
.CheckContain(Searcher.Type, x => x.Type)
|
||||
.CheckEqual(Searcher.IsLock, x => x.IsLock)
|
||||
@@ -73,8 +77,10 @@ namespace HHWMS.Web
|
||||
.CheckEqual(Searcher.Length, x => x.Length)
|
||||
.CheckEqual(Searcher.Width, x => x.Width)
|
||||
.CheckEqual(Searcher.Height, x => x.Height)
|
||||
.DPWhere(Wtm,x => x.ZoneId)
|
||||
.Select(x => new Container_View
|
||||
{
|
||||
Name_view = x.Zone.Name,
|
||||
ID = x.ID,
|
||||
Code = x.Code,
|
||||
Type = x.Type,
|
||||
@@ -92,5 +98,7 @@ namespace HHWMS.Web
|
||||
|
||||
public class Container_View : Container
|
||||
{
|
||||
[Display(Name = "Location.ZoneName")]
|
||||
public String Name_view { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user