20260114 焊缝硬度试验委托单

This commit is contained in:
毕文静 2026-01-14 10:47:29 +08:00
parent 50beaf476e
commit 6e6d2bd03f
3 changed files with 304 additions and 22 deletions

View File

@ -215,12 +215,12 @@ namespace FineUIPro.Web.ContinuousPrint
dt.Columns.Add("ISO_IsoNo");
dt.Columns.Add("ItemName");
dt.Columns.Add("WME_Name");
dt.Columns.Add("HotProessState");
dt.Columns.Add("SurfaceState");
dt.Columns.Add("TestMethod");
dt.Columns.Add("TestStandard");
//dt.Columns.Add("HotProessState");
//dt.Columns.Add("SurfaceState");
dt.Columns.Add("TestMethod");//检验方法
dt.Columns.Add("TestStandard");//检验标准
dt.Columns.Add("TestRate");
dt.Columns.Add("checkCount");
//dt.Columns.Add("checkCount");
DataRow[] rows = tb.DefaultView.ToTable().Select();
foreach (var row in rows)
@ -236,12 +236,12 @@ namespace FineUIPro.Web.ContinuousPrint
newRows["ISO_IsoNo"] = row["ISO_IsoNo"].ToString();
newRows["ItemName"] = row["ItemName"].ToString();
newRows["WME_Name"] = row["WME_Name"].ToString();
newRows["HotProessState"] = row["HotProessState"].ToString();
newRows["SurfaceState"] = row["SurfaceState"].ToString();
//newRows["HotProessState"] = row["HotProessState"].ToString();
//newRows["SurfaceState"] = row["SurfaceState"].ToString();
newRows["TestMethod"] = row["TestMethod"].ToString();
newRows["TestStandard"] = row["TestStandard"].ToString();
newRows["TestRate"] = row["TestRate"].ToString();
newRows["checkCount"] = tb2.Rows.Count - 1; //row["checkCount"].ToString();
//newRows["checkCount"] = tb2.Rows.Count - 1; //row["checkCount"].ToString();
dt.Rows.Add(newRows);
}
BLL.Common.FastReportService.AddFastreportTable(dt);
@ -250,9 +250,9 @@ namespace FineUIPro.Web.ContinuousPrint
dt2.TableName = "Data";
dt2.Columns.Add("Number");
dt2.Columns.Add("JOT_JointNo");
dt2.Columns.Add("WED_Code");
dt2.Columns.Add("STE_Code");
dt2.Columns.Add("JOT_JointDesc");
dt2.Columns.Add("STE_Code");
//dt2.Columns.Add("WED_Code");
dt2.Columns.Add("HotProessDate");
dt2.Columns.Add("RecordChartNo");
@ -269,9 +269,9 @@ namespace FineUIPro.Web.ContinuousPrint
newRows["Number"] = i + 1;
}
newRows["JOT_JointNo"] = row["JOT_JointNo"].ToString();
newRows["WED_Code"] = row["WED_Code"].ToString();
newRows["STE_Code"] = row["STE_Code"].ToString();
newRows["JOT_JointDesc"] = row["JOT_JointDesc"].ToString();
newRows["STE_Code"] = row["STE_Code"].ToString();
//newRows["WED_Code"] = row["WED_Code"].ToString();
newRows["HotProessDate"] = row["HotProessDate"].ToString();
newRows["RecordChartNo"] = row["RecordChartNo"].ToString();
dt2.Rows.Add(newRows);
@ -279,7 +279,7 @@ namespace FineUIPro.Web.ContinuousPrint
}
BLL.Common.FastReportService.AddFastreportTable(dt2);
initTemplatePath = "File\\Fastreport\\硬度试验委托单.frx";
initTemplatePath = "File\\Fastreport\\焊缝硬度试验委托单.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));

View File

