<div>
        <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#D2D2D2" class="tableList">
            <tr>
                <td width="80">客户：</td>
                <td colspan="3">{{cusAccDetail.customerName}}
                </td>
            </tr>
            <tr>
                <td colspan="4" align="left">
                     <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableList hasOfferPanel" id="tableList">
                         <thead>
                             <tr class="head" style="background-color: rgba(0, 0, 0, 0);">
                                <td ms-html="'费用日期'" width="15%" align="center"></td>
                                <td ms-html="'项目'" width="30%" align="center"></td>
                                <td ms-html="'收付'" width="10%" align="center"></td>
                                <td ms-html="'金额'" width="10%" align="center"></td>
                                <td ms-html="'已结金额'" width="10%" align="center"></td>
                                <td ms-html="'付款方式'" width="15%" align="center"></td>
                                <td ms-html="'计划日期'" width="10%" align="center"></td>
                             </tr>
                         </thead>
                         <tbody ms-each-item="cusAccDetail.list">
                             <tr style="background:#ffffff;">
                                <td align="center">{{item.CostDate|truncate(10,'')}}</td>
                                <td align="center">{{item.Project|html}}</td>
                                <td align="center">{{item.Type=='1'?'付':'收'}}</td>
                                <td align="right">{{item.Money|currency}}</td>
                                 <td align="right">{{item.SettleMoney|currency}}</td>
                                <td align="center">{{item.SettleWay}}</td>
                                <td align="center">{{item.PlanDate|truncate(10,'')}}</td>
                             </tr>
                         </tbody>
                   </table>
                </td>
            </tr>
            <tr>
                <td colspan="4">合计：应收<font style="font-size: 14px; font-family: Georgia; padding-right: 4px; color: green;" ms-attr-title="account.total">{{cusAccDetail.collectableAmount}}</font>，
                    应付<font style="font-size: 14px; font-family: Georgia; padding-right: 4px; color: red;" ms-attr-title="account.total">{{cusAccDetail.payableAmount}}</font>，
                    利润<font style="font-size: 14px; font-family: Georgia; padding-right: 4px; color: green;" ms-attr-title="account.total">{{cusAccDetail.totalProfit}}</font></td>
            </tr>
        </table>
       
</div>
