20240524 修改共检通知单

This commit is contained in:
毕文静 2024-05-24 10:13:35 +08:00
parent e56b108443
commit eacc0a4856
2 changed files with 7 additions and 7 deletions

View File

@ -185,12 +185,12 @@ namespace FineUIPro.Web.CQMS.ProcessControl
return;
}
//合格的情况下不允许修改
var model = Funs.DB.ProcessControl_InspectionManagement.FirstOrDefault(x => x.InspectionId == Grid1.SelectedRowID);
if (model.IsOnceQualified == true)
{
Alert.ShowInTop("该共检通知单已合格,不允许修改!", MessageBoxIcon.Warning);
return;
}
//var model = Funs.DB.ProcessControl_InspectionManagement.FirstOrDefault(x => x.InspectionId == Grid1.SelectedRowID);
//if (model.IsOnceQualified == true)
//{
// Alert.ShowInTop("该共检通知单已合格,不允许修改!", MessageBoxIcon.Warning);
// return;
//}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InspectionNoticeEdit.aspx?InspectionId={0}", Grid1.SelectedRowID, "编辑 - ")));
}

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />
<IISExpressSSLPort />