<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/22/2019 15:14:23" ReportInfo.Modified="05/21/2019 15:45:03" ReportInfo.CreatorVersion="2019.1.5.0">
  <ScriptText>using System;
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
  {
  }
}
</ScriptText>
  <Dictionary>
    <TableDataSource Name="Table1" ReferenceName="Data.Table1" DataType="System.Int32" Enabled="true">
      <Column Name="type" DataType="System.String" />
      <Column Name="date" DataType="System.String" />
      <Column Name="voucher_title" DataType="System.String" />
      <Column Name="exp" DataType="System.String" />
      <Column Name="fcur" DataType="System.String" />
      <Column Name="debit" DataType="System.String" />
      <Column Name="credit" DataType="System.String" />
      <Column Name="fc_debit" DataType="System.String" />
      <Column Name="fc_credit" DataType="System.String" />
      <Column Name="dc" DataType="System.String" />
      <Column Name="balance" DataType="System.String" />
      <Column Name="fc_balance" DataType="System.String" />
      <Column Name="account_code" DataType="System.String" />
      <Column Name="account_name" DataType="System.String" />
      <Column Name="account_period" DataType="System.String" />
    </TableDataSource>
    <TableDataSource Name="Table2" ReferenceName="Data.Table2" DataType="System.Int32" Enabled="true">
      <Column Name="account_code" DataType="System.String" />
      <Column Name="account_name" DataType="System.String" />
    </TableDataSource>
    <Relation Name="Table2_Table1" ParentDataSource="Table2" ChildDataSource="Table1" ParentColumns="account_code" ChildColumns="account_code" Enabled="true" />
    <Parameter Name="公司名称" DataType="System.String" />
    <Parameter Name="日期范围" DataType="System.String" />
  </Dictionary>
  <ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9">
    <DataBand Name="Data1" Top="79.6" Width="1047.06" StartNewPage="true" DataSource="Table2">
      <DataHeaderBand Name="DataHeader1" Width="1047.06" Height="75.6" RepeatOnEveryPage="true">
        <TextObject Name="Text5" Top="18.9" Width="1048.95" Height="37.8" Text="[Table2.account_name]明细账" HorzAlign="Center" Font="微软雅黑, 20pt" />
        <TextObject Name="Text13" Top="56.7" Width="1058.4" Height="18.9" Text="[日期范围]" HorzAlign="Center" Font="微软雅黑, 9pt" />
        <TextObject Name="Text14" Left="-9450" Top="-9450" Width="330.75" Height="18.9" Text="科目:【[Table1.account_code]】[Table1.account_name]" Font="12,宋体pt" />
      </DataHeaderBand>
      <DataBand Name="Data2" Top="144.3" Width="1047.06" Height="28.35" DataSource="Table1">
        <TableObject Name="Table6" Width="1049.28" Height="28.35" WrappedGap="37.8">
          <TableColumn Name="Column31" Width="104.04" />
          <TableColumn Name="Column32" Width="75.69" />
          <TableColumn Name="Column33" Width="204.12" />
          <TableColumn Name="Column34" Width="66.18" />
          <TableColumn Name="Column35" Width="94.59" />
          <TableColumn Name="Column36" Width="98.83" />
          <TableColumn Name="Column37" Width="94.59" />
          <TableColumn Name="Column38" Width="89.38" />
          <TableColumn Name="Column39" Width="37.89" />
          <TableColumn Name="Column40" Width="94.59" />
          <TableColumn Name="Column41" Width="89.38" />
          <TableRow Name="Row7" Height="28.35">
            <TableCell Name="Cell62" Border.Lines="All" Text="[Table1.date]" HorzAlign="Center" VertAlign="Center" Font="12,宋体pt" />
            <TableCell Name="Cell63" Border.Lines="All" Text="[Table1.voucher_title]" HorzAlign="Center" VertAlign="Center" Font="12,宋体pt" />
            <TableCell Name="Cell64" Border.Lines="All" Text="[Table1.exp]" Font="12,宋体pt" />
            <TableCell Name="Cell65" Border.Lines="All" Text="[Table1.fcur]" HorzAlign="Center" VertAlign="Center" Font="12,宋体pt" />
            <TableCell Name="Cell66" Border.Lines="All" Text="[Table1.fc_debit]" HorzAlign="Right" VertAlign="Center" Font="12,宋体pt" />
            <TableCell Name="Cell67" Border.Lines="All" Text="[Table1.debit]" HorzAlign="Right" VertAlign="Center" Font="12,宋体pt" />
            <TableCell Name="Cell68" Border.Lines="All" Text="[Table1.fc_credit]" HorzAlign="Right" VertAlign="Center" Font="12,宋体pt" />
            <TableCell Name="Cell69" Border.Lines="All" Text="[Table1.credit]" HorzAlign="Right" VertAlign="Center" Font="12,宋体pt" />
            <TableCell Name="Cell70" Border.Lines="All" Text="[Table1.dc]" HorzAlign="Center" VertAlign="Center" Font="12,宋体pt" />
            <TableCell Name="Cell71" Border.Lines="All" Text="[Table1.fc_balance]" HorzAlign="Right" VertAlign="Center" Font="12,宋体pt" />
            <TableCell Name="Cell72" Border.Lines="All" Text="[Table1.balance]" HorzAlign="Right" VertAlign="Center" Font="12,宋体pt" />
          </TableRow>
        </TableObject>
        <DataHeaderBand Name="DataHeader2" Top="83.6" Width="1047.06" Height="56.7" Guides="28.35" RepeatOnEveryPage="true">
          <TextObject Name="Text7" Top="-3.78" Width="330.75" Height="18.9" Text="科目:【[Table1.account_code]】[Table1.account_name]" Font="12,宋体pt" />
          <TableObject Name="Table4" Top="18.9" Width="1049.28" Height="37.8" WrappedGap="37.8">
            <TableColumn Name="Column8" Width="104.04" />
            <TableColumn Name="Column9" Width="75.69" />
            <TableColumn Name="Column10" Width="204.12" />
            <TableColumn Name="Column19" Width="66.18" />
            <TableColumn Name="Column11" Width="94.59" />
            <TableColumn Name="Column15" Width="98.83" />
            <TableColumn Name="Column12" Width="94.59" />
            <TableColumn Name="Column16" Width="89.38" />
            <TableColumn Name="Column13" Width="37.89" />
            <TableColumn Name="Column14" Width="94.59" />
            <TableColumn Name="Column18" Width="89.38" />
            <TableRow Name="Row3">
              <TableCell Name="Cell16" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold" RowSpan="2" />
              <TableCell Name="Cell17" Border.Lines="All" Text="凭证号" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold" RowSpan="2" />
              <TableCell Name="Cell18" Border.Lines="All" Text="摘要" Padding="0, 0, 0, 0" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold" RowSpan="2" />
              <TableCell Name="Cell38" Border.Lines="All" Text="币别" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold" RowSpan="2" />
              <TableCell Name="Cell19" Border.Lines="All" Text="借方余额" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold" ColSpan="2" />
              <TableCell Name="Cell30" />
              <TableCell Name="Cell20" Border.Lines="All" Text="贷方余额" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold" ColSpan="2" />
              <TableCell Name="Cell32" />
              <TableCell Name="Cell21" Border.Lines="All" Text="方向" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold" RowSpan="2" />
              <TableCell Name="Cell22" Border.Lines="All" Text="余额" HorzAlign="Center" Font="微软雅黑, 9pt, style=Bold" ColSpan="2" />
              <TableCell Name="Cell36" />
            </TableRow>
            <TableRow Name="Row4">
              <TableCell Name="Cell23" />
              <TableCell Name="Cell24" />
              <TableCell Name="Cell25" />
              <TableCell Name="Cell39" />
              <TableCell Name="Cell26" Border.Lines="All" Text="原币" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold" />
              <TableCell Name="Cell31" Border.Lines="All" Text="本位币" HorzAlign="Center" Font="微软雅黑, 9pt, style=Bold" />
              <TableCell Name="Cell27" Border.Lines="All" Text="原币" HorzAlign="Center" Font="微软雅黑, 9pt, style=Bold" />
              <TableCell Name="Cell33" Border.Lines="All" Text="本位币" HorzAlign="Center" Font="微软雅黑, 9pt, style=Bold" />
              <TableCell Name="Cell28" />
              <TableCell Name="Cell29" Border.Lines="All" Text="原币" HorzAlign="Center" Font="微软雅黑, 9pt, style=Bold" />
              <TableCell Name="Cell37" Border.Lines="All" Text="本位币" HorzAlign="Center" Font="微软雅黑, 9pt, style=Bold" />
            </TableRow>
          </TableObject>
        </DataHeaderBand>
        <DataFooterBand Name="DataFooter1" Top="176.65" Width="1047.06" Height="20.79" RepeatOnEveryPage="true">
          <TextObject Name="Text1" Top="1.89" Width="500.85" Height="18.9" Text="编制单位:[公司名称]" Font="12,宋体pt" />
        </DataFooterBand>
      </DataBand>
    </DataBand>
  </ReportPage>
</Report>