|
|
@ -172,6 +172,24 @@ namespace ProductionSystem.Forms.SystemSetting
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 测试步骤下拉框Change事件
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <param name="sender"></param>
|
|
|
|
|
|
|
|
/// <param name="e"></param>
|
|
|
|
|
|
|
|
private void cmbTestStepCategory_SelectedIndexChanged(object sender, EventArgs e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var testStepCategory = (cmbProductType.EditValue).ToString();
|
|
|
|
|
|
|
|
var maxSortIndex = _paraColumnConfigService.QueryTestStepColumnByProductType(testStepCategory);
|
|
|
|
|
|
|
|
var dataArr = maxSortIndex.ConvertAll(x => new ListItem(x.TestName,x.Id));
|
|
|
|
|
|
|
|
//comboBoxEdit1.Properties.Items.Clear();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//comboBoxEdit1.Properties.Items.AddRange(dataArr);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//comboBoxEdit1.SelectedIndex = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|