SGGL_HBAZ/SGGL/FineUIPro.Web/File/Fastreport/硬度检测委托单NoPic.frx

234 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.

<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="05/13/2023 18:12:03" 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;Head&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();
}
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhadlz3NC872689s+IIjEVKRMWAnGUHqCC/lthXB9Rh4m8+wBWAwJuyC3mmUP83vc3wJy+gmjZ+OjywnOZuiuxP7Ovp5QY648QqVO9ScWvVtkMNmDdUD+HqNdZhQzFn/I4RkA5GmMG5M8v66V8ZtqkCFzXPO1DOUEPiQnvyap5EedT">
<TableDataSource Name="Table1" Alias="Head" DataType="System.Int32" Enabled="true" SelectCommand="SELECT ISO_IsoNo ,JOT_JointNo,JOT_JointDesc,MaterialCode,JOT_Remark FROM dbo.View_HJGL_Hard_TrustItem where HardTrustID=@HardTrustID">
<Column Name="ISO_IsoNo" DataType="System.String"/>
<Column Name="JOT_JointNo" DataType="System.String"/>
<Column Name="JOT_JointDesc" DataType="System.String"/>
<Column Name="MaterialCode" DataType="System.String"/>
<Column Name="JOT_Remark" DataType="System.String"/>
<CommandParameter Name="HardTrustID" DataType="22" Expression="[HardTrustID]"/>
</TableDataSource>
</MsSqlDataConnection>
<Parameter Name="HardTrustID" DataType="System.String"/>
<Parameter Name="HardTrustNo" DataType="System.String"/>
<Parameter Name="CheckName" DataType="System.String"/>
<Parameter Name="Standards" DataType="System.String"/>
<Parameter Name="AcceptStandard" DataType="System.String"/>
<Parameter Name="HardnessRate" DataType="System.String"/>
<Parameter Name="InstallName" DataType="System.String"/>
<Parameter Name="InstallCode" DataType="System.String"/>
<Parameter Name="pointCount" DataType="System.String"/>
<Parameter Name="unitName1" DataType="System.String"/>
<Parameter Name="unitName2" DataType="System.String"/>
<Parameter Name="unitName3" DataType="System.String"/>
<Parameter Name="unitName4" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9">
<PageHeaderBand Name="PageHeader1" Width="718.2" Height="234.36">
<TableObject Name="Table4" Left="18.9" Top="37.8" Width="696.01" Height="194.01">
<TableColumn Name="Column13" Width="76.21"/>
<TableColumn Name="Column14" Width="95.11"/>
<TableColumn Name="Column15" Width="76.21"/>
<TableColumn Name="Column16" Width="85.66"/>
<TableColumn Name="Column17" Width="76.21"/>
<TableColumn Name="Column18" Width="81.88"/>
<TableColumn Name="Column19" Width="72.43"/>
<TableColumn Name="Column20" Width="132.3"/>
<TableRow Name="Row14" Height="64.56">
<TableCell Name="Cell81" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt" ColSpan="2"/>
<TableCell Name="Cell82" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell83" Text="硬度检测委托单" HorzAlign="Center" VertAlign="Bottom" Font="宋体, 16pt, style=Bold" ColSpan="4">
<TextObject Name="Text1" Left="283.5" Top="75.6" Width="207.9" Height="28.35" Text="第[Page#]页 共[TotalPages#]页" VertAlign="Center"/>
</TableCell>
<TableCell Name="Cell84" HorzAlign="Center" VertAlign="Bottom"/>
<TableCell Name="Cell85" HorzAlign="Center" VertAlign="Bottom"/>
<TableCell Name="Cell86" HorzAlign="Center" VertAlign="Bottom"/>
<TableCell Name="Cell87" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell88" HorzAlign="Center" VertAlign="Center" Font="宋体, 8pt"/>
</TableRow>
<TableRow Name="Row13" Height="47.56">
<TableCell Name="Cell73" Text="委托单编号:[HardTrustNo]" VertAlign="Center" ColSpan="4"/>
<TableCell Name="Cell74" VertAlign="Center"/>
<TableCell Name="Cell75" VertAlign="Center"/>
<TableCell Name="Cell76" VertAlign="Center"/>
<TableCell Name="Cell77" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell78" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell79" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell80" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
<TableRow Name="Row8" Height="26.77">
<TableCell Name="Cell33" Border.Lines="All" Text="装置名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell34" Border.Lines="All" Text="[InstallName]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell35" Border.Lines="All" Text="装置编号" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell36" Border.Lines="All" Text="[InstallCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell37" Border.Lines="All" Text="检件名称" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell58" Border.Lines="All" Text="[CheckName]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt" ColSpan="3"/>
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 8pt"/>
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
<TableRow Name="Row10" Height="26.77">
<TableCell Name="Cell43" Border.Lines="All" Text="检测标准" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell44" Border.Lines="All" Text="[Standards]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell45" Border.Lines="All" Text="检测比例" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell46" Border.Lines="All" Text="[HardnessRate]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell47" Border.Lines="All" Text="检测内容" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell60" Border.Lines="All" Text="HB" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell65" Border.Lines="All" Text="检测时机" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell70" Border.Lines="All" Text="热处理后" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
<TableRow Name="Row11" Height="28.35">
<TableCell Name="Cell48" Border.Lines="All" Text="验收标准" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell49" Border.Lines="All" Text="[AcceptStandard]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell50" Border.Lines="All" Text="检测方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell51" Border.Lines="All" Text="HBW" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell52" Border.Lines="All" Text="硬度值" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell66" Border.Lines="All" Text="检测数量" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell71" Border.Lines="All" Text="[pointCount]道" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="237.81" Width="718.2" Height="78.62">
<TableObject Name="Tabel_Data" Left="18.9" Width="697.01" Height="78.62" Border.Lines="Top" FixedRows="1" ManualBuildEvent="Tabel_Data_ManualBuild">
<TableColumn Name="Column21" Width="95.17"/>
<TableColumn Name="Column22" Width="132.97"/>
<TableColumn Name="Column23" Width="123.53"/>
<TableColumn Name="Column26" Width="119.75"/>
<TableColumn Name="Column27" Width="119.75"/>
<TableColumn Name="Column28" Width="105.84"/>
<TableRow Name="Row30" MaxHeight="503.87" Height="29.48">
<TableCell Name="Cell229" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell230" Border.Lines="All" Text="容器/管线编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell231" Border.Lines="All" Text="焊接接头号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell234" Border.Lines="All" Text="规格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell235" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell236" Border.Lines="All" Text="备注" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
</TableRow>
<TableRow Name="Row21" Height="49.14">
<TableCell Name="Cell137" Border.Lines="All" Text="[x]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell138" Border.Lines="All" Text="[Head.ISO_IsoNo]" VertAlign="Center"/>
<TableCell Name="Cell139" Border.Lines="All" Text="[Head.JOT_JointNo]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[Head.JOT_JointDesc]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell143" Border.Lines="All" Text="[Head.MaterialCode]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell144" Border.Lines="All" Text="[Head.JOT_Remark]" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
</TableObject>
<DataFooterBand Name="DataFooter1" Top="372.46" Width="718.2">
<ChildBand Name="Child2" Top="319.88" Width="718.2" Height="49.14" FillUnusedSpace="true">
<TableObject Name="Table6" Left="18.9" Width="697.43" Height="49.14" Border.Lines="Top">
<TableColumn Name="Column53" Width="95.26"/>
<TableColumn Name="Column54" Width="133.06"/>
<TableColumn Name="Column55" Width="123.61"/>
<TableColumn Name="Column59" Width="119.83"/>
<TableColumn Name="Column62" Width="119.83"/>
<TableColumn Name="Column60" Width="105.84"/>
<TableRow Name="Row29" Height="49.14">
<TableCell Name="Cell221" Border.Lines="All"/>
<TableCell Name="Cell222" Border.Lines="All"/>
<TableCell Name="Cell223" Border.Lines="All"/>
<TableCell Name="Cell227" Border.Lines="All"/>
<TableCell Name="Cell239" Border.Lines="All"/>
<TableCell Name="Cell228" Border.Lines="All"/>
</TableRow>
</TableObject>
</ChildBand>
</DataFooterBand>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="375.91" Width="718.2" Height="170.1" Guides="113.4,85.05,85.05">
<TableObject Name="Table5" Left="18.9" Width="699.21" Height="128.48" Border.Lines="All" RepeatHeaders="false">
<TableColumn Name="Column37" Width="99.45"/>
<TableColumn Name="Column38" Width="82.44"/>
<TableColumn Name="Column39" Width="99.45"/>
<TableColumn Name="Column40" Width="71.1"/>
<TableColumn Name="Column41" Width="107.01"/>
<TableColumn Name="Column42" Width="67.32"/>
<TableColumn Name="Column43" Width="76.77"/>
<TableColumn Name="Column44" Width="95.67"/>
<TableRow Name="Row24" MaxHeight="491.4" Height="43.94">
<TableCell Name="Cell161" Border.Lines="All" Text="施工单位:[unitName1]" Font="宋体, 10pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell162" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell163" Border.Lines="All" Text="监理单位:[unitName2]" Font="宋体, 10pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell164" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell165" Border.Lines="All" Text="建设单位项目部:[unitName3]" Font="宋体, 10pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell166" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
<TableCell Name="Cell167" Border.Lines="All" Text="检测单位:[unitName4]" Font="宋体, 10pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell168" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10pt"/>
</TableRow>
<TableRow Name="Row25" Height="1">
<TableCell Name="Cell169" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell170" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell171" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell172" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell173" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell174" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell175" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell176" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
<TableRow Name="Row27" MaxHeight="507.65" Height="83.54">
<TableCell Name="Cell185" Border.Lines="Left, Right, Bottom" Text="质量负责人:&#13;&#10;&#13;&#10;&#13;&#10;日期: 年 月 日" VertAlign="Center" ColSpan="2"/>
<TableCell Name="Cell186" Border.Lines="All"/>
<TableCell Name="Cell187" Border.Lines="Left, Right, Bottom" Text="专业工程师:&#13;&#10;&#13;&#10;&#13;&#10;日期: 年 月 日" VertAlign="Center" ColSpan="2"/>
<TableCell Name="Cell188" Border.Lines="All"/>
<TableCell Name="Cell189" Border.Lines="Left, Right, Bottom" Text="专业工程师: &#13;&#10;&#13;&#10;&#13;&#10;日期: 年 月 日" VertAlign="Center" ColSpan="2"/>
<TableCell Name="Cell190" Border.Lines="All"/>
<TableCell Name="Cell191" Border.Lines="Left, Right, Bottom" Text="专业工程师: &#13;&#10;&#13;&#10;&#13;&#10;日期: 年 月 日" VertAlign="Center" ColSpan="2"/>
<TableCell Name="Cell192" Border.Lines="All"/>
</TableRow>
</TableObject>
<ChildBand Name="Child1" Top="549.46" Width="718.2" Height="20.79" PrintOnBottom="true"/>
</PageFooterBand>
</ReportPage>
</Report>