fix(hjgl): 修复焊口打印与防腐数据处理

This commit is contained in:
2026-08-13 16:58:22 +08:00
parent 5160dde702
commit 0fb67e2006
6 changed files with 50 additions and 33 deletions
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="06/15/2026 15:26:16" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="08/13/2026 14:02:48" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@@ -99,7 +99,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhaXj7MTwVWd+W15ZHXWbvUTygn/8kT7Dd8PAtwcQdvSWlUEyCU1xPvJPbQKwTsqQwLM+O2fcBJVGvSTxsXNEsa1vy5JNdjQE5XXU2qh41PMt4c4Lp/j2o5C6htb8mS4/JfQOgej7CCf0JujCt3dJ+YxUa4vt7plmc6JvUw8qm4mg5"/>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhaXj7MTwVWd+W15ZHXWbvUTygn/8kT7Dd8PAtwcQdvSWlUEyCU1xPvJPbQKwTsqQwLM+O2fcBJVGvSTxsXNEsa1vy5JNdjQE5XXU2qh41PMt4c4Lp/j2o5C6htb8mS4/JfQOgej7CCf0JujCt3dJ+YxUOMu7iilLzhukxbIErde2Y"/>
<TableDataSource Name="Table1" ReferenceName="Table1" DataType="System.Int32" Enabled="true">
<Column Name="pipelineCode" DataType="System.String" PropName="PipelineComponentId"/>
<Column Name="Mat" DataType="System.String" PropName="PipelineComponentCode"/>
@@ -108,6 +108,7 @@ namespace FastReport
<Column Name="SortIndex" DataType="System.String" PropName="PipelineId"/>
<Column Name="PipelineCode" DataType="System.String"/>
<Column Name="WeldJointPoint" DataType="System.String" PropName="Column"/>
<Column Name="PaintCode" DataType="System.String"/>
</TableDataSource>
<TableDataSource Name="Data" ReferenceName="Data.Data" DataType="System.Int32" Enabled="true">
<Column Name="CH_TrustID" DataType="System.String"/>
@@ -140,26 +141,29 @@ namespace FastReport
</Dictionary>
<ReportPage Name="Page1" PaperWidth="80" PaperHeight="42" LeftMargin="0" TopMargin="0" RightMargin="0" BottomMargin="0" MirrorMargins="true">
<PageHeaderBand Name="PageHeader1" Width="302.4"/>
<DataBand Name="Data1" Top="2.7" Width="302.4" Height="158.76" Guides="198.45" DataSource="Table1" Columns.Count="1">
<TableObject Name="Table2" Left="3.78" Top="3.78" Width="294.84" Height="151.2" Border.Lines="All">
<TableColumn Name="Column3" Width="128.51"/>
<DataBand Name="Data1" Top="1.61" Width="302.4" Height="158.76" Guides="198.45" DataSource="Table1" Columns.Count="1">
<TableObject Name="Table2" Left="3.78" Top="3.78" Width="275.94" Height="151.2" Border.Lines="All">
<TableColumn Name="Column3" Width="109.61"/>
<TableColumn Name="Column1" Width="166.33"/>
<TableRow Name="Row1" Height="37.8">
<TableCell Name="Cell23" Text="管线号:[Table1.pipelineCode]" VertAlign="Center" Font="宋体, 11pt" ColSpan="2"/>
<TableCell Name="Cell1" VertAlign="Center" Font="体, 11pt"/>
</TableRow>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell24" Text="规格:[Table1.Spec]" VertAlign="Center" Font="宋体, 11pt"/>
<TableCell Name="Cell6" Text="材质:[Table1.Mat]" VertAlign="Center" Font="宋体, 11pt"/>
</TableRow>
<TableRow Name="Row5" Height="75.6">
<TableCell Name="Cell35">
<BarcodeObject Name="Barcode1" Left="22.68" Width="83.16" Height="75.6" AutoSize="false" Text="https://sggl.sedin.com.cn/StaticPage/HJGL/index.html?id=[Table1.WeldJointId]&amp;weldjoint=1" ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="L" Barcode.Encoding="UTF8" Barcode.QuietZone="true"/>
<TextObject Name="Text2" Left="103.95" Top="56.7" Width="406.35" Height="18.9" Text="[Table1.WeldJointPoint]" VertAlign="Center" Font="黑体, 6pt"/>
<TableRow Name="Row1" Height="60.48">
<TableCell Name="Cell23" VertAlign="Center" Font="宋体, 11pt">
<TextObject Name="Text1" Left="9.45" Top="9.45" Width="94.5" Height="56.7" Text="[Table1.SortIndex]#" HorzAlign="Center" VertAlign="Center" Font="体, 28pt, style=Bold"/>
</TableCell>
<TableCell Name="Cell36" VertAlign="Center" Font="宋体, 11pt">
<TextObject Name="Text1" Left="9.45" Width="151.2" Height="56.7" Text="[Table1.SortIndex]#" VertAlign="Center" Font="黑体, 36pt, style=Bold"/>
<TableCell Name="Cell1" Text="管线号:[Table1.pipelineCode]" VertAlign="Center" Font="宋体, 11pt"/>
</TableRow>
<TableRow Name="Row2" Height="30.24">
<TableCell Name="Cell24" VertAlign="Center" Font="宋体, 11pt">
<BarcodeObject Name="Barcode1" Left="13.23" Width="92.61" Height="85.05" AutoSize="false" Text="https://sggl.sedin.com.cn/StaticPage/HJGL/index.html?id=[Table1.WeldJointId]&amp;weldjoint=1" ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="L" Barcode.Encoding="UTF8" Barcode.QuietZone="true"/>
</TableCell>
<TableCell Name="Cell6" Text="规格:[Table1.Spec]" VertAlign="Center" Font="宋体, 11pt"/>
</TableRow>
<TableRow Name="Row6" Height="37.8">
<TableCell Name="Cell37"/>
<TableCell Name="Cell38" Text="材质:[Table1.Mat]" VertAlign="Center" Font="宋体, 11pt"/>
</TableRow>
<TableRow Name="Row5" Height="22.68">
<TableCell Name="Cell35"/>
<TableCell Name="Cell36" Text="防腐等级:[Table1.PaintCode]" VertAlign="Center" Font="宋体, 11pt"/>
</TableRow>
</TableObject>
</DataBand>