diff --git a/HJGL_DS/BLL/JGZL/MeasuringInstrumentsService.cs b/HJGL_DS/BLL/JGZL/MeasuringInstrumentsService.cs
index 4ed4e55..de49b96 100644
--- a/HJGL_DS/BLL/JGZL/MeasuringInstrumentsService.cs
+++ b/HJGL_DS/BLL/JGZL/MeasuringInstrumentsService.cs
@@ -84,5 +84,20 @@ namespace BLL
db.SubmitChanges();
}
}
+
+ ///
+ /// 根据项目Id删除周期检定计量器具清单
+ ///
+ ///
+ public static void DeleteListsByProjectId(string projectId)
+ {
+ SGGLDB db = Funs.DB;
+ var q = (from x in db.JGZL_MeasuringInstruments where x.ProjectId == projectId select x).ToList();
+ if (q.Count>0)
+ {
+ db.JGZL_MeasuringInstruments.DeleteAllOnSubmit(q);
+ db.SubmitChanges();
+ }
+ }
}
}
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/周期检定计量器具清单.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/周期检定计量器具清单.frx
index 16d71a4..b457fda 100644
--- a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/周期检定计量器具清单.frx
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/周期检定计量器具清单.frx
@@ -1,5 +1,5 @@
-
+
using System;
using System.Collections;
using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
}
-
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/MeasuringInstruments.aspx b/HJGL_DS/FineUIPro.Web/JGZL/MeasuringInstruments.aspx
index a8acaf9..ef62ec3 100644
--- a/HJGL_DS/FineUIPro.Web/JGZL/MeasuringInstruments.aspx
+++ b/HJGL_DS/FineUIPro.Web/JGZL/MeasuringInstruments.aspx
@@ -40,6 +40,7 @@
+
@@ -51,38 +52,67 @@
EnableColumnLines="true" ClicksToEdit="1" DataIDField="MeasuringInstrumentsId" AllowSorting="true"
SortField="MeasuringInstrumentsCode" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
- EnableTextSelection="True" AutoScroll="true" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
+ EnableTextSelection="True" AutoScroll="true" OnPreDataBound="Grid1_PreDataBound">
+
+
+
+
+
+
+
+
+
+ FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
+
+
+
+
+
+
+ FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
+
+
+
+ FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
+
+
+
+ FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px" ExpandUnusedSpace="true">
+
+
+
+
+
+
-
+ <%--
-
+ --%>
@@ -101,30 +131,30 @@
-
-
+ --%>
- --%>
-
+ --%>