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

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
@@ -42,6 +42,7 @@ namespace FineUIPro.Web.CQMS.WBS
{
//Funs.FineUIPleaseSelect(this.drpControlPoint);
WorkPackageId = Request.Params["WorkPackageId"];
Funs.FineUIPleaseSelect(this.drpCheckAcceptType);
var workPackage = BLL.WorkPackageService.GetWorkPackageByWorkPackageId(WorkPackageId);
if (workPackage.ProjectType == "1") //建筑工程
{
@@ -93,6 +94,10 @@ namespace FineUIPro.Web.CQMS.WBS
{
this.txtWeights.Text = controlItemAndCycle.Weights.ToString();
}
if (!string.IsNullOrEmpty(controlItemAndCycle.CheckAcceptType))
{
this.drpCheckAcceptType.SelectedValue = controlItemAndCycle.CheckAcceptType;
}
this.txtHGForms.Text = controlItemAndCycle.HGForms;
this.txtSHForms.Text = controlItemAndCycle.SHForms;
this.txtStandard.Text = controlItemAndCycle.Standard;
@@ -127,6 +132,10 @@ namespace FineUIPro.Web.CQMS.WBS
{
newControlItemAndCycle.Weights = Convert.ToDecimal(this.txtWeights.Text.Trim());
}
if (this.drpCheckAcceptType.SelectedValue != BLL.Const._Null)
{
newControlItemAndCycle.CheckAcceptType = this.drpCheckAcceptType.SelectedValue;
}
newControlItemAndCycle.HGForms = this.txtHGForms.Text.Trim();
newControlItemAndCycle.SHForms = this.txtSHForms.Text.Trim();
newControlItemAndCycle.Standard = this.txtStandard.Text.Trim();