diff --git a/DataBase/版本日志/SGGLDB_V2026-05-25-gf.sql b/DataBase/版本日志/SGGLDB_V2026-05-25-gf.sql new file mode 100644 index 00000000..75d4c4f1 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2026-05-25-gf.sql @@ -0,0 +1,3 @@ +alter table HJGL_MaterialCodeLib add BatchNo nvarchar(50) null +alter table Tw_InOutPlanDetail add BatchNo nvarchar(50) null +GO \ No newline at end of file diff --git a/SGGL/BLL/CLGL/TwInOutplandetailService.cs b/SGGL/BLL/CLGL/TwInOutplandetailService.cs index 077be9c0..0b88df79 100644 --- a/SGGL/BLL/CLGL/TwInOutplandetailService.cs +++ b/SGGL/BLL/CLGL/TwInOutplandetailService.cs @@ -44,6 +44,7 @@ namespace BLL PipelineComponentId = x.PipelineComponentId, MaterialCode = x.MaterialCode, HeatNo = x.HeatNo, + BatchNo = x.BatchNo, PlanNum = x.PlanNum, ActNum = x.ActNum, PipelineComponentCode = y.PipelineComponentCode, @@ -121,7 +122,8 @@ namespace BLL PlanNum = item.PlanNum, ActNum = item.ActNum, SortIndex = sortIndex, - HeatNo = item.HeatNo + HeatNo = item.HeatNo, + BatchNo = item.BatchNo }; sortIndex++; details.Add(table); diff --git a/SGGL/BLL/HJGL/BaseInfo/MaterialCodeLibService.cs b/SGGL/BLL/HJGL/BaseInfo/MaterialCodeLibService.cs index bc61976a..129ee9cf 100644 --- a/SGGL/BLL/HJGL/BaseInfo/MaterialCodeLibService.cs +++ b/SGGL/BLL/HJGL/BaseInfo/MaterialCodeLibService.cs @@ -30,6 +30,7 @@ { MaterialCode = codeLib.MaterialCode, HeatNo = codeLib.HeatNo, + BatchNo = codeLib.BatchNo, MaterialName = codeLib.MaterialName, MaterialSpec = codeLib.MaterialSpec, MaterialMade = codeLib.MaterialMade, @@ -58,6 +59,7 @@ if (newCodeLib != null) { newCodeLib.HeatNo = codeLib.HeatNo; + newCodeLib.BatchNo = codeLib.BatchNo; newCodeLib.MaterialName = codeLib.MaterialName; newCodeLib.MaterialSpec = codeLib.MaterialSpec; newCodeLib.MaterialMade = codeLib.MaterialMade; @@ -103,9 +105,11 @@ { MaterialCode = item.MaterialCode, HeatNo = item.HeatNo, + BatchNo = item.BatchNo, MaterialName = item.MaterialName, MaterialSpec = item.MaterialSpec, - MaterialUnit = item.MaterialUnit + MaterialUnit = item.MaterialUnit, + MaterialDef = item.MaterialDef, }; details.Add(table); } diff --git a/SGGL/FineUIPro.Web/CLGL/InPlanMaster.aspx b/SGGL/FineUIPro.Web/CLGL/InPlanMaster.aspx index faac25eb..8912c95a 100644 --- a/SGGL/FineUIPro.Web/CLGL/InPlanMaster.aspx +++ b/SGGL/FineUIPro.Web/CLGL/InPlanMaster.aspx @@ -140,7 +140,7 @@ ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch"> @@ -162,14 +162,17 @@ FieldType="String" HeaderText="材料编码" TextAlign="Left" HeaderTextAlign="Center" > + FieldType="String" HeaderText="炉号" TextAlign="Left" HeaderTextAlign="Center"> + + - <%-- - --%> + diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/材料入库导入模板.xlsx b/SGGL/FineUIPro.Web/File/Excel/DataIn/材料入库导入模板.xlsx index d8da1ea3..e8b790c0 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataIn/材料入库导入模板.xlsx and b/SGGL/FineUIPro.Web/File/Excel/DataIn/材料入库导入模板.xlsx differ diff --git a/SGGL/FineUIPro.Web/HJGL/BaseInfo/MaterialCodeLib.aspx b/SGGL/FineUIPro.Web/HJGL/BaseInfo/MaterialCodeLib.aspx index 6fe9ff9b..e64b6888 100644 --- a/SGGL/FineUIPro.Web/HJGL/BaseInfo/MaterialCodeLib.aspx +++ b/SGGL/FineUIPro.Web/HJGL/BaseInfo/MaterialCodeLib.aspx @@ -49,9 +49,13 @@ TextAlign="Left" SortField="MaterialCode"> + + @@ -93,7 +97,7 @@