fix(hjgl): 允许试压包尾项不选择管线

This commit is contained in:
2026-06-10 10:43:32 +08:00
parent 589848ddde
commit a6b04d2671
@@ -264,11 +264,11 @@ namespace FineUIPro.Web.HJGL.TestPackage
ShowNotify("必填项不能为空!", MessageBoxIcon.Warning); ShowNotify("必填项不能为空!", MessageBoxIcon.Warning);
return; return;
} }
if (string.IsNullOrEmpty(hdPipelinesId.Text)) //if (string.IsNullOrEmpty(hdPipelinesId.Text))
{ //{
ShowNotify("请选择管线号!", MessageBoxIcon.Warning); // ShowNotify("请选择管线号!", MessageBoxIcon.Warning);
return; // return;
} //}
var updatetrust = BLL.TestPackageEditService.GetTestPackageByID(this.PTP_ID); var updatetrust = BLL.TestPackageEditService.GetTestPackageByID(this.PTP_ID);
if (updatetrust != null && updatetrust.AduditDate.HasValue) if (updatetrust != null && updatetrust.AduditDate.HasValue)
{ {