修改质量验收穿透数据统计

This commit is contained in:
2023-07-21 14:51:05 +08:00
parent 500cb73a84
commit df904cd642
41 changed files with 774 additions and 73 deletions
@@ -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.WorkPackageInitService.GetWorkPackageInitByWorkPackageCode(WorkPackageCode);
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;
@@ -117,6 +122,10 @@ namespace FineUIPro.Web.CQMS.WBS
{
newControlItem.Weights = Convert.ToDecimal(this.txtWeights.Text.Trim());
}
if (this.drpCheckAcceptType.SelectedValue != BLL.Const._Null)
{
newControlItem.CheckAcceptType = this.drpCheckAcceptType.SelectedValue;
}
newControlItem.HGForms = this.txtHGForms.Text.Trim();
newControlItem.SHForms = this.txtSHForms.Text.Trim();
newControlItem.Standard = this.txtStandard.Text.Trim();