<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom: -5px; width: 990px;">
    <tbody style="background-color: #fff;">
        <tr>
            <!--leftNav-->
            <td width="120" height="*" valign="top" bgcolor="#edecec" id="view_left">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableClassify">
                    <tbody>
                        <tr>
                            <td>
                                <i ms-if="entity.State==1" class="proup_big" title="正常"></i>
                                <i ms-if="entity.State!=1" class="prodown_big" title="产品已下架"></i>
                                <span ms-if="entity.State==1" style="margin-left: 35px; font-size: 18px; color: green; font-weight: bold;">上架</span>
                                <span ms-if="entity.State!=1" style="margin-left: 35px; font-size: 18px; color: red; font-weight: bold;">下架</span>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <div>
                    <ul style="margin-top: 16px;">
                        <li ms-class-selected="currNav==1"><a ms-click="doChangeNav(1)" href="javascript:void(0)">产品详情</a></li>
                        <li ms-class-selected="currNav==2"><a ms-click="doChangeNav(2)" href="javascript:void(0)">相关合同</a></li>
                        <li ms-class-selected="currNav==3"><a ms-click="doChangeNav(3)" href="javascript:void(0)">相关跟单</a></li>
                        <li ms-class-selected="currNav==4"><a ms-click="doChangeNav(4)" href="javascript:void(0)">库存情况</a></li>
                        <li ms-class-selected="currNav==5"><a ms-click="doChangeNav(5)" href="javascript:void(0)">产品动态</a></li>
                        <li ms-class-selected="currNav==6"><a ms-click="doChangeNav(6)" href="javascript:void(0)">产品分析</a></li>
                    </ul>
                </div>
            </td>
            <!--End leftNav-->
            <td valign="top">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" id="productPanelPrint">
                    <tbody>
                        <tr>
                            <td class="addrightbg" valign="top" style="height: 46px; line-height: 46px; border-bottom: 1px solid #d2d2d2;">&nbsp; <a style='color: #2D2D2D; font-weight: 300; font-size: 18px; font-family: "黑体"; font-family: "Microsoft Yahei";'>{{entity.Name|truncate(25,"...")}}</a>
                                <a title="百度搜索" target="_blank" ms-href="'http://www.baidu.com/s?wd='+entity.Name">
                                    <img style="margin-top: 17px;" src="/Content/Themes/base/Images/ico/c_baidu.jpg"></a>
                                <a title="谷歌搜索" target="_blank" ms-href="'http://www.google.com.hk/search?q='+entity.Name">
                                    <img style="margin-top: 17px;" src="/Content/Themes/base/Images/ico/c_google.jpg"></a>
                                <span style="float: right; margin-right: 15px;">
                                    <a ms-if="entity.EDIT" href="javascript:void(0)" ms-click="doedit(entity.Id)" class="view_doedit">编辑</a>
                                    <a ms-if="entity.EDIT" href="javascript:void(0)" ms-click="doupdatefield('trun',entity.Id)" class="view_doputsea">转移分类</a>
                                    <a ms-if="entity.DELETE" href="javascript:void(0)" ms-click="dodel(entity.Id)" class="view_doalldel">删除</a>
                                    <a href="javascript:void(0)" ms-click="doPrint" class="view_doprint">打印</a>
                                    <a class="view_prefix" ms-if="hasPrevious" href="javascript:void(0)" ms-click="doview(previousId)" ms-title="previousLabel">&nbsp;</a>
                                    <a class="view_next" ms-if="hasNext" href="javascript:void(0)" ms-title="nextLabel" ms-click="doview(nextId)">&nbsp;</a>
                                </span>
                            </td>
                        </tr>
                        <tr ms-if='currNav==1'>
                            <td>
                                <div style="width: 99%;" class="top10">
                                    <div>
                                        <ul class="tabWarp" style="padding-left: 10px;">
                                            <li val="1" ms-click="tabChange" ms-class-hover="tab==1" ms-class-normal="tab!=1">基本信息</li>
                                            <li val="2" ms-click="tabChange" ms-class-hover="tab==2" ms-class-normal="tab!=2">产品说明</li>
                                            <li val="3" ms-click="tabChange" ms-class-hover="tab==3" ms-class-normal="tab!=3">特供价格</li>
                                            <li val="4" ms-click="tabChange" ms-class-hover="tab==4" ms-class-normal="tab!=4">提成设置</li>
                                        </ul>
                                    </div>
                                    <div ms-visible="tab==1" class="tabContent">
                                        <table style="width: 100%;" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                                            <tr>
                                                <td style="width: 120px;">助记简称：</td>
                                                <td style="width: 250px;">{{entity.Abbreviation}}
                                                </td>
                                                <td style="width: 120px;">产品编号：</td>
                                                <td style="width: 250px;">{{entity.No}}
                                                </td>
                                                <td rowspan="8" colspan="2" style="background-color: white;">
                                                    <div style="width: 100%;">
                                                        <div style="height: 190px; width: 300px; margin-top: 10px;" align="center">
                                                            <a href="javascript:void(0)">
                                                                <img id="idImage2" class="izImage2" style="width: 260px; height: 170px;" /></a>
                                                            <div id="idViewer2" class="izViewer2">
                                                            </div>
                                                        </div>
                                                        <a href="javascript:void(0)" class="boomleft" id="btnleft"></a>
                                                        <div id="slider" style="width: 220px;">
                                                            <div id="idList" class="list">
                                                            </div>
                                                        </div>
                                                        <a href="javascript:void(0)" class="boomright" id="btnright"></a>
                                                        <div id="idHandle3" class="handle2">
                                                        </div>

                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>产品分类：</td>
                                                <td>{{entity.CategoryName}}
                                                </td>
                                                <td>产品条码：</td>
                                                <td>{{entity.BarCode}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>品牌：</td>
                                                <td>{{entity.Brand.Name}}
                                                </td>
                                                <td>产地：</td>
                                                <td>{{entity.Origin}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>供应商：</td>
                                                <td><a href='javascript:void(0);' ms-live-click="doviews" ms-attr-path="'/Customer/DetailCustomer/'+entity.SuplierIds">{{entity.SuplierNames}}</a>
                                                </td>
                                                <td>单位：</td>
                                                <td>{{entity.UnitsDisplay}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>规格/型号：</td>
                                                <td>{{entity.Standard}}
                                                </td>
                                                <td>重量：</td>
                                                <td>{{entity.UnitOfWeightDisplay}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>标准售价：</td>
                                                <td style="font-size: 24px; color: #00A000;">
                                                    {{entity.GeneralCustomerPrice}}
                                                </td>
                                                <td>当前库存：</td>
                                                <td>{{entity.CurrentStockNum}}
                                                </td>

                                            </tr>
                                            <tr>
                                                <td>销售最低价：</td>
                                                <td>{{entity.LowestPrice}}
                                                </td>
                                                <td>库存下限：</td>
                                                <td>{{entity.LowestStockNum}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>特价：</td>
                                                <td><span ms-if="entity.IsSpecial!='是'">无</span>

                                                    <span ms-if="entity.IsSpecial=='是' && entity.TeJia!=null">{{entity.TeJia}}元
                                                             
                                                    </span>
                                                    <span ms-if="entity.IsSpecial=='是' && entity.TeJia!=null">({{entity.StartDate|truncate(10,'')}}至{{entity.EndDate|truncate(10,'')}}) </span>
                                                </td>
                                                <td>库存上限：</td>
                                                <td>{{entity.HighestStockNum}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td rowspan="4" colspan="4" style="padding-left: 0px;">
                                                    <table border="0" cellspacing="1" cellpadding="0" class="tableList1" style="width: 100%;">
                                                        <tr class="minhead">
                                                            <th width="49%" align="center" bgcolor="#FFFFFF" style="font-weight: 100;">会员级别
                                                            </th>
                                                            <th width="51%" align="center" bgcolor="#FFFFFF" style="font-weight: 100;">会员价格
                                                            </th>
                                                        </tr>
                                                        <tbody>
                                                            <tr ms-repeat-item="gradePricelist" align="center" style="background-color: rgb(255, 255, 255);">
                                                                <th align="center" bgcolor="#FFFFFF" style="font-weight: 100;">{{item.MemberGradeDisplay}}
                                                                </th>
                                                                <th align="center" bgcolor="#FFFFFF" style="font-weight: 100;">{{item.Prints}}
                                                                </th>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                                <td style="width: 120px; background-color: #FAFAFA">被购买次数 ：</td>
                                                <td style="background-color: white;">{{entity.Buy}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>贡献收入金额：</td>
                                                <td>{{entity.ContributeRevenueMoney}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>被投诉次数：</td>
                                                <td>{{entity.ComplainNum}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td>
                                            </tr>
                                        </table>
                                    </div>
                                    <div ms-visible="tab==2" class="tabContent">
                                        <div style="min-height: 500px; margin-left: 10px;">
                                            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList top10">
                                                <tr class="head">
                                                    <td>产品说明
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td bgcolor="#FFFFFF" style="padding: 10px;">{{entity.Info|html}}
                                                    </td>
                                                </tr>
                                            </table>
                                            <table width="99%" border="0" cellspacing="1" cellpadding="0" class="tableList top10">
                                                <tr class="head">
                                                    <td>售后保障
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td bgcolor="#FFFFFF" style="padding: 10px;">{{entity.AfterService|html}}
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                    <div ms-visible="tab==3" class="tabContent">
                                        <div style="min-height: 500px; margin-left: 10px;">
                                            <div class="input-append">
                                                <input type="text" class="span4" ms-duplex="sQueryData.customerName" placeholder="客户名称" ms-enter="getSpecialPrice">
                                                <button class="add-on ibtsearch" type="button" ms-click="getSpecialPrice" style="height: 28px; font-size: 12px; padding: 3px 12px;">
                                                    {{lang.SearchBtn}}
                                                </button>
                                            </div>
                                            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList bottom10"
                                                id="tegong">
                                                <tr class="head">
                                                    <td width="70%" align="center" bgcolor="#FFFFFF">客户名称
                                                    </td>
                                                    <td width="20%" align="center" bgcolor="#FFFFFF">价格
                                                    </td>
                                                </tr>
                                                <tbody>
                                                    <tr ms-repeat-item="pro" ms-class-old="$index % 2" ms-class-even="!($index % 2)" ms-hover="hover">
                                                        <td bgcolor="#FFFFFF">
                                                            <a style="margin-left: 5px;" href='javascript:void(0)' ms-live-click="doviews" ms-attr-path="'/Customer/DetailCustomer/'+item.CustomerId">{{item.CustomerDisplay}}</a>
                                                        </td>
                                                        <td align="center" bgcolor="#FFFFFF">{{item.Prints}}
                                                        </td>
                                                    </tr>
                                                </tbody>
                                                <tfoot>
                                                    <tr>
                                                        <td colspan="3" ms-widget='paging,upaing2,proptions'></td>
                                                    </tr>
                                                </tfoot>
                                            </table>
                                        </div>
                                    </div>
                                    <div ms-visible="tab==4" class="tabContent">
                                        <table ms-if="SPECIALPRICE" style="width: 100%;" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                                            <tr>
                                                <td style="width: 90px;">{{lang.StockPrice}}：
                                                </td>
                                                <td style="width: 250px;">
                                                    <span ms-if="entity.StockPrice!=null">{{entity.StockPrice}}{{lang.Yuan}}</span>
                                                </td>
                                                <td style="width: 90px;">提成基准价：
                                                </td>
                                                <td align="left">
                                                    <span ms-if="entity.RoyaltyPrice">{{entity.RoyaltyPrice}}{{lang.Yuan}}</span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>提成办法：</td>
                                                <td>
                                                    {{entity.RoyaltyType==1?"按数量":"按百分比"}}
                                                </td>
                                                <td>计算方式：</td>
                                                <td>
                                                    <div ms-if="entity.RoyaltyType==0">
                                                        {{entity.RoyaltyCompute==1?"按销售金额":"按销售毛利"}}的{{entity.RoyaltyValue}}%
                                                    </div>
                                                    <div ms-if="entity.RoyaltyType==1">
                                                        每件{{entity.RoyaltyValue}}{{lang.Yuan}}
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                        <div ms-if="!SPECIALPRICE" style="height:100px;line-height:100px;font-size:18px;text-align:center;">
                                            抱歉，您没有查看进货价、提成设置的权限。
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr ms-if='currNav==2'>
                            <td style="padding: 10px;">
                                <div style="min-height: 500px;">
                                    <table width="99%" border="0" cellspacing="1" cellpadding="0" class="tableList" id="tableList" style="margin-bottom: 10px;">
                                        <tr class="head" style="background-color: rgba(0, 0, 0, 0);">
                                            <td width="10%" align="center">合同名称</td>
                                            <td width="10%" align="center">客户名称</td>
                                            <td width="10%" align="center" title="点击按此列排序" class="colsort" ms-click="cautosort('Money')">金额
                                                     <span ms-class-colsortdown="csort=='Money' && csortValue==0" ms-class-colsortup="csort=='Money' && csortValue==1"></span>
                                            </td>
                                            <td width="10%" align="center">状态</td>
                                            <td width="10%" align="center">签约人</td>
                                            <td width="10%" align="center" title="点击按此列排序" class="colsort" ms-click="cautosort('AddTime')">签约时间
                                                        <span ms-class-colsortdown="csort=='AddTime' && csortValue==0" ms-class-colsortup="csort=='AddTime' && csortValue==1"></span>
                                            </td>
                                        </tr>
                                        <tr ms-repeat-item="grid1.list" ms-class-old="$index % 2" ms-class-even="!($index % 2)" ms-hover="hover">
                                            <td align="left">
                                                <a href="javascript:void(0);" ms-live-click="doviews" ms-attr-path="'/Market/Contract/'+item.ContractId+'/get'">{{item.ContractName}}</a>
                                            </td>
                                            <td align="left"><a href='javascript:void(0)' ms-live-click="doviews" ms-attr-path="'/Customer/DetailCustomer/'+item.CustomerId">{{item.CustomerDisplay}}</a>
                                            </td>
                                            <td align="center">{{item.Money}}
                                            </td>
                                            <td align="center">{{item.StateDisplay}}
                                            </td>
                                            <td align="center">{{item.MySignPersionDisplay}}
                                            </td>
                                            <td align="center">{{item.AddTime}}
                                            </td>
                                        </tr>
                                        <tr ms-if="grid1.list.length==0">
                                            <td colspan="9" style="text-align: center;">暂无数据
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="9" ms-widget='paging' data-gridid="grid1"></td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                        <tr ms-if='currNav==3'>
                            <td style="padding: 10px;">
                                <div style="min-height: 500px;">
                                    <table width="99%" border="0" cellspacing="1" cellpadding="0" class="tableList" id="table1" style="margin-bottom: 10px;">
                                        <tr class="head" style="background-color: rgba(0, 0, 0, 0);">
                                            <td width="10%" align="center">主题</td>
                                            <td width="10%" align="center">客户名称</td>
                                            <td width="10%" align="center" title="点击按此列排序" class="colsort" ms-click="dautosort('Money')">金额
                                                        <span ms-class-colsortdown="dsort=='Money' && dsortValue==0" ms-class-colsortup="dsort=='Money' && dsortValue==1"></span>
                                            </td>
                                            <td width="10%" align="center">状态</td>
                                            <td width="10%" align="center">跟单人</td>
                                            <td width="10%" align="center" title="点击按此列排序" class="colsort" ms-click="dautosort('OrderTime')">报价时间
                                                         <span ms-class-colsortdown="dsort=='OrderTime' && dsortValue==0" ms-class-colsortup="dsort=='OrderTime' && dsortValue==1"></span>
                                            </td>
                                        </tr>
                                        <tr ms-repeat-item="grid2.list" ms-class-old="$index % 2" ms-class-even="!($index % 2)" ms-hover="hover">
                                            <td align="left">
                                                <a href='javascript:void(0);' ms-live-click="doviews" ms-attr-path="'/Market/DocumentaryOffer/'+item.DocumentaryOfferId+'/get'">{{item.Title}}</a>

                                            </td>
                                            <td align="left"><a href='javascript:void(0)' ms-live-click="doviews" ms-attr-path="'/Customer/DetailCustomer/'+item.CustomerId">{{item.CustomerDisplay}}</a>
                                            </td>
                                            <td align="center">{{item.Money}}
                                            </td>
                                            <td align="center">
                                                <span ms-if="item.IsSign" style="color: #0d9836; cursor: pointer;" ms-title="'合同名称：'+item.ContractDisplay" ms-click="contractdoview" ms-attr-val="item.Contract">已签单</span>
                                                <span ms-if="!item.IsSign">未签单</span>
                                            </td>

                                            <td align="center">{{item.DocumentaryEmployeeDisplay}}
                                            </td>
                                            <td align="center">{{item.OrderTime}}
                                            </td>
                                        </tr>
                                        <tr ms-if="grid2.list.length==0">
                                            <td colspan="8" style="text-align: center;">暂无数据
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="8" ms-widget='paging' data-gridid="grid2"></td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                        <tr ms-if='currNav==4'>
                            <td style="padding: 10px; padding-top: 0px;">
                                <div style="min-height: 500px;" ms-each-item="StorehouseList">
                                    <div ms-if="!item.MultipleSpace" style="width: 250px; height: 150px; margin: 15px; float: left;">
                                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList" id="table4" style="margin-bottom: 10px; height: 150px;">
                                            <tr>
                                                <td align="center" style="font-size: 16px; font-weight: bold; background-color: rgb(238, 236, 238);">{{item.Name}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center" style="font-size: 30px; background-color: white;">{{item.Numder}}
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                    <div ms-if="item.MultipleSpace" style="width: 250px; height: 150px; margin: 15px; float: left;">
                                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList" id="table5" style="margin-bottom: 10px; height: 150px;">
                                            <tr>
                                                <td align="center" ms-attr-colspan="{{item.SpaceLists.length}}" style="font-size: 16px; font-weight: bold; background-color: rgb(238, 236, 238);">{{item.Name}}</td>
                                            </tr>
                                            <tr>
                                                <td ms-repeat-r="item.SpaceLists" align="center" style="font-size: 16px; background-color: white;">{{r.Name}}
                                                </td>
                                            </tr>
                                            <tr>
                                                <td ms-repeat-con="item.SpaceLists" align="center" style="font-size: 30px; background-color: white;">{{con.Numder}}
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr ms-if='currNav==5'>
                            <td style="padding: 10px; padding-top: 0px;">
                                <div style="min-height: 500px;">
                                    <div style="height: 20px; margin-top: 10px; padding: 8px; background-color: rgb(245, 242, 245);">
                                        <span style="font-size: 14px; margin-top: 10px; margin-left: 20px; font-weight: bold;">最近动态</span>
                                        <span class="helptip"><a href="javascript:void(0)" title="这里数据只显示最近有数据的7天,如想查看所有数据请点击左侧相关菜单">&nbsp;&nbsp;</a></span>
                                    </div>
                                    <div ms-if="ProductDynamicList.length!=0" class="alls timeline">
                                        <ul class="list">
                                            <li ms-repeat-item="ProductDynamicList">
                                                <div class="list_l float_l">
                                                    <span>{{item.dataTimes}}</span><p>{{item.week}}</p>
                                                </div>
                                                <div class="list_m float_l"></div>
                                                <div class="list_r float_l">
                                                    <i class="l_right_ico"></i>
                                                    <dl class="right_list">
                                                        <dt>
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableList">
                                                                <tbody>
                                                                    <tr ms-repeat-con="item.DynamicList">
                                                                        <td style="font-size: 18px; width: 13%;">{{con.Times}}
                                                                        </td>
                                                                        <td style="width: 13%;">{{con.Type}}
                                                                        </td>
                                                                        <td style="width: 30%;"><a href='javascript:void(0)' ms-live-click="doviews" ms-attr-path="'/Customer/DetailCustomer/'+con.CustomerId">{{con.Customer}}</a>
                                                                        </td>
                                                                        <td style="width: 32%;">
                                                                            <a ms-if="con.Type=='合同订单'" href="javascript:void(0);" ms-live-click="doviews" ms-attr-path="'/Market/Contract/'+con.ContractId+'/get'">{{con.Contract}}</a>
                                                                            <a ms-if="con.Type=='跟单报价'" href='javascript:void(0);' ms-live-click="doviews" ms-attr-path="'/Market/DocumentaryOffer/'+con.ContractId+'/get'">{{con.Contract}}</a>
                                                                        </td>
                                                                        <td style="width: 12%;">{{con.UserName}}
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </dt>
                                                    </dl>
                                                </div>
                                                <div class="clear"></div>
                                            </li>
                                        </ul>
                                    </div>

                                    <div ms-if="ProductDynamicList.length==0" style="text-align: center; margin-top: 30px; font-size: 18px;">
                                        <span>暂无数据</span>
                                    </div>

                                    <div style="padding-top: 20px; padding-right: 20px; display: none;">
                                        <input type="hidden" ms-duplex="up" />
                                        <input type="hidden" ms-duplex="down" />
                                        <a href='javascript:void(0)' class="cbbtn" ms-click="PageUp()">上一页
                                        </a>&nbsp;
                                                <a href='javascript:void(0)' class="cbbtn" ms-click="PageDown()">下一页</a>

                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr ms-if='currNav==6'>
                            <td style="padding: 10px; padding-top: 0px;">
                                <div style="min-height: 600px;">

                                    <!--  <div style="width: 99%;" class="top10">
                                                <div>
                                                    <ul class="tabWarp" style="padding-left: 10px;">
                                                        <li val="1" ms-click="tabChanges" ms-class-hover="tabs==1" ms-class-normal="tabs!=1">销售量</li>
                                                        <li val="2" ms-click="tabChanges" ms-class-hover="tabs==2" ms-class-normal="tabs!=2">客户购买情况</li>
                                                    </ul>
                                                </div>
                                            <div ms-visible="tabs==1" class="tabContent" style="border: none;">-->
                                    <div style="height: 30px; margin-top: 10px; padding: 8px; background-color: rgb(245, 242, 245);">
                                        <select style="width: 90px; height: 28px;" ms-duplex-text="TimeTypeOne">
                                            <option ms-attr-value="1">今日</option>
                                            <option ms-attr-value="2">本周</option>
                                            <option ms-attr-value="0">本月</option>
                                            <option ms-attr-value="3">本季度</option>
                                            <option ms-attr-value="4">今年</option>
                                        </select>
                                        <lable>
                                                    <input type="text" name="bDate" id="bDate" ms-duplex="bTime" class="chaoboDate" ms-widget='date,StartDate,MonthOpts' style="width: 90px" />-
                                                        <input type="text" name="eDate" id="eDate" class="chaoboDate" ms-duplex="eTime" style="width: 90px" ms-widget='date,EndDate,MonthOpts' />
                                                        </lable>
                                        <input type="checkbox" ms-duplex-radio="show" />&nbsp;对比&nbsp;
                                                     <lable ms-if="show">
                                                     <select style="width: 90px; height: 28px;"  ms-duplex-text="TimeTypeTwo">
                                                        <option ms-attr-value="1">昨日</option>
                                                        <option ms-attr-value="2">上周</option>
                                                        <option ms-attr-value="0">上月</option>
                                                        <option ms-attr-value="3">上季度</option>
                                                        <option ms-attr-value="4">上年</option>
                                                     </select>
                                                         <input type="text" name="StartDate" id="StartDate" ms-duplex="starTime" class="chaoboDate" ms-widget='date,StartDate,MonthOpts' style="width:90px" />-
                                                        <input type="text" name="EndDate" id="EndDate" class="chaoboDate" ms-duplex="endTime" style="width: 90px" ms-widget='date,EndDate,MonthOpts' />
                                                        </lable>
                                        <input id="Reset1" type="reset" value="统 计" class="myfbt2" ms-click="search" />
                                    </div>
                                    <div ms-if="!showTable" style="height: 130px; margin-left: 40px; margin-top: 10px;">
                                        <ul class="staff">
                                            <li>
                                                <div class="staffli_l staff_blue">
                                                    <div class="staffli_l_img">
                                                        <span class="market">销售量</span>
                                                    </div>
                                                </div>
                                                <div class="staffli_r">
                                                    <div>
                                                        <span ms-if="TimeTypeTwo==1" class="nian">今日</span>
                                                        <span ms-if="TimeTypeTwo==2" class="nian">本周</span>
                                                        <span ms-if="TimeTypeTwo==0" class="nian">本月</span>
                                                        <span ms-if="TimeTypeTwo==3" class="nian">本季度</span>
                                                        <span ms-if="TimeTypeTwo==4" class="nian">本年</span><span class="font_blue">{{Pmodel.Numder}}</span><span class="font2">排第</span><span class="font2_blue">{{Pmodel.NumSort}}</span><span class="helptip"><a href="javascript:void(0)" title="统计该该产品的销售量排名">&nbsp;&nbsp;</a></span>
                                                    </div>
                                                    <div><span class="nian">{{Pmodel.BeinTime}}至{{Pmodel.EedTime}}</span></div>
                                                </div>
                                                <div class="clear"></div>
                                            </li>
                                            <li>
                                                <div class="staffli_l staff_blue">
                                                    <div class="staffli_l_img">
                                                        <span class="market">销售金额</span>
                                                    </div>
                                                </div>
                                                <div class="staffli_r">
                                                    <div>
                                                        <span ms-if="TimeTypeTwo==1" class="nian">今日</span>
                                                        <span ms-if="TimeTypeTwo==2" class="nian">本周</span>
                                                        <span ms-if="TimeTypeTwo==0" class="nian">本月</span>
                                                        <span ms-if="TimeTypeTwo==3" class="nian">本季度</span>
                                                        <span ms-if="TimeTypeTwo==4" class="nian">本年</span><span class="font_blue">{{Pmodel.Total}}</span><span class="font2">排第</span><span class="font2_blue">{{Pmodel.MoneySort}}</span><span class="helptip"><a href="javascript:void(0)" title="统计该该产品的销售金额排名">&nbsp;&nbsp;</a></span>
                                                    </div>
                                                    <div><span class="nian">{{Pmodel.BeinTime}}至{{Pmodel.EedTime}}</span></div>
                                                </div>
                                                <div class="clear"></div>
                                            </li>
                                        </ul>
                                    </div>
                                    <div ms-if="showTable" style="height: 280px; margin-left: 40px; margin-top: 10px;">
                                        <ul class="staff">
                                            <li>
                                                <div class="staffli_l staff_blue">
                                                    <div class="staffli_l_img">
                                                        <span class="market">销售量</span>
                                                    </div>
                                                </div>
                                                <div class="staffli_r">
                                                    <div>
                                                        <span ms-if="TimeTypeTwo==1" class="nian">今日</span>
                                                        <span ms-if="TimeTypeTwo==2" class="nian">本周</span>
                                                        <span ms-if="TimeTypeTwo==0" class="nian">本月</span>
                                                        <span ms-if="TimeTypeTwo==3" class="nian">本季度</span>
                                                        <span ms-if="TimeTypeTwo==4" class="nian">本年</span>
                                                        <span class="font_blue">{{PmodelOne.Numder}}</span><span class="font2">排第</span><span class="font2_blue">{{PmodelOne.NumSort}}</span><span class="helptip"><a href="javascript:void(0)" title="统计该该产品的销售量排名">&nbsp;&nbsp;</a></span>
                                                    </div>
                                                    <div><span class="nian">{{PmodelOne.BeinTime}}至{{PmodelOne.EedTime}}</span></div>
                                                </div>
                                                <div class="clear"></div>
                                            </li>
                                            <li>
                                                <div class="staffli_l staff_blue">
                                                    <div class="staffli_l_img">
                                                        <span class="market">销售金额</span>
                                                    </div>
                                                </div>
                                                <div class="staffli_r">
                                                    <div>
                                                        <span ms-if="TimeTypeTwo==1" class="nian">今日</span>
                                                        <span ms-if="TimeTypeTwo==2" class="nian">本周</span>
                                                        <span ms-if="TimeTypeTwo==0" class="nian">本月</span>
                                                        <span ms-if="TimeTypeTwo==3" class="nian">本季度</span>
                                                        <span ms-if="TimeTypeTwo==4" class="nian">本年</span><span class="font_blue">{{PmodelOne.Total}}</span><span class="font2">排第</span><span class="font2_blue">{{PmodelOne.MoneySort}}</span><span class="helptip"><a href="javascript:void(0)" title="统计该该产品的销售金额排名">&nbsp;&nbsp;</a></span>
                                                    </div>
                                                    <div><span class="nian">{{PmodelOne.BeinTime}}至{{PmodelOne.EedTime}}</span></div>
                                                </div>
                                                <div class="clear"></div>
                                            </li>
                                        </ul>
                                        <ul class="staff">
                                            <li>
                                                <div class="staffli_l staff_yellow">
                                                    <div class="staffli_l_img">
                                                        <span class="market">销售量</span>
                                                    </div>
                                                </div>
                                                <div class="staffli_r">
                                                    <div>
                                                        <span ms-if="TimeTypeTwo==1" class="nian">昨日</span>
                                                        <span ms-if="TimeTypeTwo==2" class="nian">上周</span>
                                                        <span ms-if="TimeTypeTwo==0" class="nian">上月</span>
                                                        <span ms-if="TimeTypeTwo==3" class="nian">上季度</span>
                                                        <span ms-if="TimeTypeTwo==4" class="nian">上年</span><span class="font_blue">{{PmodelTwo.Numder}}</span><span class="font2">排第</span><span class="font2_blue">{{PmodelTwo.NumSort}}</span><span class="helptip"><a href="javascript:void(0)" title="统计该该产品的销售量排名">&nbsp;&nbsp;</a></span>
                                                    </div>
                                                    <div><span class="nian">{{PmodelTwo.BeinTime}}至{{PmodelTwo.EedTime}}</span></div>
                                                </div>
                                                <div class="clear"></div>
                                            </li>
                                            <li>
                                                <div class="staffli_l staff_yellow">
                                                    <div class="staffli_l_img">
                                                        <span class="market">销售金额</span>
                                                    </div>
                                                </div>
                                                <div class="staffli_r">
                                                    <div>
                                                        <span ms-if="TimeTypeTwo==1" class="nian">昨日</span>
                                                        <span ms-if="TimeTypeTwo==2" class="nian">上周</span>
                                                        <span ms-if="TimeTypeTwo==0" class="nian">上月</span>
                                                        <span ms-if="TimeTypeTwo==3" class="nian">本季度</span>
                                                        <span ms-if="TimeTypeTwo==4" class="nian">本年</span><span class="font_blue">{{PmodelTwo.Total}}</span><span class="font2">排第</span><span class="font2_blue">{{PmodelTwo.MoneySort}}</span><span class="helptip"><a href="javascript:void(0)" title="统计该该产品的销售金额排名">&nbsp;&nbsp;</a></span>
                                                    </div>
                                                    <div><span class="nian">{{PmodelTwo.BeinTime}}至{{PmodelTwo.EedTime}}</span></div>
                                                </div>
                                                <div class="clear"></div>
                                            </li>
                                        </ul>
                                    </div>
                                    <div id="chart_sign" style="height: 200px; margin-top: 10px; margin-left: 20px;">
                                    </div>
                                    <div id="chart_Customer" style="height: 200px; margin-top: 10px; margin-left: 20px;">
                                    </div>
                                    <!-- </div>
                                            <div ms-visible="tabs==2" class="tabContent" style="border: none;">
                                                <div style="min-height: 500px; margin-left: 10px;">
                                                </div>
                                            </div>-->
                                    <!-- </div>-->
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
    </tbody>
</table>
