焊接材料管理修改

This commit is contained in:
2024-09-28 16:59:44 +08:00
parent 4686441406
commit a7205a984d
35 changed files with 924 additions and 152 deletions
@@ -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