<div ms-controller="PurchaseEnquiry">
    <table border="0" align="center" cellpadding="0" cellspacing="0" id="mian">
        <tbody>
            <tr>
                <td width="198" height="450" valign="top" id="tdleft">
                    <!--leftNav-->
                    <div id="left" ms-widget="leftMenu">
                    </div>
                </td>
                <td valign="top" id="right">
                    <div class="top10">
                        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="seacrhTable top10" style="background: none;">
                            <tbody>
                                <tr>
                                    <td width="460" class="searchico">
                                        <div class="input-append" style="margin-bottom: 0px;">
                                            <input id="Text2" type="text" class="span4" ms-duplex="keyword" placeholder="请输入供应商名称或者批次号" ms-keyup="onEnter">
                                            <button class="add-on ibtsearch" type="button" style="height: 28px; font-size: 12px; padding: 3px 12px;" ms-click="doSearch">搜索</button>
                                            <button class="add-on ibtsearch clearall" type="button" style="height: 28px; font-size: 12px; padding: 3px 12px;" ms-click="clearQuery">显示全部</button>
                                        </div>
                                    </td>
                                    <td class="fgray">{{lang.SearchHistory}}
                                   <span class="bindSearchHistory" ms-repeat-h='queryHistory'>
                                       <a href="javascript:void(0)" ms-click='addQuery(h.name,h.val,h.label)' ms-title='h.label'>{{h.label|truncate(20)}}</a>
                                   </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="seacrhField">
                            <tbody>
                                <tr class="quickword">
                                    <td colspan="2"><span>{{queryData.dateTimes.label}}</span>
                                        <div ms-each-r='queryData.dateTimes.items'>
                                            <a href="javascript:void(0)" ms-click='addQuery("dateTimes",r.val)' ms-class-1="selected:r.curr" ms-html='r.label'></a>
                                        </div>
                                        <div ms-visible="queryData.dateTimes.val=='2'">
                                            <input type="text" style="width: 80px; height: 15px; margin-left: 10px;" ms-duplex="queryData.begindate.val" readonly="readonly" ms-widget="date,begindateid,begindateopts" id="txtbegindate" />
                                            <label style="margin-left: -15px;">至</label>
                                            <input type="text" style="width: 80px; height: 15px;" readonly="readonly" ms-duplex="queryData.enddate.val" ms-widget="date,enddateid,enddateopts" id="Text3" />

                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" class="seabox">
                                        <span class="first" ms-html='lang.CurrSearchCondition'></span>
                                        <div ms-repeat="queryData" style="display: inline; float: left;">
                                            <span class="searchItem" ms-if-loop='$val.valLabel'>{{$val.valLabel}}
                                        <i><a href="javascript:void(0)" ms-click='removeQuery($key)'></a></i>
                                            </span>
                                        </div>
                                        <span class="last" ms-visible='hasQuery' ms-click='clearQuery'><a href="javascript:void(0)" ms-html='lang.ClearAll'></a></span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList bottom10" id="table1">
                        <thead>
                            <tr class="dobtn" style="background-color: rgba(0, 0, 0, 0);">
                                <td colspan="9">
                                    <a ms-if="ADD" href="javascript:void(0)" class="doadd" ms-click="doadd" title="新增">新增</a>
                                    <!-- <a ms-if="ADD" href="javascript:void(0)" class="doadd" ms-click="docopy">新增复制</a>
                                    <a ms-if="ADD" href="javascript:void(0)" class="doadd" ms-click="docompare">比价</a>-->
                                    <a ms-if="DELETE" href="javascript:void(0)" class="doalldel" ms-click="doalldel" title="批量删除">批量删除</a>
                                </td>
                            </tr>
                            <tr class="head" style="background-color: rgba(0, 0, 0, 0);">
                                <td width="2%" rowspan='2' align="center">
                                    <input type="checkbox" class="checkAll">
                                </td>
                                <td width="3%" align="center">批次号</td>
                                <td width="3%" align="center">询价单号</td>
                                <td width="10%" align="center">标题</td>
                                <td width="12%" align="center">供应商</td>
                                <td width="10%" align="center">询价人</td>
                                <td width="10%" align="center">询价日期</td>
                                <td width="20%" align="center">备注</td>
                                <td width="8%" align="center">操作</td>
                            </tr>
                        </thead>
                        <tbody ms-each-item="entityList">
                            <tr align="center" ms-hover='hover'>
                                <td>
                                    <input type="checkbox" name="checkbox" ms-value="item.Id" ms-click="clickId(item.Id)">
                                </td>
                                <td align="center"><a href="javascript:void(0)" ms-click="doview(item.Id)" ms-value="item.Id">{{item.EnquiryBatch}}</a>
                                <td align="center"><a href="javascript:void(0)" ms-click="doview(item.Id)" ms-value="item.Id">{{item.EnquiryNo}}</a>
                                </td>
                                <td align="left"><a href="javascript:void(0)" ms-click="doview(item.Id)" ms-value="item.Id">{{item.EnquiryTag}}</a>
                                </td>
                                <td align="left">
                                    <a href='javascript:void(0)' ms-live-click="doviews" ms-attr-path="'/Customer/DetailCustomer/'+item.SupplyId">{{item.SupplyName}}
                                    </a>
                                </td>
                                <td align="center">{{item.EmployeeName}}
                                </td>
                                <td align="center">{{item.EnquiryTime}}
                                </td>
                                <td align="center">{{item.Remarks}}
                                </td>
                                <td>
                                    <a ms-if="ADD" href="javascript:void(0)" class="docopys" ms-click="docopy(item.Id)" ms-value="item.Id" title="复制并新增"></a>
                                    <a ms-if="ADD" href="javascript:void(0)" class="docompare" ms-click="addResumeTemp(item.Id,item.EnquiryBatch)" ms-value="item.Id" title="比价"></a>
                                    <a href="javascript:void(0)" class="doview" ms-click="doview(item.Id)" ms-value="item.Id" title="查看"></a>
                                    <a ms-if="item.EDIT" href="javascript:void(0)" class="doedit" ms-click="doedit(item.Id)" title="编辑"></a>
                                    <a ms-if="!item.EDIT" href="javascript:void(0)" class="noedit" title="编辑"></a>
                                    <a ms-if="item.DELETE" href="javascript:void(0)" class="dodel" ms-click="dodel" ms-attr-index="$index" ms-value="item.Id" title="删除"></a>
                                    <a ms-if="!item.DELETE" href="javascript:void(0)" class="nodel" title="删除"></a>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr style="background-color: rgba(0, 0, 0, 0);">
                                <td colspan="9" ms-widget='paging,upaing,Purchasepaing'></td>
                            </tr>
                        </tfoot>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>

    <table id="tableinterview" cellspacing="0" cellpadding="0" width="400px" border="0" class="tableList" style="position: absolute; bottom: 1px; right: 1px; z-index: 2000;">
        <tr ms-visible="floatlistshow">
            <td colspan="4" style="height: 2px; line-height: 2px; background: #ff9600;">&nbsp;</td>
        </tr>
        <tr ms-visible="floatlistshow" style="background: url(/Content/Themes/Base/Images/table_head_bg.gif) repeat-x;">
            <td width="13%" align="center" style="color: #8e8d8d; height: 25px; line-height: 25px; border-bottom: 1px solid #c6c3c3;">询价单号</td>
            <td width="30%" align="center" style="color: #8e8d8d; height: 25px; line-height: 25px; border-bottom: 1px solid #c6c3c3;">供应商</td>
            <td width="17%" align="center" style="color: #8e8d8d; height: 25px; line-height: 25px; border-bottom: 1px solid #c6c3c3;">操作</td>
        </tr>
        <tr ms-visible="floatlistshow" ms-repeat-temp="resumeTemp">
            <td align="center" style="border-bottom: 1px solid #c6c3c3;">{{temp.EnquiryNo}}</td>
            <td align="center" style="border-bottom: 1px solid #c6c3c3;">{{temp.SupplyName}}</td>
            <td align="center" style="border-bottom: 1px solid #c6c3c3;">
                <a href="javascript:void(0);" class="dodel" title="删除" ms-click="removeResumeTemp($index)"></a>
            </td>
        </tr>
        <tr>
            <td style="background: #ff9600; height: 35px; width: 35px; line-height: 35px;" ms-click="setfloatlist">
                <a ms-if="ShowImg" href="javascript:void(0)" style="background: url(/Content/Themes/Base/Images/spread.jpg) no-repeat; padding: 10px 25px;">&nbsp;</a>
                <a ms-if="!ShowImg" href="javascript:void(0)" style="background: url(/Content/Themes/Base/Images/shrink.jpg) no-repeat; padding: 10px 25px;">&nbsp;</a>
            </td>
            <td colspan="3" style="background: #2b2a2a; height: 35px; width: 265px; line-height: 35px;">
                <span style="color: #fff; margin-left: 10px; float: left;">{{resumeTemp.length}}位供应商</span>
                <button style="float: right; background-color: rgb(246, 242, 171); border: none; padding: 2px 15px; margin-top: 5px; margin-right: 10px;" type="button" ms-click="doclose">清空</button>
                <button style="float: right; background: #678d1f; border: none; color: #fff; padding: 2px 15px; margin-top: 5px; margin-right: 10px;" type="button" ms-click="docompare">开始对比</button>
            </td>
        </tr>
    </table>



    <!--新增-->
    <noscript id="formTemplate">
        <table width="800px" border="0" cellspacing="0" cellpadding="0" class="commontable shortSelect">
            <tbody>
                <tr>
                    <th align="right">标题：
                    </th>
                    <td style="width: 300px;">
                        <input type="hidden" ms-duplex="entity.Id" />
                        <input ms-duplex='entity.EnquiryTag' ms-disabled="toggle" style="width: 200px;" type="text">
                        <span class="must">*</span>
                    </td>
                    <th align="right">批次：</th>
                    <td>
                        <input ms-duplex='entity.EnquiryBatch' style="width: 100px;" disabled="disabled" type="text">单号：<input ms-duplex='entity.EnquiryNo' style="width: 100px;" type="text">
                    </td>
                </tr>
                <tr>
                    <th align="right">询价人：
                    </th>
                    <td style="width: 300px;">
                        <input type="hidden" ms-duplex="entity.EmployeeId" />
                        <input ms-duplex='entity.EmployeeName' style="width: 200px;" type="text">
                        <button type="button" class="myfbt" ms-click="selectEmp()"><i class="iadduser"></i></button>
                    </td>
                    <th align="right">询价时间：</th>
                    <td>
                        <input type="text" style="width: 100px;" ms-duplex="entity.EnquiryTime" ms-widget="date,enquiryTimeid,enquiryTimeopt" data-format='%Y-%m-%d' />
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <table width="95%" border="0" cellspacing="1" cellpadding="0" class="tableList hasOfferPanel">
                            <tr class="minhead">
                                <td align="center" width="10%">商品名称
                                </td>
                                <td align="center" width="10%">规格/型号
                                </td>
                                <td align="center" width="10%">数量
                                </td>
                                <td align="center" width="10%">单位
                                </td>
                                <td align="center" width="10%">市场单价
                                </td>
                                <td align="center" width="10%">供应单价
                                </td>
                                <td align="center" width="10%">金额
                                </td>
                                <td align="center" width="10%">备注
                                </td>
                                <td align="center" width="3%">操作
                                </td>
                            </tr>
                            <tr ms-repeat-con="productsList" align="center" style="background-color: rgb(255, 255, 255);">
                                <td align="center">
                                    <input type="hidden" ms-duplex="con.Id" />
                                    <input type="text" style="width: 90px;" ms-duplex="con.productName">
                                </td>
                                <td align="center">
                                    <input type="text" style="width: 90px;" ms-duplex="con.standard">
                                </td>
                                <td align="center">
                                    <input type="text" style="width: 60px;" ms-duplex="con.number">
                                </td>
                                <td align="center">
                                    <select style="width: 60px; height: 28px; margin-top: 1px;" ms-duplex="con.units" ms-each-item="units">
                                        <option ms-value="item.Id">{{item.Data}}</option>
                                    </select>
                                </td>
                                <td align="center">
                                    <input type="text" style="width: 60px;" ms-duplex="con.marketPrice">
                                </td>
                                <td align="center">
                                    <input type="text" style="width: 60px;" ms-duplex="con.price">
                                </td>
                                <td align="center">
                                    <input type="text" style="width: 60px;" ms-duplex="con.money">
                                </td>
                                <td align="center">
                                    <input type="text" style="width: 90px;" ms-duplex="con.remarks">
                                </td>
                                <td align="center">
                                    <a href="javascript:void(0)" class="dodel" ms-attr-index="$index" ms-click="productsDel" title="删除"></a>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="9">&nbsp;
                                <a href="javascript:void(0);" ms-click="selectProduct">+&nbsp;选择产品</a>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr style="height: 10px;">
                    <td colspan="4" style="height: 10px;"></td>
                </tr>
                <tr>
                    <th align="right">备注说明：
                    </th>
                    <td style="width: 300px;">
                        <textarea style="width: 200px; height: 80px;" ms-duplex="entity.Remarks"></textarea>
                    </td>
                    <th align="right">上述价格<input type="checkbox" ms-duplex-radio="entity.IsMoney" />
                        含税金：
                    </th>
                    <td>
                        <table width="100%" border="0">
                            <tr style="height: 15px;" align="right">
                                <td style="width: 80px; height: 15px;">小计：</td>
                                <td style="height: 15px;">
                                    <input type="text" ms-duplex="entity.Total" style="width: 80px; margin: 0; padding: 0 3px;" readonly="readonly" />
                                    <span style="display: inline-block; width: auto; height: 14px; padding: 3px; font-weight: normal; line-height: 12px; text-align: center; text-shadow: 0 1px 0 white; background-color: #EEE; border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; margin: 0px 0 0 -4px; -webkit-border-radius: 0 4px 4px 0; -moz-border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;">元</span>
                            </tr>
                            <tr ms-if="entity.IsMoney" style="height: 15px;">
                                <td style="width: 80px; height: 15px;" align="right">税率：</td>
                                <td style="height: 15px;">

                                    <input type="text" ms-duplex="entity.TaxRate" ms-blur="onSumTotalMoney" style="width: 80px; margin: 0; padding: 0 3px;" />
                                    <span style="display: inline-block; width: auto; height: 14px; padding: 3px; font-weight: normal; line-height: 12px; text-align: center; text-shadow: 0 1px 0 white; background-color: #EEE; border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; margin: 0px 0 0 -4px; -webkit-border-radius: 0 4px 4px 0; -moz-border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;">%</span>
                            </tr>
                            <tr ms-if="entity.IsMoney" style="height: 15px;">
                                <td style="width: 80px; height: 15px;" align="right">税额：</td>
                                <td style="height: 15px;">

                                    <input type="text" ms-duplex="entity.TaxPosition" style="width: 80px; margin: 0; padding: 0 3px;" readonly="readonly" />
                                    <span style="display: inline-block; width: auto; height: 14px; padding: 3px; font-weight: normal; line-height: 12px; text-align: center; text-shadow: 0 1px 0 white; background-color: #EEE; border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; margin: 0px 0 0 -4px; -webkit-border-radius: 0 4px 4px 0; -moz-border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;">元</span>
                            </tr>
                            <tr style="height: 20px;">
                                <td style="width: 80px; height: 15px;" align="right">优惠：</td>
                                <td style="height: 15px;">

                                    <input type="text" ms-duplex="entity.Preferential" ms-blur="onSumTotalMoney" style="width: 80px; margin: 0; padding: 0 3px;" />
                                    <span style="display: inline-block; width: auto; height: 14px; padding: 3px; font-weight: normal; line-height: 12px; text-align: center; text-shadow: 0 1px 0 white; background-color: #EEE; border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; margin: 0px 0 0 -4px; -webkit-border-radius: 0 4px 4px 0; -moz-border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;">元</span>
                            </tr>
                            <tr style="height: 20px;">
                                <td style="width: 80px; height: 15px;" align="right">合计总金额：</td>
                                <td style="height: 15px;">

                                    <input type="text" ms-duplex="entity.TotalMoney" style="width: 80px; margin: 0; padding: 0 3px;" readonly="readonly" />
                                    <span style="display: inline-block; width: auto; height: 14px; padding: 3px; font-weight: normal; line-height: 12px; text-align: center; text-shadow: 0 1px 0 white; background-color: #EEE; border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; margin: 0px 0 0 -4px; -webkit-border-radius: 0 4px 4px 0; -moz-border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;">元</span>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <th align="right">供应商：</th>
                    <td colspan="3" align="left">
                        <input type="hidden" ms-duplex="entity.SupplyId" />
                        <input ms-duplex='entity.SupplyName' type="text" style="width: 200px;">
                        <button type="button" class="myfbt" ms-click="selectSuplier()"><i class="customer"></i></button>
                    </td>
                </tr>
                <tr>
                    <th align="right">联系人：</th>
                    <td style="width: 300px;" align="left">
                        <input type="hidden" ms-duplex="entity.ContactsId" />
                        <select style="width: 200px;" ms-change="contactChange">
                            <option value="">选择联系人</option>
                            <option ms-repeat-con="CustomerContactData" ms-value="con.Id" ms-attr-title="con.MobileNumber1">{{con.Name}}</option>
                        </select>
                    </td>
                    <th ms-if="InShow==false" align="right">是否选用：</th>
                    <td ms-if="InShow==false" align="left">
                        <label>
                            <input type="radio" ms-duplex-text="entity.State" value="0" />&nbsp;弃用&nbsp;
                        </label>
                        <label>
                            <input type="radio" ms-duplex-text="entity.State" value="1" />&nbsp;选用
                        </label>
                    </td>
                    <th ms-if="InShow==true" align="right"></th>
                    <td ms-if="InShow==true" align="left"></td>
                </tr>
                <tr>
                    <th align="right">联系方式：</th>
                    <td style="width: 300px;">
                        <input ms-duplex='entity.ContactsTel' type="text" style="width: 200px;">
                    </td>
                    <th align="right">报价时间：</th>
                    <td>
                        <input type="text" style="width:100px;" ms-duplex="entity.QuoteTime" ms-widget="date,quoteTimeid,quoteTimeopts" data-format='%Y-%m-%d' />
                    </td>
                </tr>
            </tbody>
        </table>
    </noscript>
    <!--查看-->
    <noscript id="viewTemplate">
        <table width="1000px" border="0" cellspacing="1" cellpadding="0" class="tablecInfo" id="info">
            <tbody>
                <tr>
                    <td height="25" width="100px" align="right">标题 ：
                    </td>
                    <td height="25" width="*" colspan="3" align="left">{{entity.EnquiryTag}}
                    </td>

                </tr>
                <tr>
                    <td height="25" width="100px" align="right">批次号 ：
                    </td>
                    <td height="25" width="*" align="left">{{entity.EnquiryBatch}}
                    </td>
                    <td height="25" width="100px" align="right">询价单号 ：
                    </td>
                    <td height="25" width="*" align="left">{{entity.EnquiryNo}}
                    </td>
                </tr>
                <tr>
                    <td height="25" width="100px" align="right">询价人 ：
                    </td>
                    <td height="25" width="*" align="left">{{entity.EmployeeName}}
                    </td>
                    <td height="25" width="100px" align="right">询价时间 ：
                    </td>
                    <td height="25" width="*" align="left">{{entity.EnquiryTime}}
                    </td>
                </tr>
                <tr>
                    <td colspan="4" style="padding-left: 0px;">
                        <table width="1000px" border="0" cellspacing="1" cellpadding="0" class="tableList1">
                            <tr class="minhead">
                                <th align="center" width="9.5%">商品名称
                                </th>
                                <th align="center" width="10%">规格/型号
                                </th>
                                <th align="center" width="10%">数量
                                </th>
                                <th align="center" width="10%">单位
                                </th>
                                <th align="center" width="10%">市场单价
                                </th>
                                <th align="center" width="10%">供应单价
                                </th>
                                <th align="center" width="10%">金额
                                </th>
                                <th align="center" width="11%">备注
                                </th>
                            </tr>
                            <tr ms-repeat-con="productsList" align="center" style="background-color: rgb(255, 255, 255);">
                                <th align="center" style="font-weight: 100;">{{con.productName}}
                                </th>
                                <th align="center" style="font-weight: 100;">{{con.standard}}
                                </th>
                                <th align="center" style="font-weight: 100;">{{con.number}}
                                </th>
                                <th align="center" style="font-weight: 100;">{{con.units}}
                                </th>
                                <th align="center" style="font-weight: 100;">{{con.marketPrice}}
                                </th>
                                <th align="center" style="font-weight: 100;">{{con.price}}
                                </th>
                                <th align="center" style="font-weight: 100;">{{con.money}}
                                </th>
                                <th align="center" style="font-weight: 100;">{{con.remarks}}
                                </th>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td height="25" width="100px" align="right">小计：
                    </td>
                    <td height="25" width="*" align="left"><a href="javascript:void(0)" style="font-size: 16px; color: black;">{{entity.Total}}</a>(元)</td>
                    <td height="25" width="100px" align="right">优惠：
                    </td>
                    <td height="25" width="*" align="left"><a href="javascript:void(0)" style="font-size: 16px; color: black;">{{entity.Preferential}}</a>(元)</td>
                </tr>
                <tr>
                    <td height="25" width="100px" align="right">税率：
                    </td>
                    <td height="25" width="*" align="left"><a href="javascript:void(0)" style="font-size: 16px; color: black;">{{entity.TaxRate}}</a>(%) </td>
                    <td height="25" width="100px" align="right">税额：
                    </td>
                    <td height="25" width="*" align="left"><a href="javascript:void(0)" style="font-size: 16px; color: black;">{{entity.TaxPosition}}</a>(元) </td>
                </tr>
                <tr>
                    <td height="25" width="100px" align="right">合计总金额：
                    </td>
                    <td height="25" width="*" align="left"><a href="javascript:void(0)" style="font-size: 16px; color: black;">{{entity.TotalMoney}}</a>(元)</td>
                    <td height="25" width="100px" align="right">供应商：
                    </td>
                    <td height="25" width="*" align="left">{{entity.SupplyName}}
                    </td>
                </tr>
                <tr>
                    <td height="25" width="100px" align="right">联系人：
                    </td>
                    <td height="25" width="*" align="left">{{entity.ContactsName}}
                    </td>
                    <td height="25" width="100px" align="right">联系方式：
                    </td>
                    <td height="25" width="*" align="left">{{entity.ContactsTel}}
                    </td>
                </tr>
                <tr>
                    <td height="25" width="100px" align="right">备注 ：
                    </td>
                    <td height="25" colspan="3" width="*" align="left">{{entity.Remarks}}</td>
                </tr>
                <tr>
                    <td height="25" width="100px" align="right">录入人 ：
                    </td>
                    <td height="25" width="*" align="left">{{entity.AddBy.FullName}}
                    </td>
                    <td height="25" width="100px" align="right">录入时间 ：
                    </td>
                    <td height="25" width="*" align="left">{{entity.AddTime}}
                    </td>
                </tr>
            </tbody>
        </table>
    </noscript>

    <!--比价-->
    <noscript id="compareTemplate">
        <table width="1000px" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
            <tbody>
                <tr>
                    <td height="25" width="100px" align="right">标题：
                    </td>
                    <td height="25" width="*" align="left">{{entity.EnquiryTag}}
                    </td>
                    <td height="25" width="100px" align="right">批次号 ：
                    </td>
                    <td height="25" width="*" align="left">{{entity.EnquiryBatch}}
                    </td>
                </tr>
                <tr>
                    <td colspan="4" style="padding-left: 0px; padding-bottom: 0px;">
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" style="overflow: scroll;" class="tableList1">
                            <tr class="minhead">
                                <th ms-repeat-r="purchasecompareTag" style="text-align: center; width: 80px;">{{r}}
                                </th>
                            </tr>
                            <tr ms-repeat-con="purchasecompare" align="center" style="background-color: rgb(255, 255, 255);">
                                <th ms-repeat-el="con" style="text-align: center; font-weight: 100; width: 80px;">{{el}}
                                </th>
                            </tr>
                            <tr ms-repeat-cons="purchasecompareList" align="center" style="background-color: rgb(251, 249, 250);">
                                <th ms-repeat-els="cons" style="text-align: center; font-weight: 100; width: 80px;">{{els}}
                                </th>
                            </tr>
                            <tr style="background-color: rgb(237, 236, 222);">
                                <th style="text-align: center; font-weight: 100; width: 80px;">选用</th>
                                <th></th>
                                <th ms-repeat-el="purchasecompareId" style="text-align: center; width: 80px;">
                                    <input type="checkbox" name="selectcheckbox" ms-value="el" />
                                </th>
                            </tr>
                        </table>
                    </td>
                </tr>

            </tbody>
        </table>
    </noscript>
</div>
