11
This commit is contained in:
@@ -87,7 +87,7 @@ namespace FineUIPro.Web.ManHours
|
||||
{
|
||||
JobType = this.drpJobType.SelectedValue;
|
||||
}
|
||||
if (this.drpJobStatus.SelectedValue != BLL.Const._Null)
|
||||
if (this.drpJobStatus.SelectedValue != BLL.Const._Null && this.drpJobStatus.SelectedValue != null)
|
||||
{
|
||||
JobStatus = this.drpJobStatus.SelectedValue;
|
||||
}
|
||||
@@ -155,6 +155,16 @@ namespace FineUIPro.Web.ManHours
|
||||
/// <param name="e"></param>
|
||||
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);
|
||||
}
|
||||
|
||||
if (hidpersonnel.Text == "D@" + BLL.Const.CTE_DepartId)
|
||||
{
|
||||
BindGrid("");
|
||||
|
||||
Reference in New Issue
Block a user