@ -0,0 +1,282 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/13/2026 17:03:19" ReportInfo.Modified="01/13/2026 17:50:50" 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 void Table3_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
// now enumerate the data source and print the table body
while (rowData.HasMoreRows)
{
// print the table body
Table3.PrintRow(0);
Table3.PrintColumns();
// go next data source row
rowData.Next();
}
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFdsouwxp93XR0jM1/Uow/kQ==">
<TableDataSource Name="MainData" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="MainData">
<Column Name="ProjectName" DataType="System.String" PropName="attach_image_id"/>
<Column Name="InstallationName" DataType="System.String" PropName="image_series"/>
<Column Name="InstallationCode" DataType="System.String" PropName="file_name"/>
<Column Name="TrustUnitName" DataType="System.String" PropName="file_size"/>
<Column Name="HotHardCode" DataType="System.String" PropName="file_type"/>
<Column Name="checkUnitName" DataType="System.String" PropName="created_date"/>
<Column Name="ISO_IsoNo" DataType="System.String" PropName="created_by"/>
<Column Name="ItemName" DataType="System.String" PropName="series_desc"/>
<Column Name="WME_Name" DataType="System.String" PropName="file_path"/>
<Column Name="TestMethod" DataType="System.String" PropName="series_timestamp"/>
<Column Name="TestStandard" DataType="System.String" PropName="Column"/>
<Column Name="TestRate" DataType="System.String" PropName="Column"/>
</TableDataSource>
<TableDataSource Name="Data" DataType="System.Int32" PropName="AttachFile" Enabled="true" TableName="Data">
<Column Name="Number" DataType="System.String" PropName="AttachFileId"/>
<Column Name="JOT_JointNo" DataType="System.String" PropName="ToKeyId"/>
<Column Name="JOT_JointDesc" DataType="System.String" PropName="AttachSource"/>
<Column Name="STE_Code" DataType="System.String" PropName="AttachUrl"/>
<Column Name="HotProessDate" DataType="System.String" PropName="MenuId"/>
<Column Name="RecordChartNo" DataType="System.String" PropName="Column"/>
</TableDataSource>
</MsSqlDataConnection>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="20" Guides="0,623.7,141.75,368.55,453.6,226.8,481.95,28.35,129.15,88.2,327.6,107.1,50.4,428.4,116.55,40.95,170.1,277.2,378,507.15,78.75,623.72,155.93,311.86,467.79">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="340.1" Guides="0,94.51,61.43,33.08,94.5,340.1,30.7,61.4,92.10001,122.8,153.5,184.2,214.9,245.6">
<TableObject Name="Table1" Width="623.7" Height="94.51">
<TableColumn Name="Column1" Width="141.75"/>
<TableColumn Name="Column2" Width="226.8"/>
<TableColumn Name="Column3" Width="85.05"/>
<TableColumn Name="Column4" Width="28.35"/>
<TableColumn Name="Column5" Width="141.75"/>
<TableRow Name="Row1" Height="61.43">
<TableCell Name="Cell1" Border.Lines="All" Text="浙江石油化工&#13;&#10;有限公司" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="All" Text="焊缝硬度试验委托单" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" RowSpan="2"/>
<TableCell Name="Cell3" Border.Lines="Left, Top" Text="工程名称:" Font="宋体, 10.5pt"/>
<TableCell Name="Cell4" Border.Lines="Right, Top" Text="[MainData.ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell5" Border.Lines="Left, Right, Top" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row2" Height="33.08">
<TableCell Name="Cell6" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell7" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell9" Border.Lines="Left, Right, Bottom" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell10" Border.Lines="Right, Bottom" Text="管道安装" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
<TableObject Name="Table2" Top="94.5" Width="623.7" Height="245.6" Border.Lines="Left, Bottom">
<TableColumn Name="Column6" Width="40.95"/>
<TableColumn Name="Column7" Width="88.2"/>
<TableColumn Name="Column8" Width="40.95"/>
<TableColumn Name="Column9" Width="107.1"/>
<TableColumn Name="Column10" Width="50.4"/>
<TableColumn Name="Column11" Width="50.4"/>
<TableColumn Name="Column12" Width="50.4"/>
<TableColumn Name="Column13" Width="78.75"/>
<TableColumn Name="Column14" Width="116.55"/>
<TableRow Name="Row3" Height="30.7">
<TableCell Name="Cell11" Border.Lines="Left, Right, Bottom" Text="装置名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell12" Border.Lines="Left, Right, Bottom" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell13" Border.Lines="Left, Right, Bottom" Text="[MainData.InstallationName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell14" Border.Lines="Left, Right, Bottom" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="Left, Right, Bottom" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell36" Border.Lines="Left, Right, Bottom" Text="装置主项号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell37" Border.Lines="Left, Right, Bottom" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell38" Border.Lines="Left, Right, Bottom" Text="[MainData.InstallationCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell39" Border.Lines="Left, Right, Bottom" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row4" Height="30.7">
<TableCell Name="Cell16" Border.Lines="All" Text="委托单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell17" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell18" Border.Lines="All" Text="[MainData.TrustUnitName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell19" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell20" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell40" Border.Lines="All" Text="委托单编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell41" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell42" Border.Lines="All" Text="[MainData.HotHardCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell43" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="30.7">
<TableCell Name="Cell21" Border.Lines="All" Text="承包商" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell22" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell23" Border.Lines="All" Text="浙江鼎盛石化工程有限公司" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell24" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell25" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell44" Border.Lines="All" Text="检测单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell46" Border.Lines="All" Text="[MainData.checkUnitName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell47" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row6" Height="30.7">
<TableCell Name="Cell26" Border.Lines="All" Text="管线(设备)编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell27" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell28" Border.Lines="All" Text="[MainData.ISO_IsoNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell29" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell48" Border.Lines="All" Text="检件名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell49" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell50" Border.Lines="All" Text="[MainData.ItemName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell51" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="30.7">
<TableCell Name="Cell31" Border.Lines="All" Text="焊接方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell32" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell33" Border.Lines="All" Text="[MainData.WME_Name]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell52" Border.Lines="All" Text="热处理状态" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell53" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" Text="完成" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="30.7">
<TableCell Name="Cell56" Border.Lines="All" Text="验收标准" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell57" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell58" Border.Lines="All" Text="/" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell59" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell60" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="All" Text="检验方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="All" Text="[MainData.TestMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="30.7">
<TableCell Name="Cell65" Border.Lines="All" Text="检验标准" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell67" Border.Lines="All" Text="[MainData.TestStandard]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="All" Text="检测比例" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell71" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" Text="[MainData.TestRate]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell73" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="30.7">
<TableCell Name="Cell74" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell75" Border.Lines="All" Text="焊缝编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell77" Border.Lines="All" Text="规格mm" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell78" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell80" Border.Lines="All" Text="热处理时间" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell81" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell82" Border.Lines="All" Text="热处理曲线编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="344.1" Width="623.7" Height="34.02" Guides="0,34.02">
<TableObject Name="Table3" Width="623.7" Height="34.02" Border.Lines="Left, Bottom" ManualBuildEvent="Table3_ManualBuild">
<TableColumn Name="Column15" Width="40.95"/>
<TableColumn Name="Column16" Width="88.2"/>
<TableColumn Name="Column17" Width="40.95"/>
<TableColumn Name="Column18" Width="107.1"/>
<TableColumn Name="Column19" Width="50.4"/>
<TableColumn Name="Column20" Width="50.4"/>
<TableColumn Name="Column21" Width="50.4"/>
<TableColumn Name="Column22" Width="78.75"/>
<TableColumn Name="Column23" Width="116.55"/>
<TableRow Name="Row18" Height="34.02">
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.Number]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.JOT_JointNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell148" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell149" Border.Lines="All" Text="[Data.JOT_JointDesc]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell150" Border.Lines="All" Text="[Data.STE_Code]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell151" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell152" Border.Lines="All" Text="[Data.HotProessDate]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell153" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell154" Border.Lines="All" Text="[Data.RecordChartNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="420.14" Width="623.7">
<ChildBand Name="Child1" Top="382.12" Width="623.7" Height="34.02" Guides="0,34.02" FillUnusedSpace="true">
<TableObject Name="Table4" Width="623.7" Height="34.02" Border.Lines="Left, Bottom">
<TableColumn Name="Column24" Width="40.95"/>
<TableColumn Name="Column25" Width="88.2"/>
<TableColumn Name="Column26" Width="40.95"/>
<TableColumn Name="Column27" Width="107.1"/>
<TableColumn Name="Column28" Width="50.4"/>
<TableColumn Name="Column29" Width="50.4"/>
<TableColumn Name="Column30" Width="50.4"/>
<TableColumn Name="Column31" Width="78.75"/>
<TableColumn Name="Column32" Width="116.55"/>
<TableRow Name="Row19" Height="34.02">
<TableCell Name="Cell155" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell156" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell157" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell158" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell159" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell160" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell161" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell162" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell163" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="424.14" Width="623.7" Height="154.98" Guides="0,154.98,37.8,69.93,98.28,126.63">
<TableObject Name="Table5" Width="623.72" Height="154.98" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column33" Width="155.93"/>
<TableColumn Name="Column34" Width="155.93"/>
<TableColumn Name="Column35" Width="155.93"/>
<TableColumn Name="Column36" Width="155.93"/>
<TableRow Name="Row20" Height="37.8">
<TableCell Name="Cell164" Border.Lines="All" Text="注:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell165" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell166" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell167" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row21" Height="32.13">
<TableCell Name="Cell169" Border.Lines="All" Text="承包商" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell170" Border.Lines="All" Text="监理机构" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell171" Border.Lines="All" Text="项目部" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell172" Border.Lines="All" Text="检测单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row22" Height="28.35">
<TableCell Name="Cell174" Border.Lines="Left, Right, Top" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell175" Border.Lines="Left, Right, Top" Text="监理工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell176" Border.Lines="Left, Right, Top" Text="工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell177" Border.Lines="Left, Right, Top" Text="接收人:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row23" Height="28.35">
<TableCell Name="Cell179" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell180" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell181" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell182" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row24" Height="28.35">
<TableCell Name="Cell184" Border.Lines="Left, Right, Bottom" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell185" Border.Lines="Left, Right, Bottom" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell186" Border.Lines="Left, Right, Bottom" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell187" Border.Lines="Left, Right, Bottom" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -645,12 +645,12 @@ namespace FineUIPro.Web.HJGL.HotHardManage
dt.Columns.Add("ISO_IsoNo");
dt.Columns.Add("ItemName");
dt.Columns.Add("WME_Name");
dt.Columns.Add("HotProessState");
dt.Columns.Add("SurfaceState");
//dt.Columns.Add("HotProessState");
//dt.Columns.Add("SurfaceState");
dt.Columns.Add("TestMethod");
dt.Columns.Add("TestStandard");
dt.Columns.Add("TestRate");
dt.Columns.Add("checkCount");
//dt.Columns.Add("checkCount");
DataRow[] rows = tb.DefaultView.ToTable().Select();
foreach (var row in rows)
@ -666,12 +666,12 @@ namespace FineUIPro.Web.HJGL.HotHardManage
newRows["ISO_IsoNo"] = row["ISO_IsoNo"].ToString();
newRows["ItemName"] = row["ItemName"].ToString();
newRows["WME_Name"] = row["WME_Name"].ToString();
newRows["HotProessState"] = row["HotProessState"].ToString();
newRows["SurfaceState"] = row["SurfaceState"].ToString();
//newRows["HotProessState"] = row["HotProessState"].ToString();
//newRows["SurfaceState"] = row["SurfaceState"].ToString();
newRows["TestMethod"] = row["TestMethod"].ToString();
newRows["TestStandard"] = row["TestStandard"].ToString();
newRows["TestRate"] = row["TestRate"].ToString();
newRows["checkCount"] = tb2.Rows.Count - 1; //row["checkCount"].ToString();
//newRows["checkCount"] = tb2.Rows.Count - 1; //row["checkCount"].ToString();
dt.Rows.Add(newRows);
}
BLL.Common.FastReportService.AddFastreportTable(dt);
@ -681,7 +681,7 @@ namespace FineUIPro.Web.HJGL.HotHardManage
dt2.TableName = "Data";
dt2.Columns.Add("Number");
dt2.Columns.Add("JOT_JointNo");
dt2.Columns.Add("WED_Code");
//dt2.Columns.Add("WED_Code");
dt2.Columns.Add("STE_Code");
dt2.Columns.Add("JOT_JointDesc");
dt2.Columns.Add("HotProessDate");
@ -700,7 +700,7 @@ namespace FineUIPro.Web.HJGL.HotHardManage
newRows["Number"] = i + 1;
}
newRows["JOT_JointNo"] = row["JOT_JointNo"].ToString();
newRows["WED_Code"] = row["WED_Code"].ToString();
//newRows["WED_Code"] = row["WED_Code"].ToString();
newRows["STE_Code"] = row["STE_Code"].ToString();
newRows["JOT_JointDesc"] = row["JOT_JointDesc"].ToString();
newRows["HotProessDate"] = row["HotProessDate"].ToString();
@ -710,7 +710,7 @@ namespace FineUIPro.Web.HJGL.HotHardManage
}
BLL.Common.FastReportService.AddFastreportTable(dt2);
initTemplatePath = "File\\Fastreport\\硬度试验委托单.frx";
initTemplatePath = "File\\Fastreport\\焊缝硬度试验委托单.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));