|
|
@ -102,9 +102,20 @@ namespace Mesnac.Action.ChemicalWeighing.Report.DryMixer
|
|
|
|
dbHelper.AddParameter("@reportId", lR_planID);
|
|
|
|
dbHelper.AddParameter("@reportId", lR_planID);
|
|
|
|
DataTable table = dbHelper.ToDataTable();
|
|
|
|
DataTable table = dbHelper.ToDataTable();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string bathNo = "";
|
|
|
|
|
|
|
|
|
|
|
|
foreach (DataRow row in table.Rows)
|
|
|
|
foreach (DataRow row in table.Rows)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
string a= row["批次号"].ToString().Trim();
|
|
|
|
|
|
|
|
if (a != "0")
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
bathNo = a;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
row["批次号"] = bathNo;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
row["实际重量"]= Convert.ToSingle(row["实际重量"]).ToString("#0.00");
|
|
|
|
row["实际重量"]= Convert.ToSingle(row["实际重量"]).ToString("#0.00");
|
|
|
|
row["实际公差"] = Convert.ToSingle(row["实际公差"]).ToString("#0.00");
|
|
|
|
row["实际公差"] = Convert.ToSingle(row["实际公差"]).ToString("#0.00");
|
|
|
|
}
|
|
|
|
}
|
|
|
|