预制组件编号不能为空,无损监测委托单排序混乱,散件出库时对于已出散件需要过滤,新增时不再显示。
This commit is contained in:
@@ -228,6 +228,9 @@ namespace FineUIPro.Web.CLGL
|
||||
&& y.UnitWorkId == this.UnitWorkId
|
||||
&& y.PipelineId == this.tvControlItem.SelectedNodeID
|
||||
&& (x.PrefabricatedComponents==null||x.PrefabricatedComponents=="")
|
||||
|
||||
|
||||
|
||||
select new
|
||||
{
|
||||
x.PipeLineMatId,
|
||||
@@ -250,7 +253,8 @@ namespace FineUIPro.Web.CLGL
|
||||
|
||||
}
|
||||
var inoutplandetail = (from x in Funs.DB.Tw_InOutPlanDetail_Relation
|
||||
where x.InOutPlanMasterId == Id && x.PipelineId == this.tvControlItem.SelectedNodeID
|
||||
//where x.InOutPlanMasterId == Id && x.PipelineId == this.tvControlItem.SelectedNodeID
|
||||
where x.PipelineId == this.tvControlItem.SelectedNodeID
|
||||
select x).ToList();
|
||||
|
||||
// 优化 Linq 过滤条件
|
||||
@@ -261,6 +265,8 @@ namespace FineUIPro.Web.CLGL
|
||||
select x).ToList();
|
||||
|
||||
|
||||
|
||||
|
||||
Grid1.RecordCount = tb.Count;
|
||||
Grid1.DataSource = tb;
|
||||
Grid1.DataBind();
|
||||
|
||||
Reference in New Issue
Block a user