Files
SGGL_SHJ/SGGL/FineUIPro.Web/File/Fastreport/管道焊接任务单.frx
T
lpf 02b524b895 feat(hjgl): 增强焊口匹配与任务单打印
焊口台账、材料匹配和任务单打印需要统一到焊口维度处理。
新增焊口查询、匹配保存和打印模板适配,便于按焊口追溯材料和任务。
2026-06-26 00:40:55 +08:00

223 lines
15 KiB
XML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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:09" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
namespace FastReport
{
public class ReportScript
{  
private int x;
private void Tabel_Data_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;);
// init the data source
rowData.Init();
// print the first table row - it is a header
Tabel_Data.PrintRow(0);
// each PrintRow call must be followed by either PrintColumn or PrintColumns call
// to print cells on the row
Tabel_Data.PrintColumns();
x=0;
// now enumerate the data source and print the table body
while (rowData.HasMoreRows)
{
x++;
// print the table body
Tabel_Data.PrintRow(1);
Tabel_Data.PrintColumns();
// go next data source row
rowData.Next();
}  
}
private void Table6_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;Table1&quot;);
// init the data source
rowData.Init();
Table6.PrintRow(0);
Table6.PrintColumns();
Table6.PrintRow(1);
Table6.PrintColumns();  
rowData.Next();
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhaXj7MTwVWd+W15ZHXWbvUTygn/8kT7Dd8PAtwcQdvSWlUEyCU1xPvJPbQKwTsqQwLM+O2fcBJVGvSTxsXNEsa1vy5JNdjQE5XXU2qh41PMt4c4Lp/j2o5C6htb8mS4/JfQOgej7CCf0JujCt3dJ+YxXXseI88rmE3YizSXMF6mQn"/>
<TableDataSource Name="Table1" ReferenceName="Table1" DataType="System.Int32" Enabled="true">
<Column Name="BillName" DataType="System.String" PropName="CH_TrustCode"/>
<Column Name="ReqUnitName" DataType="System.String" PropName="CH_TrustUnit"/>
<Column Name="AuditManName" DataType="System.String" PropName="CH_SlopeType"/>
<Column Name="CreateManName" DataType="System.String" PropName="CH_WeldMethod"/>
<Column Name="AuditDate" DataType="System.String" PropName="CH_NDTRate"/>
<Column Name="CreateDate" DataType="System.String" PropName="CH_NDTMethod"/>
<Column Name="CusBillCode" DataType="System.String" PropName="CH_NDTCriteria"/>
<Column Name="ProjectName" DataType="System.String" PropName="ProjectId"/>
<Column Name="CategoryString" DataType="System.String" PropName="Column"/>
<Column Name="WarehouseManName" DataType="System.String" PropName="Column"/>
<Column Name="WarehouseManAuditDate" DataType="System.String" PropName="Column"/>
<Column Name="AuditManName" DataType="System.String" PropName="Column"/>
<Column Name="AuditManName2" DataType="System.String"/>
<Column Name="AuditDate2" DataType="System.String"/>
</TableDataSource>
<TableDataSource Name="Data" ReferenceName="Data" DataType="System.Int32" Enabled="true" TableName="Data">
<Column Name="PipelineCode" DataType="System.String" PropName="CH_TrustID"/>
<Column Name="FlowingSection" DataType="System.String" PropName="Column"/>
<Column Name="WeldJointCode" DataType="System.String"/>
<Column Name="MaterialCode" DataType="System.String" PropName="Column"/>
<Column Name="BatchNo" DataType="System.String"/>
<Column Name="NeedNum" DataType="System.String"/>
<Column Name="MaterialMade" DataType="System.String"/>
<Column Name="MaterialSpec" DataType="System.String" PropName="Column3"/>
<Column Name="PaintCode" DataType="System.String"/>
<Column Name="WeldingSize" DataType="System.String"/>
<Column Name="Remark" DataType="System.String"/>
</TableDataSource>
<TableDataSource Name="ApproveOutData" ReferenceName="ApproveInData" DataType="System.Int32" PropName="ApproveInData" Enabled="true">
<Column Name="ProfessionalEngineer" DataType="System.String" PropName="CH_TrustID"/>
<Column Name="ConstructionManager" DataType="System.String" PropName="Column"/>
<Column Name="ControlManager" DataType="System.String" PropName="Column"/>
<Column Name="ProjectManager" DataType="System.String" PropName="Column2"/>
<Column Name="PurchasingMan" DataType="System.Int32" PropName="Column" Calculated="true" Expression=""/>
<Column Name="ConUnitMaterialOfficer" DataType="System.Int32" PropName="Column" Calculated="true" Expression=""/>
<Column Name="ConUnitProjectManager" DataType="System.Int32" PropName="Column" Calculated="true" Expression=""/>
</TableDataSource>
<Parameter Name="Code" DataType="System.String"/>
<Parameter Name="TaskDate" DataType="System.String"/>
<Parameter Name="UnitName" DataType="System.String"/>
<Parameter Name="UnitWorkName" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9">
<PageHeaderBand Name="PageHeader1" Width="1047.06" Height="166.32">
<TableObject Name="Table4" Left="9.45" Top="18.9" Width="1030.05" Height="147.42" Border.Lines="Top">
<TableColumn Name="Column75" Width="41.58"/>
<TableColumn Name="Column76" Width="117.23"/>
<TableColumn Name="Column77" Width="126.62"/>
<TableColumn Name="Column78" Width="79.37"/>
<TableColumn Name="Column79" Width="343.97"/>
<TableColumn Name="Column80" Width="75.59"/>
<TableColumn Name="Column81" Width="66.14"/>
<TableColumn Name="Column82" Width="75.59"/>
<TableColumn Name="Column84" Width="103.96"/>
<TableRow Name="Row37" Height="56.7">
<TableCell Name="Cell311" Border.Lines="Left" HorzAlign="Center" VertAlign="Center" ColSpan="4"/>
<TableCell Name="Cell312" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell313" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell314" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell315" Border.Lines="Top" Text="管道焊接任务单" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold"/>
<TableCell Name="Cell316" Border.Lines="Right, Top" Text="编号:[Code]&#13;&#10;" VertAlign="Center" ColSpan="4"/>
<TableCell Name="Cell317" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell318" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell320" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
</TableRow>
<TableRow Name="Row38" Height="45.36">
<TableCell Name="Cell321" Border.Lines="Left, Top" Text="委托单位:[UnitName]" VertAlign="Center" Font="宋体, 10pt" ColSpan="5"/>
<TableCell Name="Cell322" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell323" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell324" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell325" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
<TableCell Name="Cell326" Border.Lines="Right, Top" Text="&#13;&#10;日期:[TaskDate]" VertAlign="Center" Font="宋体, 10pt" ColSpan="4"/>
<TableCell Name="Cell327" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
<TableCell Name="Cell328" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
<TableCell Name="Cell330" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt, style=Bold"/>
</TableRow>
<TableRow Name="Row39" Height="45.36">
<TableCell Name="Cell339" Border.Lines="Left, Right, Top" Text="装置名称:[UnitWorkName]" VertAlign="Center" ColSpan="9"/>
<TableCell Name="Cell340" Border.Lines="All"/>
<TableCell Name="Cell341" Border.Lines="All"/>
<TableCell Name="Cell342" Border.Lines="All"/>
<TableCell Name="Cell343" Border.Lines="All"/>
<TableCell Name="Cell344" Border.Lines="All"/>
<TableCell Name="Cell345" Border.Lines="All"/>
<TableCell Name="Cell346" Border.Lines="All"/>
<TableCell Name="Cell347" Border.Lines="All"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="169.45" Width="1047.06" Height="71.82">
<TableObject Name="Tabel_Data" Left="9.45" Width="1030.05" Height="71.82" Border.Lines="Top" ManualBuildEvent="Tabel_Data_ManualBuild">
<TableColumn Name="Column21" Width="35"/>
<TableColumn Name="Column22" Width="110"/>
<TableColumn Name="Column24" Width="70"/>
<TableColumn Name="Column25" Width="75"/>
<TableColumn Name="Column26" Width="85"/>
<TableColumn Name="Column27" Width="80"/>
<TableColumn Name="Column28" Width="60"/>
<TableColumn Name="Column29" Width="80"/>
<TableColumn Name="Column30" Width="95"/>
<TableColumn Name="Column31" Width="65"/>
<TableColumn Name="Column32" Width="70"/>
<TableColumn Name="Column33" Width="205.05"/>
<TableRow Name="Row30" Height="22.68">
<TableCell Name="Cell229" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell230" Border.Lines="All" Text="管线号" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell232" Border.Lines="All" Text="流水段" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell348" Border.Lines="All" Text="焊口编号" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell234" Border.Lines="All" Text="材料编码" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell235" Border.Lines="All" Text="炉批号" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell236" Border.Lines="All" Text="需求数量" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell349" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell350" Border.Lines="All" Text="规格" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell351" Border.Lines="All" Text="油漆号" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell352" Border.Lines="All" Text="焊接工程量" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell353" Border.Lines="All" Text="备注" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
<TableRow Name="Row21" Height="49.14">
<TableCell Name="Cell137" Border.Lines="All" Text="[x]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell138" Border.Lines="All" Text=" [Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell140" Border.Lines="All" Text=" [Data.FlowingSection]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell141" Border.Lines="All" Text="[Data.WeldJointCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[Data.MaterialCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell143" Border.Lines="All" Text="[Data.BatchNo]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell144" Border.Lines="All" Text="[Data.NeedNum]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell145" Border.Lines="All" Text="[Data.MaterialMade]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.MaterialSpec]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.PaintCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.WeldingSize]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell149" Border.Lines="All" Text="[Data.Remark]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
</TableRow>
</TableObject>
<DataFooterBand Name="DataFooter1" Top="244.39" Width="1047.06" Height="175.72">
<TableObject Name="Table6" Left="9.45" Width="1030.05" Height="175.72" Border.Lines="Top" ManualBuildEvent="Table6_ManualBuild">
<TableColumn Name="Column65" Width="86.9"/>
<TableColumn Name="Column66" Width="358.73"/>
<TableColumn Name="Column67" Width="188.57"/>
<TableColumn Name="Column85" Width="395.85"/>
<TableRow Name="Row33" Height="74.62">
<TableCell Name="Cell271" Border.Lines="All" Text="备注" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell272" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt" ColSpan="3"/>
<TableCell Name="Cell273" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell331" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
<TableRow Name="Row34" Height="101.1">
<TableCell Name="Cell281" Text="分包制单:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell282" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt">
<PictureObject Name="Picture1" Left="9.45" Top="9.45" Width="170.1" Height="85.05" DataColumn="Table1.CreateManName"/>
</TableCell>
<TableCell Name="Cell283" Text="专工审核:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell332" HorzAlign="Center" VertAlign="Center">
<PictureObject Name="Picture2" Left="9.45" Top="9.45" Width="160.65" Height="85.05" DataColumn="Table1.AuditManName"/>
</TableCell>
</TableRow>
</TableObject>
</DataFooterBand>
</DataBand>
</ReportPage>
</Report>