1、logo调整

2、质量管理NCR管理补充字段问题原因分析
This commit is contained in:
2025-10-22 16:38:02 +08:00
parent 39a3acd0d2
commit 46f56a27cb
27 changed files with 287 additions and 162 deletions
@@ -4,7 +4,7 @@ using System.Linq;
namespace FineUIPro.Web.CQMS.ProcessControl
{
public partial class TestPackageManagementEdit :PageBase
public partial class TestPackageManagementEdit : PageBase
{
#region
/// <summary>
@@ -72,14 +72,29 @@ namespace FineUIPro.Web.CQMS.ProcessControl
/// <param name="e"></param>
protected void btnSave_Click(object sender, EventArgs e)
{
if (this.drpUnitWork.SelectedValue==BLL.Const._Null)
if (this.drpUnitWork.SelectedValue == BLL.Const._Null)
{
Alert.ShowInTop("请选择单位工程名称!", MessageBoxIcon.Warning);
return;
}
string code = this.txtTestPackageManagementCode.Text.Trim();
if (string.IsNullOrWhiteSpace(code))
{
Alert.ShowInTop("请填写试压包编号!", MessageBoxIcon.Warning);
return;
}
else
{
var q = Funs.DB.ProcessControl_TestPackageManagement.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.TestPackageManagementCode == code);
if (q != null)
{
Alert.ShowInTop("试压包编号已存在!", MessageBoxIcon.Warning);
return;
}
}
Model.ProcessControl_TestPackageManagement testPackageManagement = new Model.ProcessControl_TestPackageManagement();
testPackageManagement.ProjectId = this.CurrUser.LoginProjectId;
testPackageManagement.TestPackageManagementCode = this.txtTestPackageManagementCode.Text.Trim();
testPackageManagement.TestPackageManagementCode = code;
if (this.drpUnitWork.SelectedValue != BLL.Const._Null)
{
testPackageManagement.UnitWorkId = this.drpUnitWork.SelectedValue;