This commit is contained in:
高飞 2024-04-29 09:50:19 +08:00
commit 7a51a9642f
1 changed files with 13 additions and 9 deletions

View File

@ -1055,6 +1055,8 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
{
DataTable source = ObjectToTable(Grid9.DataSource);
int Quantity1Total = 0, Quantity2Total = 0;
if (source!=null)
{
foreach (DataRow row in source.Rows)
{
Quantity1Total += Convert.ToInt32(row["Quantity1"]);
@ -1068,6 +1070,8 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
Grid9.SummaryData = summary;
}
}
public static DataTable ObjectToTable(object obj)
{
try