代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -48,9 +48,9 @@ namespace FineUIPro.Web.ZHGL.Information
|
||||
ddlQuarter.DataValueField = "ConstValue";
|
||||
ddlQuarter.DataSource = BLL.ConstValue.drpConstItemList(ConstValue.Group_0011);
|
||||
ddlQuarter.DataBind();
|
||||
|
||||
|
||||
this.ddlUnitId.Readonly = true;
|
||||
string unitId = Request.Params["UnitId"];
|
||||
string unitId = Request.Params["UnitId"];
|
||||
string year = Request.QueryString["Year"];
|
||||
string quarter = Request.QueryString["Quarter"];
|
||||
this.QuarterlyProjectQualityId = Request.Params["QuarterlyProjectQualityId"];
|
||||
@@ -69,8 +69,8 @@ namespace FineUIPro.Web.ZHGL.Information
|
||||
if (!string.IsNullOrEmpty(quarterlyProjectQuality.UnitId))
|
||||
{
|
||||
this.ddlUnitId.SelectedValue = quarterlyProjectQuality.UnitId;
|
||||
BLL.Person_PersonsService.InitFlowOperateControlUserDropDownList(this.ddlResponsiblePerson, this.ddlUnitId.SelectedValue,"", true);
|
||||
BLL.Person_PersonsService.InitFlowOperateControlUserDropDownList(this.ddlCompileMan, this.ddlUnitId.SelectedValue,"", true);
|
||||
BLL.Person_PersonsService.InitFlowOperateControlUserDropDownList(this.ddlResponsiblePerson, this.ddlUnitId.SelectedValue, "", true);
|
||||
BLL.Person_PersonsService.InitFlowOperateControlUserDropDownList(this.ddlCompileMan, this.ddlUnitId.SelectedValue, "", true);
|
||||
|
||||
}
|
||||
if (quarterlyProjectQuality.Year.HasValue)
|
||||
@@ -129,8 +129,8 @@ namespace FineUIPro.Web.ZHGL.Information
|
||||
this.btnCopy.Hidden = false;
|
||||
this.ddlUnitId.SelectedValue = unitId;
|
||||
|
||||
BLL.Person_PersonsService.InitFlowOperateControlUserDropDownList(this.ddlResponsiblePerson, this.ddlUnitId.SelectedValue,"", true);
|
||||
BLL.Person_PersonsService.InitFlowOperateControlUserDropDownList(this.ddlCompileMan, this.ddlUnitId.SelectedValue,"", true);
|
||||
BLL.Person_PersonsService.InitFlowOperateControlUserDropDownList(this.ddlResponsiblePerson, this.ddlUnitId.SelectedValue, "", true);
|
||||
BLL.Person_PersonsService.InitFlowOperateControlUserDropDownList(this.ddlCompileMan, this.ddlUnitId.SelectedValue, "", true);
|
||||
|
||||
this.ddlYearId.SelectedValue = year;
|
||||
this.ddlQuarter.SelectedValue = quarter;
|
||||
@@ -272,7 +272,7 @@ namespace FineUIPro.Web.ZHGL.Information
|
||||
YearDirectEconomicLoss = Funs.GetNewInt(this.txtYearDirectEconomicLoss.Text.Trim()),
|
||||
Tel = this.txtTel.Text.Trim()
|
||||
};
|
||||
if (this.ddlUnitId.SelectedValue!=BLL.Const._Null)
|
||||
if (this.ddlUnitId.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
quarterlyProjectQuality.UnitId = this.ddlUnitId.SelectedValue;
|
||||
}
|
||||
@@ -297,7 +297,7 @@ namespace FineUIPro.Web.ZHGL.Information
|
||||
|
||||
if (string.IsNullOrEmpty(this.QuarterlyProjectQualityId))
|
||||
{
|
||||
var s = BLL.QuarterlyProjectQualityService.GetQuarterlyProjectQualityByUnitIdAndYearAndQuarter(this.ddlUnitId.SelectedValue, Funs.GetNewIntOrZero(this.ddlYearId.SelectedValue),Funs.GetNewIntOrZero(this.ddlQuarter.SelectedValue));
|
||||
var s = BLL.QuarterlyProjectQualityService.GetQuarterlyProjectQualityByUnitIdAndYearAndQuarter(this.ddlUnitId.SelectedValue, Funs.GetNewIntOrZero(this.ddlYearId.SelectedValue), Funs.GetNewIntOrZero(this.ddlQuarter.SelectedValue));
|
||||
if (s != null)
|
||||
{
|
||||
ShowNotify("该单位的该季度工程项目质量信息表已经存在,不能重复编制!", MessageBoxIcon.Warning);
|
||||
@@ -351,12 +351,12 @@ namespace FineUIPro.Web.ZHGL.Information
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.ddlUnitId.SelectedValue==BLL.Const._Null)
|
||||
if (this.ddlUnitId.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择单位", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (this.ddlYearId.SelectedValue==BLL.Const._Null)
|
||||
if (this.ddlYearId.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择年度", MessageBoxIcon.Warning);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user