焊接材料管理修改
This commit is contained in:
@@ -113,14 +113,18 @@ namespace FineUIPro.Web.CLGL
|
||||
Grid3.DataSource = tb;
|
||||
Grid3.DataBind();
|
||||
|
||||
if (tb!= null && tb.Count > 0)
|
||||
{
|
||||
string Rate = Math.Round((decimal)tb.Average(item => item.MatchRate) * 100, 2).ToString() + "%";
|
||||
|
||||
string Rate = Math.Round((decimal)tb.Average(item => item.MatchRate) * 100, 2).ToString() + "%";
|
||||
JObject summary = new JObject();
|
||||
//summary.Add("Major", "全部合计");
|
||||
summary.Add("MatchRateString", Rate);
|
||||
|
||||
JObject summary = new JObject();
|
||||
//summary.Add("Major", "全部合计");
|
||||
summary.Add("MatchRateString", Rate);
|
||||
Grid3.SummaryData = summary;
|
||||
}
|
||||
|
||||
Grid3.SummaryData = summary;
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user