修改质量验收穿透数据统计
This commit is contained in:
@@ -73,6 +73,7 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
if (!IsPostBack)
|
||||
{
|
||||
WorkPackageCode = Request.Params["Id"];
|
||||
Funs.FineUIPleaseSelect(this.drpSubItemType);
|
||||
if (Request.Params["type"] == "add")
|
||||
{
|
||||
List<String> codelist = null;
|
||||
@@ -130,6 +131,10 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
{
|
||||
this.drpIsChild.SelectedValue = "False";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(workPackageInit.SubItemType))
|
||||
{
|
||||
this.drpSubItemType.SelectedValue = workPackageInit.SubItemType;
|
||||
}
|
||||
SuperWorkPack = workPackageInit.SuperWorkPack;
|
||||
}
|
||||
}
|
||||
@@ -140,6 +145,11 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, this.CurrUser.PersonId, BLL.Const.ControlItemInitSetMenuId, BLL.Const.BtnSave))
|
||||
{
|
||||
if (this.drpSubItemType.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
ShowNotify("请选择分部分项类型!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (!BLL.WorkPackageInitService.IsExistWorkPackageInitName(this.SuperWorkPack, this.txtWorkPackageName.Text.Trim(), this.txtWorkPackageCode.Text.Trim()))
|
||||
{
|
||||
Model.WBS_WorkPackageInit newWorkPackage = new Model.WBS_WorkPackageInit();
|
||||
@@ -147,6 +157,7 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
newWorkPackage.PackageContent = this.txtWorkPackageName.Text.Trim();
|
||||
newWorkPackage.SuperWorkPack = SuperWorkPack;
|
||||
newWorkPackage.IsChild = Convert.ToBoolean(this.drpIsChild.SelectedValue.Trim());
|
||||
newWorkPackage.SubItemType = this.drpSubItemType.SelectedValue;
|
||||
newWorkPackage.ProjectType = ProjectType;
|
||||
if (Request.Params["type"] == "add")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user