<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/21/2013 14:21:14" ReportInfo.Modified="06/16/2015 09:07:38" ReportInfo.CreatorVersion="2013.2.5.0" PrintSettings.ShowDialog="false">
  <Dictionary>
    <TableDataSource Name="dt_JZMain" ReferenceName="Data.dt_JZMain" DataType="System.Int32" Enabled="true">
      <Column Name="ID" DataType="System.Int64"/>
      <Column Name="TingBH" DataType="System.String"/>
      <Column Name="TaiBH" DataType="System.String"/>
      <Column Name="LSH" DataType="System.String"/>
      <Column Name="JZFlag" DataType="System.Int32"/>
      <Column Name="StartTime" DataType="System.DateTime"/>
      <Column Name="EnTime" DataType="System.DateTime"/>
      <Column Name="ShiBie" DataType="System.String"/>
      <Column Name="PersonCnt" DataType="System.Int32"/>
      <Column Name="JDcnt" DataType="System.Int32"/>
      <Column Name="PerKnot" DataType="System.Decimal"/>
      <Column Name="TeamFlag" DataType="System.Int32"/>
      <Column Name="LockFlag" DataType="System.String"/>
      <Column Name="Waiter" DataType="System.String"/>
      <Column Name="PantHelper" DataType="System.String"/>
      <Column Name="MarkManger" DataType="System.String"/>
      <Column Name="CostMoney" DataType="System.Decimal"/>
      <Column Name="FeesMoney" DataType="System.Decimal"/>
      <Column Name="DepUnit" DataType="System.String"/>
      <Column Name="HYKH" DataType="System.String"/>
      <Column Name="POS" DataType="System.String"/>
      <Column Name="TeamLSH" DataType="System.String"/>
      <Column Name="YDLSH" DataType="System.String"/>
      <Column Name="JZLSH" DataType="System.String"/>
      <Column Name="UploadFlag" DataType="System.Int32"/>
      <Column Name="TasteRemark" DataType="System.String"/>
      <Column Name="Remark" DataType="System.String"/>
      <Column Name="TingMC" DataType="System.String"/>
      <Column Name="TaiMC" DataType="System.String"/>
      <Column Name="CompName" DataType="System.String"/>
      <Column Name="CompAdd" DataType="System.String"/>
      <Column Name="CompPhone" DataType="System.String"/>
      <Column Name="CompWel" DataType="System.String"/>
    </TableDataSource>
    <TableDataSource Name="dt_JZLiu" ReferenceName="Data.dt_JZLiu" DataType="System.Int32" Enabled="true">
      <Column Name="ID" DataType="System.Int64"/>
      <Column Name="TingBH" DataType="System.String"/>
      <Column Name="TaiBH" DataType="System.String"/>
      <Column Name="LSH" DataType="System.String"/>
      <Column Name="JZFlag" DataType="System.Int32"/>
      <Column Name="StartTime" DataType="System.DateTime"/>
      <Column Name="EnTime" DataType="System.DateTime"/>
      <Column Name="ShiBie" DataType="System.String"/>
      <Column Name="PersonCnt" DataType="System.Int32"/>
      <Column Name="JDcnt" DataType="System.Int32"/>
      <Column Name="PerKnot" DataType="System.Decimal"/>
      <Column Name="TeamFlag" DataType="System.Int32"/>
      <Column Name="LockFlag" DataType="System.String"/>
      <Column Name="Waiter" DataType="System.String"/>
      <Column Name="PantHelper" DataType="System.String"/>
      <Column Name="MarkManger" DataType="System.String"/>
      <Column Name="CostMoney" DataType="System.Decimal"/>
      <Column Name="FeesMoney" DataType="System.Decimal"/>
      <Column Name="DepUnit" DataType="System.String"/>
      <Column Name="HYKH" DataType="System.String"/>
      <Column Name="POS" DataType="System.String"/>
      <Column Name="TeamLSH" DataType="System.String"/>
      <Column Name="YDLSH" DataType="System.String"/>
      <Column Name="JZLSH" DataType="System.String"/>
      <Column Name="UploadFlag" DataType="System.Int32"/>
      <Column Name="TasteRemark" DataType="System.String"/>
      <Column Name="Remark" DataType="System.String"/>
      <Column Name="TaiName" DataType="System.String"/>
      <Column Name="TingMC" DataType="System.String"/>
    </TableDataSource>
    <TableDataSource Name="dt_hisdj" ReferenceName="Data.dt_hisdj" DataType="System.Int32" Enabled="true">
      <Column Name="id" DataType="System.Int32"/>
      <Column Name="TingBH" DataType="System.String"/>
      <Column Name="TaiBH" DataType="System.String"/>
      <Column Name="LSH" DataType="System.String"/>
      <Column Name="PosBH" DataType="System.String"/>
      <Column Name="HisTime" DataType="System.DateTime"/>
      <Column Name="Cashier" DataType="System.String"/>
      <Column Name="JZMoney" DataType="System.Decimal"/>
      <Column Name="ServiceMoney" DataType="System.Decimal"/>
      <Column Name="CashMoney" DataType="System.Decimal"/>
      <Column Name="CardMoney" DataType="System.Decimal"/>
      <Column Name="XJQMoney" DataType="System.Decimal"/>
      <Column Name="QDMoney" DataType="System.Decimal"/>
      <Column Name="AccountMoney" DataType="System.Decimal"/>
      <Column Name="CreditMoney" DataType="System.Decimal"/>
      <Column Name="PDMoney" DataType="System.Decimal"/>
      <Column Name="OtherMoney" DataType="System.Decimal"/>
      <Column Name="MLMoney" DataType="System.Decimal"/>
      <Column Name="PriceTotal" DataType="System.Decimal"/>
      <Column Name="PrintCount" DataType="System.Int32"/>
      <Column Name="MealType" DataType="System.String"/>
      <Column Name="JZKW" DataType="System.String"/>
      <Column Name="XSJL" DataType="System.String"/>
      <Column Name="MLPermissions" DataType="System.String"/>
      <Column Name="DisMoney" DataType="System.Decimal"/>
      <Column Name="DisPerson" DataType="System.Decimal"/>
      <Column Name="UploadFlag" DataType="System.Int32"/>
      <Column Name="SDMLMoney" DataType="System.Decimal"/>
    </TableDataSource>
    <TableDataSource Name="dt_hisdjmx" ReferenceName="Data.dt_hisdjmx" DataType="System.Int32" Enabled="true">
      <Column Name="id" DataType="System.Int32"/>
      <Column Name="LSH" DataType="System.String"/>
      <Column Name="PayCode" DataType="System.String"/>
      <Column Name="PayName" DataType="System.String"/>
      <Column Name="PayMoney" DataType="System.Decimal"/>
      <Column Name="Remark" DataType="System.String"/>
      <Column Name="UploadFlag" DataType="System.Int32"/>
    </TableDataSource>
    <TableDataSource Name="ds" ReferenceName="Data.ds" DataType="System.Int32" Enabled="true">
      <Column Name="ID" DataType="System.Int64"/>
      <Column Name="CardID" DataType="System.String"/>
      <Column Name="OldMoney" DataType="System.Decimal"/>
      <Column Name="OldJF" DataType="System.Decimal"/>
      <Column Name="DealMoney" DataType="System.Decimal"/>
      <Column Name="FreeMoney" DataType="System.Decimal"/>
      <Column Name="DealJF" DataType="System.Decimal"/>
      <Column Name="CurMoney" DataType="System.Decimal"/>
      <Column Name="CurJF" DataType="System.Decimal"/>
      <Column Name="OperType" DataType="System.Int32"/>
      <Column Name="OperTime" DataType="System.DateTime"/>
      <Column Name="OperCode" DataType="System.String"/>
      <Column Name="OperName" DataType="System.String"/>
      <Column Name="Pos" DataType="System.String"/>
      <Column Name="DJBH" DataType="System.String"/>
      <Column Name="Remark1" DataType="System.String"/>
      <Column Name="Remark2" DataType="System.String"/>
      <Column Name="收入" DataType="System.Decimal"/>
      <Column Name="支出" DataType="System.Decimal"/>
    </TableDataSource>
    <TableDataSource Name="dt_hismx" ReferenceName="Data.dt_hismx" DataType="System.Int32" Enabled="true">
      <Column Name="id" DataType="System.Int32"/>
      <Column Name="TingBH" DataType="System.String"/>
      <Column Name="TaiBH" DataType="System.String"/>
      <Column Name="LSH" DataType="System.String"/>
      <Column Name="AddPerson" DataType="System.String"/>
      <Column Name="AddTime" DataType="System.DateTime"/>
      <Column Name="EndTime" DataType="System.DateTime"/>
      <Column Name="Code" DataType="System.String"/>
      <Column Name="CodeName" DataType="System.String"/>
      <Column Name="Units" DataType="System.String"/>
      <Column Name="Price" DataType="System.Decimal"/>
      <Column Name="HYPrice" DataType="System.Decimal"/>
      <Column Name="Cnt" DataType="System.Decimal"/>
      <Column Name="Discount" DataType="System.Decimal"/>
      <Column Name="SJPrice" DataType="System.Decimal"/>
      <Column Name="PriceTotal" DataType="System.Decimal"/>
      <Column Name="AddDept" DataType="System.String"/>
      <Column Name="Waiter" DataType="System.String"/>
      <Column Name="Bonus1" DataType="System.Decimal"/>
      <Column Name="ServiceBonus" DataType="System.Decimal"/>
      <Column Name="Processing" DataType="System.String"/>
      <Column Name="Bonus2" DataType="System.Decimal"/>
      <Column Name="ProcessingBonus" DataType="System.Decimal"/>
      <Column Name="TPFlag" DataType="System.String"/>
      <Column Name="TaiFlag" DataType="System.String"/>
      <Column Name="BillType" DataType="System.String"/>
      <Column Name="MaxFlag" DataType="System.String"/>
      <Column Name="ZDFlag" DataType="System.String"/>
      <Column Name="IsDiscount" DataType="System.String"/>
      <Column Name="Remark" DataType="System.String"/>
      <Column Name="FirstType" DataType="System.String"/>
      <Column Name="SecondType" DataType="System.String"/>
      <Column Name="HYCardNo" DataType="System.String"/>
      <Column Name="MealType" DataType="System.String"/>
      <Column Name="CostMoney" DataType="System.Decimal"/>
      <Column Name="AddLSH" DataType="System.String"/>
      <Column Name="DiscountPermissions" DataType="System.String"/>
      <Column Name="KDInfo" DataType="System.String"/>
      <Column Name="UploadFlag" DataType="System.Int32"/>
      <Column Name="Status" DataType="System.String"/>
    </TableDataSource>
    <Total Name="Total_YJHJ" Expression="[dt_hismx.PriceTotal]" Evaluator="Data3"/>
    <Total Name="Total_YHHJ" Expression="ToDecimal([dt_hismx.Price])*[dt_hismx.Cnt]*(1-[dt_hismx.Discount])" Evaluator="Data3"/>
    <Total Name="Total_Pay" Expression="ToDecimal([dt_hisdjmx.PayMoney])" Evaluator="Data4"/>
    <Total Name="Total_ZQ" Expression="ToDecimal([dt_hismx.PriceTotal]-[dt_hismx.SJPrice])" Evaluator="Data3"/>
    <Total Name="Total_ZD" Expression="[dt_hismx.PriceTotal]" Evaluator="Data3" EvaluateCondition="[dt_hismx.Status]==&quot;赠单&quot;"/>
  </Dictionary>
  <ReportPage Name="Page1" PaperWidth="80" LeftMargin="3" RightMargin="5" FirstPageSource="15" OtherPagesSource="15">
    <ReportTitleBand Name="ReportTitle1" Width="272.16" Height="37.8">
      <TextObject Name="Text1" Top="9.45" Width="264.6" Height="28.35" Text="[dt_JZMain.CompName]结帐单" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt, style=Bold"/>
    </ReportTitleBand>
    <PageHeaderBand Name="PageHeader1" Top="41.8" Width="272.16" Guides="18.9"/>
    <GroupHeaderBand Name="GroupHeader1" Top="45.8" Width="272.16" Condition="[dt_JZLiu.LSH]">
      <DataBand Name="Data1" Top="49.8" Width="272.16" Height="75.6" DataSource="dt_JZLiu">
        <TextObject Name="Text6" Top="56.7" Width="245.7" Height="18.9" Text="结帐时间：[dt_JZLiu.EnTime]" VertAlign="Center" Font="宋体, 9pt"/>
        <TextObject Name="Text5" Top="37.8" Width="245.7" Height="18.9" Text="开台时间：[dt_JZLiu.StartTime]" VertAlign="Center" Font="宋体, 9pt"/>
        <TextObject Name="Text4" Left="141.75" Top="18.9" Width="103.95" Height="18.9" Text="台名称：[dt_JZLiu.TaiName]" VertAlign="Center" Font="宋体, 9pt"/>
        <TextObject Name="Text2" Width="283.5" Height="18.9" Text="开台流水：[dt_JZLiu.LSH]" VertAlign="Center" Font="宋体, 9pt"/>
        <LineObject Name="Line2" Left="1" Top="75.6" Width="264.6"/>
        <TextObject Name="Text17" Top="18.9" Width="94.5" Height="18.9" Text="厅名称：[dt_JZLiu.TingMC]" Font="宋体, 9pt"/>
        <DataBand Name="Data3" Top="152.3" Width="272.16" Height="18.9" CanGrow="true" Guides="0,0" DataSource="dt_hismx" Filter="[dt_hismx.LSH]==[dt_JZLiu.LSH]">
          <TextObject Name="Text9" Width="94.5" Height="18.9" CanGrow="true" Text="[dt_hismx.CodeName][IIf([dt_hismx.Status]==&quot;赠单&quot;,&quot;(赠)&quot;,&quot;&quot;)]" VertAlign="Center" Font="宋体, 9pt"/>
          <TextObject Name="Text11" Left="75.5" Width="28.35" Height="18.9" CanGrow="true" Text="[dt_hismx.Cnt]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="1" HorzAlign="Right" VertAlign="Center" WordWrap="false" Font="宋体, 9pt" Trimming="EllipsisCharacter"/>
          <TextObject Name="Text13" Left="103.85" Width="47.25" Height="18.9" CanGrow="true" Text="[dt_hismx.Price]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="2" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="1" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
          <TextObject Name="Text15" Left="151.2" Width="37.8" Height="18.9" CanGrow="true" Text="[dt_hismx.Discount]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="2" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="1" HorzAlign="Right" VertAlign="Center" WordWrap="false" Font="宋体, 9pt" Trimming="EllipsisCharacter"/>
          <TextObject Name="Text27" Left="198.9" Width="66.15" Height="18.9" CanGrow="true" Text="[ToDecimal([dt_hismx.PriceTotal]*[dt_hismx.Discount])]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Font="宋体, 9pt" Trimming="EllipsisCharacter"/>
          <DataHeaderBand Name="DataHeader1" Top="129.4" Width="272.16" Height="18.9">
            <TextObject Name="Text10" Width="66.15" Height="18.9" Text="品项名称" VertAlign="Center" Font="宋体, 9pt"/>
            <TextObject Name="Text12" Left="84.5" Width="37.8" Height="18.9" Text="数量" VertAlign="Center" Font="宋体, 9pt"/>
            <TextObject Name="Text14" Left="122.3" Width="37.8" Height="18.9" Text="单价" VertAlign="Center" Font="宋体, 9pt"/>
            <TextObject Name="Text16" Left="160.1" Width="37.8" Height="18.9" Text="折扣" VertAlign="Center" Font="宋体, 9pt"/>
            <LineObject Name="Line4" Left="6.45" Top="16.45" Width="264.6"/>
            <TextObject Name="Text28" Left="197.9" Width="66.15" Height="18.9" Text="单价合计" VertAlign="Center" Font="宋体, 9pt"/>
          </DataHeaderBand>
        </DataBand>
      </DataBand>
      <GroupFooterBand Name="GroupFooter1" Top="175.2" Width="272.16">
        <LineObject Name="Line5" Width="264.6"/>
      </GroupFooterBand>
    </GroupHeaderBand>
    <DataBand Name="Data2" Top="179.2" Width="272.16" Height="85.05" DataSource="dt_hisdj">
      <TextObject Name="Text21" Width="132.3" Height="18.9" Text="客人付款：[ToDecimal([dt_hisdj.CashMoney]+[dt_hisdj.CardMoney]+[dt_hisdj.XJQMoney]+[dt_hisdj.QDMoney]+[dt_hisdj.AccountMoney]+[dt_hisdj.CreditMoney]+[dt_hisdj.OtherMoney])]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="2" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="1" VertAlign="Center" WordWrap="false" Font="宋体, 9pt" Trimming="EllipsisCharacter"/>
      <TextObject Name="Text23" Left="132.3" Width="160.65" Height="18.9" Text="消费合计金额：[dt_hisdj.PriceTotal]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="2" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="1" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text33" Top="18.9" Width="132.3" Height="18.9" Text="抹零：[ToDecimal([dt_hisdj.SDMLMoney]+[dt_hisdj.MLMoney])]" Font="宋体, 9pt"/>
      <TextObject Name="Text38" Left="132.3" Top="66.15" Width="132.3" Height="18.9" Text="找零：[dt_hisdj.PDMoney]" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text39" Left="132.3" Top="18.9" Width="132.3" Height="18.9" Text="折扣：[dt_hisdj.DisMoney]" Font="宋体, 9pt"/>
      <TextObject Name="Text35" Left="132.3" Top="44.8" Width="226.8" Height="18.9" Text="优惠：[ToDecimal([dt_hisdj.SDMLMoney]+[dt_hisdj.MLMoney] +[dt_hisdj.DisMoney]+[Total_ZD])] " Font="宋体, 9pt"/>
      <TextObject Name="Text3" Top="47.25" Width="132.3" Height="18.9" Text="赠单：[Total_ZD]" Font="宋体, 9pt"/>
      <TextObject Name="Text8" Top="66.15" Width="122.85" Height="18.9" Text="实收金额：[dt_hisdj.JZMoney]" VertAlign="Center" Font="宋体, 9pt"/>
    </DataBand>
    <DataBand Name="Data4" Top="300.6" Width="272.16" Height="37.8" DataSource="dt_hisdjmx">
      <TextObject Name="Text24" Width="113.4" Height="37.8" Text="[dt_hisdjmx.PayName]：" VertAlign="Center" Font="黑体, 12pt, style=Bold"/>
      <TextObject Name="Text25" Left="122.85" Width="132.3" Height="37.8" Text="[dt_hisdjmx.PayMoney]&#13;&#10;" Format="Number" Format.UseLocale="false" Format.DecimalDigits="2" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="1" HorzAlign="Right" VertAlign="Center" WordWrap="false" Font="黑体, 12pt, style=Bold" Trimming="EllipsisCharacter"/>
      <DataHeaderBand Name="DataHeader2" Top="268.25" Width="272.16" Height="28.35">
        <TextObject Name="Text7" Width="94.5" Height="28.35" CanShrink="true" Text="付款方式" VertAlign="Center" Font="黑体, 12pt, style=Bold"/>
      </DataHeaderBand>
    </DataBand>
    <DataBand Name="Data5" Top="342.4" Width="272.16" Height="96.5" CanGrow="true">
      <TextObject Name="Text20" Top="6.45" Width="255.15" Height="28.35" Text="[dt_JZMain.CompWel]" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text37" Top="37.8" Width="264.6" Height="28.35" CanGrow="true" CanBreak="false" Text="地址：[dt_JZMain.CompAdd]" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text19" Left="-1" Top="68.15" Width="255.15" Height="18.9" Text="电话：[dt_JZMain.CompPhone]" Font="宋体, 9pt"/>
    </DataBand>
    <PageFooterBand Name="PageFooter1" Top="442.9" Width="272.16" Height="18.9"/>
  </ReportPage>
</Report>
