 <table width="100%" cellspacing="0" cellpadding="0" border="0" class="commontable shortSelect">
       <tbody>
          <tr>
                    <th style="width: 70px;">归属合同：</th>
                    <td style="">
                        <input style="width: 130px;" type="text"  readonly="readonly" ms-duplex="entity.Contract.ContractName" />
                        <button class="myfbt" type="button" ms-click="selectContract()"><i class="customer"></i></button>
                        <span class="must">*</span>
                    </td>
                    <th>客户名称：</th>
                    <td style="height: 38px;">
                        <div>
                           <input  style="width: 130px;"  readonly="readonly" type="text" ms-duplex="entity.CustomerName">
                           <button class="myfbt" type="button" ms-click="selectCustomer('customer')"><i class="customer"></i></button>
                           <span class="must">*</span>
                        </div>
                    </td>
          </tr>
          <tr>
                    <th>业务员：</th>
                    <td>
                        <input type="text" style="width: 90px;"  readonly="readonly" ms-duplex="entity.SalesmanName" />
                        <button class="myfbt" type="button" ms-click="selectUser('salesman')"><i class="iadduser"></i></button>
                    </td>
                    <th>催款责任人：</th>
                    <td style="height: 38px;">
                        <input type="text" style="width: 90px;"  readonly="readonly" ms-duplex="entity.DutyPersonName" />
                        <button class="myfbt" type="button" ms-click="selectUser('dutyPerson')"><i class="iadduser"></i></button>
                    </td>
                </tr>
           <tr>
                <td colspan="4" align="left">
                     <table  style="width: 100%; margin: 0 auto;" border="0" cellspacing="1" 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="10%" align="center"></td>
                                <td ms-html="'应付金额'" width="10%" align="center"></td>
                                <td ms-html="'已付'" width="8%" align="center"></td>
                                <td ms-html="'未付'" width="8%" align="center"></td>
                                <td ms-html="'状态'" width="8%" align="center"></td>
                                <td ms-html="'备注'" width="30%" align="center"></td>
                                <td ms-html="'操作'" width="5%" align="center"></td>                              
                             </tr>
                         </thead>
                         <tbody>
                             <tr style="background:#ffffff;" ms-repeat-item="arapList">
                                <td align="center"><input type="text" style="width: 80px;" ms-attr-data-format="dateformat" ms-duplex="item.PlanDate" ms-widget='date,birthday,birthdayOpts' readonly="readonly" /></td>
                                <td align="center">{{item.Batch}}</td>
                                <td align="right"><input type="text" style="width:50px;" ms-duplex="item.Money" /></td>
                                <td align="right">{{item.SettleMoney|currency}}</td>
                                <td align="center">{{item.NotSettleMoney|currency}}</td>
                                <td align="center">{{item.NotSettleMoney==0?'已结':'未结'}}</td>
                                <td align="center"><input type="text" style="width:200px;" ms-duplex="item.Remark" /></td>
                                <td align="center">
                                    <a href="javascript:void(0)" class="dodel" ms-click="dodelDetail($index)" title="删除"></a>
                                </td>
                             </tr>
                         </tbody>
                   </table>
                </td>
            </tr>
           <tr>
               <td>
                    <a class="acolor" href="javascript:void(0)" ms-click="addArap()">新增一行</a>
               </td>
           </tr>
           <tr>
                    <th>录入人：</th>
                    <td style="height: 38px;">
                        <input type="text" style="width: 90px;"  readonly="readonly" ms-duplex="entity.AddBy.UserName" />
                        <button class="myfbt" type="button" ms-click="selectUser('addBy')"><i class="iadduser"></i></button>
                    </td>
                    <th>录入时间：</th>
                    <td>
                        <input type="text" style="width: 80px;" ms-duplex="entity.AddTime" ms-attr-data-format="dateformat" ms-widget='date,birthday,birthdayOpts' readonly="readonly" />
                        <span class="must">*</span>
                    </td>
           </tr>
       </tbody>
    </table>
