<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/22/2019 15:14:23" ReportInfo.Modified="05/23/2019 17:27:19" 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.Decimal"/>
      <Column Name="fc_credit" DataType="System.Decimal"/>
      <Column Name="dc" DataType="System.String"/>
      <Column Name="balance" DataType="System.Decimal"/>
      <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">
    <DataBand Name="Data1" Top="79.6" Width="718.2" StartNewPage="true" DataSource="Table2">
      <DataHeaderBand Name="DataHeader1" Width="718.2" Height="75.6" RepeatOnEveryPage="true">
        <TextObject Name="Text5" Top="18.9" Width="718.2" Height="37.8" Text="[Table2.account_name]明细账" HorzAlign="Center" Font="微软雅黑, 20pt"/>
        <TextObject Name="Text13" Top="56.7" Width="718.2" Height="18.9" Text="[日期范围]" HorzAlign="Center" Font="微软雅黑, 9pt"/>
      </DataHeaderBand>
      <DataBand Name="Data2" Top="134.85" Width="718.2" Height="29.48" DataSource="Table1">
        <TableObject Name="Table3" Width="716.87" Height="29.48">
          <TableColumn Name="Column1" Width="87.56"/>
          <TableColumn Name="Column2" Width="68.66"/>
          <TableColumn Name="Column3" Width="248.21"/>
          <TableColumn Name="Column4" Width="87.56"/>
          <TableColumn Name="Column5" Width="87.56"/>
          <TableColumn Name="Column6" Width="40.31"/>
          <TableColumn Name="Column7" Width="97.01"/>
          <TableRow Name="Row2" Height="29.48">
            <TableCell Name="Cell6" Border.Lines="All" Text="[Table1.date]" Format="Date" Format.Format="d" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt"/>
            <TableCell Name="Cell7" Border.Lines="All" Text="[Table1.voucher_title]" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt"/>
            <TableCell Name="Cell8" Border.Lines="All">
              <TextObject Name="Text2" Width="253.26" Height="28.35" Text="[Table1.exp]" VertAlign="Center" Font="微软雅黑, 9pt"/>
            </TableCell>
            <TableCell Name="Cell9" Border.Lines="All" Text="[Table1.debit]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 9pt"/>
            <TableCell Name="Cell10" Border.Lines="All" Text="[Table1.credit]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 9pt"/>
            <TableCell Name="Cell14" Border.Lines="All" Text="[Table1.dc]" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt"/>
            <TableCell Name="Cell15" Border.Lines="All" Text="[Table1.balance]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 9pt"/>
          </TableRow>
        </TableObject>
        <DataHeaderBand Name="DataHeader2" Top="83.6" Width="718.2" Height="47.25" Guides="28.35" RepeatOnEveryPage="true">
          <TextObject Name="Text7" Top="-3.02" Width="330.75" Height="18.9" Text="科目:【[Table1.account_code]】[Table1.account_name]" Font="微软雅黑, 9pt"/>
          <TableObject Name="Table4" Top="18.9" Width="716.87" Height="28.35" WrappedGap="37.8">
            <TableColumn Name="Column8" Width="87.56"/>
            <TableColumn Name="Column9" Width="68.66"/>
            <TableColumn Name="Column10" Width="248.21"/>
            <TableColumn Name="Column11" Width="87.56"/>
            <TableColumn Name="Column12" Width="87.56"/>
            <TableColumn Name="Column13" Width="40.31"/>
            <TableColumn Name="Column14" Width="97.01"/>
            <TableRow Name="Row3" Height="28.35">
              <TableCell Name="Cell16" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold"/>
              <TableCell Name="Cell17" Border.Lines="All" Text="凭证号" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold"/>
              <TableCell Name="Cell18" Border.Lines="All" Text="摘要" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold"/>
              <TableCell Name="Cell19" Border.Lines="All" Text="借方" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold"/>
              <TableCell Name="Cell20" Border.Lines="All" Text="贷方" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold"/>
              <TableCell Name="Cell21" Border.Lines="All" Text="方向" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold"/>
              <TableCell Name="Cell22" Border.Lines="All" Text="余额" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt, style=Bold"/>
            </TableRow>
          </TableObject>
        </DataHeaderBand>
        <DataFooterBand Name="DataFooter1" Top="168.33" Width="718.2" Height="28.35" RepeatOnEveryPage="true">
          <TextObject Name="Text1" Top="1.89" Width="510.3" Height="18.9" Text="编制单位:[公司名称]" VertAlign="Bottom" Font="微软雅黑, 9pt"/>
        </DataFooterBand>
      </DataBand>
    </DataBand>
  </ReportPage>
</Report>
