20241010
This commit is contained in:
@@ -181,7 +181,7 @@ namespace FineUIPro.Web.EditorManage
|
||||
strSql += " AND ProjectControl_JobType=@JobType ";
|
||||
listStr.Add(new SqlParameter("@JobType", this.drpJobType.SelectedItem.Text));
|
||||
}
|
||||
if (this.drpJobStatus.SelectedValue != BLL.Const._Null)
|
||||
if (this.drpJobStatus.SelectedValue != BLL.Const._Null && this.drpJobStatus.SelectedValue != null)
|
||||
{
|
||||
strSql += " AND ProjectControl_JobStatus=@Status ";
|
||||
listStr.Add(new SqlParameter("@Status", this.drpJobStatus.SelectedItem.Text));
|
||||
@@ -338,6 +338,19 @@ namespace FineUIPro.Web.EditorManage
|
||||
#endregion
|
||||
|
||||
#region 查询
|
||||
protected void drpJobType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.drpJobStatus.Items.Clear();
|
||||
if (drpJobType.SelectedText == "Other")
|
||||
{
|
||||
BLL.ConstService.InitConstValueProjectStatus(this.drpJobStatus, BLL.Const.ProjectPlanner_JobStatus, "3", true);
|
||||
}
|
||||
if (drpJobType.SelectedText != "Other")
|
||||
{
|
||||
BLL.ConstService.InitConstValueProjectStatus(this.drpJobStatus, BLL.Const.ProjectPlanner_JobStatus, "2", true);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 下拉框选择事件
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user