修改质量验收穿透数据统计
This commit is contained in:
@@ -41,6 +41,7 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
if (!IsPostBack)
|
||||
{
|
||||
Funs.FineUIPleaseSelect(this.drpControlPoint);
|
||||
Funs.FineUIPleaseSelect(this.drpCheckAcceptType);
|
||||
WorkPackageCode = Request.Params["WorkPackageCode"];
|
||||
var workPackage = BLL.WorkPackageProjectService.GetWorkPackageProjectByWorkPackageCode(WorkPackageCode, this.CurrUser.LoginProjectId);
|
||||
if (workPackage.ProjectType == "1") //建筑工程
|
||||
@@ -93,6 +94,10 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
{
|
||||
this.txtWeights.Text = controlItem.Weights.ToString();
|
||||
}
|
||||
if (!string.IsNullOrEmpty(controlItem.CheckAcceptType))
|
||||
{
|
||||
this.drpCheckAcceptType.SelectedValue = controlItem.CheckAcceptType;
|
||||
}
|
||||
this.txtHGForms.Text = controlItem.HGForms;
|
||||
this.txtSHForms.Text = controlItem.SHForms;
|
||||
this.txtStandard.Text = controlItem.Standard;
|
||||
@@ -122,6 +127,10 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
{
|
||||
newControlItemProject.Weights = Convert.ToDecimal(this.txtWeights.Text.Trim());
|
||||
}
|
||||
if (this.drpCheckAcceptType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
newControlItemProject.CheckAcceptType = this.drpCheckAcceptType.SelectedValue;
|
||||
}
|
||||
newControlItemProject.HGForms = this.txtHGForms.Text.Trim();
|
||||
newControlItemProject.SHForms = this.txtSHForms.Text.Trim();
|
||||
newControlItemProject.Standard = this.txtStandard.Text.Trim();
|
||||
|
||||
Reference in New Issue
Block a user