99 lines
5.7 KiB
XML
99 lines
5.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Report ReportInfo.Created="08/22/2017 01:05:12" ReportInfo.Modified="09/13/2017 19:44:15" ReportInfo.CreatorVersion="1.2.47.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 Cell5_AfterData(object sender, EventArgs e)
|
|
{
|
|
if(Cell5.Text.Contains("小计"))
|
|
{
|
|
|
|
Font f = new System.Drawing.Font("宋体", 15F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
|
|
Cell5.Font=f;
|
|
}
|
|
else if(Cell5.Text.Contains("合计"))
|
|
{
|
|
|
|
Font f = new System.Drawing.Font("宋体", 15F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
|
|
Cell5.Font=f;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
</ScriptText>
|
|
<Dictionary>
|
|
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlq+rW0RkboK+/8CKGGYUID3ctBV8q9SvKYxl3iiE7vBnh7Tgou0+4WFf3NfmPSvHVFbgAuMkhKi1+dg3SnVy9+79pRZi64OOHjC6MK1u8gcNFgi3jlsydEl1HlIE2kOieySm7C003q2bWQCvM/TyXduJ7G1TcD9tAbCyGQedNyOfiriQxAxryW7CfIJRG3OAt8">
|
|
<TableDataSource Name="Table" Alias="Table1" DataType="System.Int32" Enabled="true" SelectCommand="select '' as t1">
|
|
<Column Name="t1" DataType="System.String"/>
|
|
</TableDataSource>
|
|
</MsSqlDataConnection>
|
|
<Parameter Name="start" DataType="System.String"/>
|
|
<Parameter Name="end" DataType="System.String"/>
|
|
<Parameter Name="sffstj" DataType="System.String"/>
|
|
</Dictionary>
|
|
<ReportPage Name="Page1">
|
|
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="103.95">
|
|
<TextObject Name="Text1" Width="718.2" Height="37.8" Text="疫 苗 注 射 统 计" HorzAlign="Center" VertAlign="Center" Font="宋体, 22pt, style=Bold"/>
|
|
<TextObject Name="Text2" Left="9.45" Top="37.8" Width="94.5" Height="28.35" Text="汇总日期:" VertAlign="Center" Font="宋体, 12pt"/>
|
|
<TextObject Name="Text4" Left="538.65" Top="37.8" Width="94.5" Height="28.35" Text="所附单据" VertAlign="Center" Font="宋体, 12pt"/>
|
|
<TextObject Name="Text5" Left="623.7" Top="37.8" Width="47.25" Height="28.35" Border.Lines="Bottom" VertAlign="Center" Font="宋体, 12pt"/>
|
|
<TextObject Name="Text6" Left="670.95" Top="37.8" Width="37.8" Height="28.35" Text="张" VertAlign="Center" Font="宋体, 12pt"/>
|
|
<TextObject Name="Text7" Left="103.95" Top="37.8" Width="330.75" Height="28.35" Text="[Date]" Format="Date" Format.Format="D" VertAlign="Center" Font="宋体, 12pt"/>
|
|
<TextObject Name="Text3" Left="9.45" Top="75.6" Width="557.55" Height="18.9" Text="时间段:[start]至[end]" Font="宋体, 12pt"/>
|
|
</ReportTitleBand>
|
|
<DataBand Name="Data1" Top="149.75" Width="718.2" Height="28.35" DataSource="Table">
|
|
<TableObject Name="Table1" Left="9.45" Width="700.8" Height="28.35">
|
|
<TableColumn Name="Column7" Width="211.3"/>
|
|
<TableColumn Name="Column8" Width="60.1"/>
|
|
<TableColumn Name="Column9" Width="79"/>
|
|
<TableColumn Name="Column10" Width="201.85"/>
|
|
<TableColumn Name="Column11" Width="60.1"/>
|
|
<TableColumn Name="Column12" Width="88.45"/>
|
|
<TableRow Name="Row2" Height="28.35">
|
|
<TableCell Name="Cell7" Border.Lines="All" Text="[Table1.ymname1]" VertAlign="Center" Font="宋体, 9pt"/>
|
|
<TableCell Name="Cell8" Border.Lines="All" Text="[Table1.sl1]" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
|
|
<TableCell Name="Cell9" Border.Lines="All" Text="[Table1.je1]" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
|
|
<TableCell Name="Cell10" Border.Lines="All" Text="[Table1.ymname2]" VertAlign="Center" Font="宋体, 9pt"/>
|
|
<TableCell Name="Cell11" Border.Lines="All" Text="[Table1.sl2]" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
|
|
<TableCell Name="Cell12" Border.Lines="All" Text="[Table1.je2]" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
|
|
</TableRow>
|
|
</TableObject>
|
|
<DataHeaderBand Name="DataHeader1" Top="107.95" Width="718.2" Height="37.8">
|
|
<TableObject Name="Table1" Left="9.45" Width="700.2" Height="37.8">
|
|
<TableColumn Name="Column1" Width="211.2"/>
|
|
<TableColumn Name="Column2" Width="60"/>
|
|
<TableColumn Name="Column3" Width="78.9"/>
|
|
<TableColumn Name="Column4" Width="201.75"/>
|
|
<TableColumn Name="Column5" Width="60"/>
|
|
<TableColumn Name="Column6" Width="88.35"/>
|
|
<TableRow Name="Row1" Height="37.8">
|
|
<TableCell Name="Cell1" Border.Lines="All" Text="疫苗名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt, style=Bold"/>
|
|
<TableCell Name="Cell2" Border.Lines="All" Text="数量" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt, style=Bold"/>
|
|
<TableCell Name="Cell3" Border.Lines="All" Text="金额" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt, style=Bold"/>
|
|
<TableCell Name="Cell4" Border.Lines="All" Text="疫苗名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt, style=Bold"/>
|
|
<TableCell Name="Cell5" Border.Lines="All" Text="数量" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt, style=Bold"/>
|
|
<TableCell Name="Cell6" Border.Lines="All" Text="金额" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt, style=Bold"/>
|
|
</TableRow>
|
|
</TableObject>
|
|
</DataHeaderBand>
|
|
</DataBand>
|
|
</ReportPage>
|
|
</Report>
|