You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
5.8 KiB
Plaintext

<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="08/29/2013 11:23:55" ReportInfo.Modified="08/30/2013 14:29:03" ReportInfo.CreatorVersion="1.5.14.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 Table1_BeforePrint(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;materialcount&quot;);
rowData.Init();
Cell65.Text = rowData.Report.GetColumnValue(&quot;materialcount.matercode&quot;).ToString();
Cell66.Text = rowData.Report.GetColumnValue(&quot;materialcount.MaterialName&quot;).ToString();
Cell67.Text = rowData.Report.GetColumnValue(&quot;materialcount.Tongji&quot;).ToString();
Cell68.Text = rowData.Report.GetColumnValue(&quot;materialcount.unitname&quot;).ToString();
}
}
}
</ScriptText>
<Dictionary/>
<ReportPage Name="Page1">
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="56.7">
<TextObject Name="Text6" Left="236.25" Top="9.45" Width="236.25" Height="28.35" Text="物料投放统计" Font="Arial, 16pt, style=Bold"/>
</ReportTitleBand>
<PageHeaderBand Name="PageHeader1" Top="60.87" Width="718.2" Height="66.15">
<TableObject Name="tb_PptLot" Top="9.45" Width="642.55" Height="56.7" Border.Lines="All" BeforePrintEvent="tb_PptLot_BeforePrint">
<TableColumn Name="Column1" Width="75.04"/>
<TableColumn Name="Column2" Width="212.54"/>
<TableColumn Name="Column3" Width="75.04"/>
<TableColumn Name="Column4" Width="126.08"/>
<TableColumn Name="Column5" Width="75.04"/>
<TableColumn Name="Column6" Width="78.81"/>
<TableRow Name="Row1" Height="28.35">
<TableCell Name="Cell1" Border.Lines="All" Text="配方名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell2" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt">
<TextObject Name="Text1" Left="18.9" Width="94.5" Height="18.9" Text="[RecipeName]"/>
</TableCell>
<TableCell Name="Cell3" Border.Lines="All" Text="班组" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell4" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt">
<TextObject Name="Text2" Left="9.45" Width="94.5" Height="18.9" Text="[ClassName]"/>
</TableCell>
<TableCell Name="Cell5" Border.Lines="All" Text="班次" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell26" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt">
<TextObject Name="Text3" Width="94.5" Height="18.9" Text="[ShiftName]"/>
</TableCell>
</TableRow>
<TableRow Name="Row4" Height="28.35">
<TableCell Name="Cell16" Border.Lines="All" Text="开始时间" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell17" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt">
<TextObject Name="Text4" Left="18.9" Width="189" Height="18.9" Text="[StartDate]"/>
</TableCell>
<TableCell Name="Cell18" Border.Lines="All" Text="结束时间" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell19" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt" ColSpan="3">
<TextObject Name="Text5" Left="9.45" Width="217.35" Height="18.9" Text="[EndDate]"/>
</TableCell>
<TableCell Name="Cell20" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
<TableCell Name="Cell29" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="131.18" Width="718.2" Height="302.4">
<TableObject Name="Table1" Top="9.45" Width="644.8" Height="47.25" Border.Lines="All" BeforePrintEvent="Table1_BeforePrint">
<TableColumn Name="Column8" Width="161.2"/>
<TableColumn Name="Column9" Width="255.7"/>
<TableColumn Name="Column10" Width="113.95"/>
<TableColumn Name="Column15" Width="113.95"/>
<TableRow Name="Row5">
<TableCell Name="Cell31" Border.Lines="All" Text="物料编码" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell32" Border.Lines="All" Text="物料名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell33" Border.Lines="All" Text="重量" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
<TableCell Name="Cell62" Border.Lines="All" Text="单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt, style=Bold"/>
</TableRow>
<TableRow Name="Row9" Height="28.35">
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
</TableRow>
</TableObject>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="437.75" Width="718.2" Height="18.9"/>
</ReportPage>
</Report>