|
|
@@ -110,7 +110,7 @@ namespace Dongke.IBOSS.PRD.Client.ReportModule
|
|
|
/// <param name="e"></param>
|
|
|
private void tsbtnAdaptive_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
- this.dgvRptProcedure.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells);
|
|
|
+ this.dgvRptProcedure.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -163,7 +163,7 @@ namespace Dongke.IBOSS.PRD.Client.ReportModule
|
|
|
private void btnClearCondition_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
//this.dropKilnCode.Text = string.Empty;
|
|
|
- this.dropKilnCode.SelectedIndex = 0;
|
|
|
+ this.dropKilnCode.SelectedIndex = 0;
|
|
|
//this.dkGoodsSearchBox.ClearControl();
|
|
|
//this.dkGoodsTypeSearchBox.ClearControl();
|
|
|
//this.dkproductionLineSearchBox.ClearControl();
|
|
|
@@ -180,7 +180,7 @@ namespace Dongke.IBOSS.PRD.Client.ReportModule
|
|
|
#endregion
|
|
|
|
|
|
#region 私有方法
|
|
|
-
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 根据界面查询条件获取数据集
|
|
|
/// </summary>
|
|
|
@@ -254,7 +254,7 @@ namespace Dongke.IBOSS.PRD.Client.ReportModule
|
|
|
throw ex;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 绑定下拉列表值
|
|
|
/// </summary>
|
|
|
@@ -383,7 +383,10 @@ namespace Dongke.IBOSS.PRD.Client.ReportModule
|
|
|
{
|
|
|
CJProcedure.Append(item["FINISHEDCHECKPROCEDUREID"].ToString() + ",");
|
|
|
}
|
|
|
- this.dkCJProcedureSearchBox.Purview = CJProcedure.ToString().Substring(Constant.INT_IS_ZERO, CJProcedure.Length - 1);
|
|
|
+ if (CJProcedure.Length > 0)
|
|
|
+ {
|
|
|
+ this.dkCJProcedureSearchBox.Purview = CJProcedure.ToString().Substring(Constant.INT_IS_ZERO, CJProcedure.Length - 1);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
else
|
|
|
@@ -406,7 +409,10 @@ namespace Dongke.IBOSS.PRD.Client.ReportModule
|
|
|
{
|
|
|
CJProcedure.Append(item["FINISHEDCHECKPROCEDUREID"].ToString() + ",");
|
|
|
}
|
|
|
- this.dkCJProcedureSearchBox.Purview = CJProcedure.ToString().Substring(Constant.INT_IS_ZERO, CJProcedure.Length - 1);
|
|
|
+ if (CJProcedure.Length > 0)
|
|
|
+ {
|
|
|
+ this.dkCJProcedureSearchBox.Purview = CJProcedure.ToString().Substring(Constant.INT_IS_ZERO, CJProcedure.Length - 1);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|