<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/22/2019 15:14:23" ReportInfo.Modified="05/21/2019 10:15:16" 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" PaperWidth="400" PaperHeight="290" FirstPageSource="261" OtherPagesSource="261">
    <ReportTitleBand Name="ReportTitle1" Width="1436.4" Height="123.98">
      <TableObject Name="Table5" Left="9.45" Top="9.45" Width="1408.05" Height="85.05">
        <TableColumn Name="Column17" Width="1408.05"/>
        <TableRow Name="Row4" Height="85.05">
          <TableCell Name="Cell25" Border.Lines="All">
            <TextObject Name="Text1" Top="56.7" Width="1408.05" Height="28.35" Text="编制单位：[公司名称]" VertAlign="Center" Font="微软雅黑, 12pt"/>
            <TextObject Name="Text3" Width="1408.05" Height="28.35" Text="明细账" HorzAlign="Center" VertAlign="Bottom" Font="微软雅黑, 12pt"/>
            <TextObject Name="Text16" Top="28.35" Width="1408.05" Height="28.35" Text="[日期范围]" HorzAlign="Center" VertAlign="Bottom" Font="微软雅黑, 12pt"/>
          </TableCell>
        </TableRow>
      </TableObject>
      <TableObject Name="Table3" Left="9.45" Top="94.5" Width="1408.08" Height="29.48">
        <TableColumn Name="Column16" Width="321.47"/>
        <TableColumn Name="Column1" Width="97.18"/>
        <TableColumn Name="Column2" Width="68.83"/>
        <TableColumn Name="Column3" Width="361.78"/>
        <TableColumn Name="Column4" Width="153.88"/>
        <TableColumn Name="Column5" Width="153.88"/>
        <TableColumn Name="Column6" Width="78.28"/>
        <TableColumn Name="Column7" Width="172.78"/>
        <TableRow Name="Row2" Height="29.48">
          <TableCell Name="Cell24" Border.Lines="All" Text="科目" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell6" Border.Lines="All" Text="日期" Format="Date" Format.Format="d" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell7" Border.Lines="All" Text="凭证号" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell8" Border.Lines="All">
            <TextObject Name="Text2" Width="360.99" Height="28.73" Text="摘要" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          </TableCell>
          <TableCell Name="Cell9" Border.Lines="All" Text="借方" Format="Currency" Format.UseLocale="true" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell10" Border.Lines="All" Text="贷方" Format="Currency" Format.UseLocale="true" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell14" Border.Lines="All" Text="方向" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell15" Border.Lines="All" Text="余额" Format="Currency" Format.UseLocale="true" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
        </TableRow>
      </TableObject>
    </ReportTitleBand>
    <DataBand Name="Data2" Top="127.98" Width="1436.4" Height="29.48" DataSource="Table1">
      <TableObject Name="Table6" Left="9.45" Width="1408.08" Height="29.48">
        <TableColumn Name="Column18" Width="321.47"/>
        <TableColumn Name="Column19" Width="97.18"/>
        <TableColumn Name="Column20" Width="68.83"/>
        <TableColumn Name="Column21" Width="361.78"/>
        <TableColumn Name="Column22" Width="153.88"/>
        <TableColumn Name="Column23" Width="153.88"/>
        <TableColumn Name="Column24" Width="78.28"/>
        <TableColumn Name="Column25" Width="172.78"/>
        <TableRow Name="Row5" Height="29.48">
          <TableCell Name="Cell26" Border.Lines="All" Text="【[Table1.account_code]】[Table1.account_name]" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell27" Border.Lines="All" Text="[Table1.date]" Format="Date" Format.Format="d" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell28" Border.Lines="All" Text="[Table1.voucher_title]" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell29" Border.Lines="All">
            <TextObject Name="Text15" Width="360.99" Height="28.73" Text="[Table1.exp]" VertAlign="Center" Font="微软雅黑, 11pt"/>
          </TableCell>
          <TableCell Name="Cell30" Border.Lines="All" Text="[Table1.debit]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell31" Border.Lines="All" Text="[Table1.credit]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell32" Border.Lines="All" Text="[Table1.dc]" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell33" Border.Lines="All" Text="[Table1.balance]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 11pt"/>
        </TableRow>
      </TableObject>
    </DataBand>
  </ReportPage>
  <ReportPage Name="Page2" PaperWidth="400" PaperHeight="290" FirstPageSource="261" OtherPagesSource="261">
    <ReportTitleBand Name="ReportTitle2" Width="1436.4" Height="123.98">
      <TableObject Name="Table4" Left="9.45" Top="9.45" Width="1408.05" Height="85.05">
        <TableColumn Name="Column8" Width="1408.05"/>
        <TableRow Name="Row1" Height="85.05">
          <TableCell Name="Cell1" Border.Lines="All">
            <TextObject Name="Text4" Top="56.7" Width="1408.05" Height="28.35" Text="编制单位：[公司名称]" VertAlign="Center" Font="微软雅黑, 12pt"/>
            <TextObject Name="Text5" Width="1408.05" Height="28.35" Text="明细账" HorzAlign="Center" VertAlign="Bottom" Font="微软雅黑, 12pt"/>
            <TextObject Name="Text6" Top="28.35" Width="1408.05" Height="28.35" Text="[日期范围]" HorzAlign="Center" VertAlign="Bottom" Font="微软雅黑, 12pt"/>
          </TableCell>
        </TableRow>
      </TableObject>
      <TableObject Name="Table7" Left="9.45" Top="94.5" Width="1408.08" Height="29.48">
        <TableColumn Name="Column9" Width="321.47"/>
        <TableColumn Name="Column10" Width="97.18"/>
        <TableColumn Name="Column11" Width="68.83"/>
        <TableColumn Name="Column12" Width="361.78"/>
        <TableColumn Name="Column13" Width="153.88"/>
        <TableColumn Name="Column14" Width="153.88"/>
        <TableColumn Name="Column15" Width="78.28"/>
        <TableColumn Name="Column26" Width="172.78"/>
        <TableRow Name="Row3" Height="29.48">
          <TableCell Name="Cell2" Border.Lines="All" Text="科目" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell3" Border.Lines="All" Text="日期" Format="Date" Format.Format="d" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell4" Border.Lines="All" Text="凭证号" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell5" Border.Lines="All">
            <TextObject Name="Text7" Width="360.99" Height="28.73" Text="摘要" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          </TableCell>
          <TableCell Name="Cell11" Border.Lines="All" Text="借方" Format="Currency" Format.UseLocale="true" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell12" Border.Lines="All" Text="贷方" Format="Currency" Format.UseLocale="true" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell13" Border.Lines="All" Text="方向" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell16" Border.Lines="All" Text="余额" Format="Currency" Format.UseLocale="true" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
        </TableRow>
      </TableObject>
    </ReportTitleBand>
    <DataBand Name="Data1" Top="127.98" Width="1436.4" Height="29.48" DataSource="Table1">
      <TableObject Name="Table8" Left="9.45" Width="1408.08" Height="29.48">
        <TableColumn Name="Column27" Width="321.47"/>
        <TableColumn Name="Column28" Width="97.18"/>
        <TableColumn Name="Column29" Width="68.83"/>
        <TableColumn Name="Column30" Width="361.78"/>
        <TableColumn Name="Column31" Width="153.88"/>
        <TableColumn Name="Column32" Width="153.88"/>
        <TableColumn Name="Column33" Width="78.28"/>
        <TableColumn Name="Column34" Width="172.78"/>
        <TableRow Name="Row6" Height="29.48">
          <TableCell Name="Cell17" Border.Lines="All" Text="【[Table1.account_code]】[Table1.account_name]" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell18" Border.Lines="All" Text="[Table1.date]" Format="Date" Format.Format="d" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell19" Border.Lines="All" Text="[Table1.voucher_title]" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell20" Border.Lines="All">
            <TextObject Name="Text8" Width="360.99" Height="28.73" Text="[Table1.exp]" VertAlign="Center" Font="微软雅黑, 11pt"/>
          </TableCell>
          <TableCell Name="Cell21" Border.Lines="All" Text="[Table1.debit]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell22" Border.Lines="All" Text="[Table1.credit]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell23" Border.Lines="All" Text="[Table1.dc]" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 11pt"/>
          <TableCell Name="Cell34" Border.Lines="All" Text="[Table1.balance]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 11pt"/>
        </TableRow>
      </TableObject>
    </DataBand>
  </ReportPage>
</Report>
