20251010 管道焊缝检测委托单

This commit is contained in:
2025-10-10 21:56:53 +08:00
parent d6016a9e3e
commit 54e218ae87
3 changed files with 60 additions and 5 deletions
@@ -339,10 +339,12 @@ namespace FineUIPro.Web.ContinuousPrint
string isoid = rows2[0]["ISO_ID"].ToString();
string jotyId = rows2[0]["JOTY_ID"].ToString();
int jointCount = BLL.HJGL_PW_JointInfoService.GetJointCountByIsoId(isoid, jotyId);
string pointDate = string.Format("{0:yyyy-MM-dd}", rows2[0]["PointDate"]);
//传参
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("JointCount", jointCount.ToString());
keyValuePairs.Add("CheckCount", (rows.Count() - 1).ToString());
keyValuePairs.Add("CheckCount", (rows2.Count() - 1).ToString());
keyValuePairs.Add("pointDate", pointDate);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\管道焊缝检测委托单.frx";
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/20/2024 09:40:31" ReportInfo.Modified="05/28/2025 15:16:50" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/20/2024 09:40:31" ReportInfo.Modified="10/10/2025 21:47:40" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@@ -41,7 +41,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFVzlc1kQTT5OpMzXzDjutdQ==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFPz3ajaxZMvq2A8dZOM8eLw==">
<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="InstallastionName" DataType="System.String" PropName="image_series"/>
@@ -71,6 +71,7 @@ namespace FastReport
</MsSqlDataConnection>
<Parameter Name="JointCount" DataType="System.String"/>
<Parameter Name="CheckCount" DataType="System.String"/>
<Parameter Name="pointDate" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" FirstPageSource="4" OtherPagesSource="4" Guides="0,623.64,159.97,30.24,89.96,398.65,32.51,39.77,85.13,77.57,66.53,81.27,479.54,70.01,313.52,241.24,557.11,273.75,623.26,623.36,155.84,311.68,467.52">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="349.65" Guides="0,349.65,103.95,18.9,56.7,75.6,28.35,132.3,160.65,198.45,37.8,236.25,274.05,311.85">
@@ -292,10 +293,10 @@ namespace FastReport
<TableCell Name="Cell239" Border.Lines="Left" Text="签字:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row17" Height="26.46">
<TableCell Name="Cell241" Border.Lines="Right" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell241" Border.Lines="Right" Text="日期:[pointDate]" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell242" Border.Lines="Right" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell243" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell244" Border.Lines="Left" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell244" Border.Lines="Left" Text="日期:[pointDate]" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>