材料管理修改
This commit is contained in:
@@ -318,6 +318,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
Rate = Math.Round((decimal)output.Average(item => item.MatchRate) * 100, 2);
|
||||
lbRate.Text = "匹配率:" + Rate.ToString() + "%";
|
||||
}
|
||||
var selectList = new List<string>() ;
|
||||
for (int i = 0; i < Grid2.Rows.Count; i++)
|
||||
{
|
||||
var model = Grid2.Rows[i].DataItem as Tw_PipeMatMatchOutput;
|
||||
@@ -327,6 +328,8 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
if (model.MatchRate >=1)
|
||||
{
|
||||
Grid2.Rows[i].RowCssClass = "green";
|
||||
selectList.Add(model.PipelineId);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -334,6 +337,10 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
}
|
||||
|
||||
}
|
||||
if (cbSelectCom.Checked)
|
||||
{
|
||||
Grid2.SelectedRowIDArray= selectList.ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
void BindGrid3()
|
||||
|
||||
Reference in New Issue
Block a user