|
|
|
@ -37,7 +37,7 @@ namespace Mesnac.Action.ChemicalWeighing.Report.DryMixer
|
|
|
|
|
|
|
|
|
|
this._clientGridControl = GetAllControls().Where(x => x.Name.Contains("MultiColHeaderDgv1")).FirstOrDefault();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mesnac.Controls.Default.MultiColHeaderDgv clientGrid = (this._clientGridControl as Mesnac.Controls.Default.MultiColHeaderDgv);
|
|
|
|
|
|
|
|
|
@ -90,10 +90,10 @@ namespace Mesnac.Action.ChemicalWeighing.Report.DryMixer
|
|
|
|
|
|
|
|
|
|
//获取明细数据
|
|
|
|
|
StringBuilder sqlStr = new StringBuilder(@"select t1.batch as 批次号,t2.MName as 物料,
|
|
|
|
|
t1.actValue as 实际重量,t1.actToler as 实际公差
|
|
|
|
|
from Report_DryDos_Detail t1
|
|
|
|
|
left join lj_stock_material t2 on t1.matCode = t2.Code
|
|
|
|
|
where t2.MTypeId=1 and t1.reportId = @reportId");
|
|
|
|
|
t1.actValue as 实际重量,t1.actToler as 实际公差
|
|
|
|
|
from Report_DryDos_Detail t1
|
|
|
|
|
left join lj_stock_material t2 on t1.matCode = t2.Code
|
|
|
|
|
where t2.MTypeId=1 and t1.reportId = @reportId");
|
|
|
|
|
dbHelper.CommandText = sqlStr.ToString();
|
|
|
|
|
dbHelper.CommandType = System.Data.CommandType.Text;
|
|
|
|
|
dbHelper.AddParameter("@reportId", lR_planID);
|
|
|
|
@ -108,7 +108,7 @@ t1.actValue as 实际重量,t1.actToler as 实际公差
|
|
|
|
|
|
|
|
|
|
dbHelper.CommandText = sql.ToString();
|
|
|
|
|
dbHelper.CommandType = System.Data.CommandType.Text;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DataTable tableB = dbHelper.ToDataTable();
|
|
|
|
|
|
|
|
|
|
clientGrid2.DataSource = tableB;
|
|
|
|
|