2022-11-25 焊接材料匹配任务清单树优化
This commit is contained in:
@@ -37,6 +37,9 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
if (!IsPostBack)
|
||||
{
|
||||
PipeArea = Request.Params["PipeArea"];
|
||||
HJGL_MaterialService.materialStockItems_FIELD = new List<Model.MaterialStockItem>();
|
||||
HJGL_MaterialService.materialStockItems_SHOP = new List<Model.MaterialStockItem>();
|
||||
|
||||
this.InitTreeMenu();//加载树
|
||||
}
|
||||
}
|
||||
@@ -159,6 +162,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
pipeline= pipeline.Where(x => x.PipelineCode.Contains(txtPipelineCode.Text.Trim())).ToList();
|
||||
}
|
||||
|
||||
foreach (var item in pipeline)
|
||||
{
|
||||
//var jotCount = (from x in Funs.DB.HJGL_WeldJoint where x.PipelineId == item.PipelineId && x.IsTwoJoint == null select x).Count();
|
||||
|
||||
Reference in New Issue
Block a user