<style> #otherContent #mian{ background: white;overflow: hidden; width: 100%;border: none; margin: 0;} #viewcustomer { padding:-20px -25px;}</style>
<table id="viewcustomer" border="0" align="center" cellpadding="0" cellspacing="0" id="mian" style="" ms-controller="ViewCustomer">
    <tbody>
        <tr>
            <!--leftNav-->
            <td width="198" height="450" valign="top" id="tdleft" rowspan="2">
                <div id="left">
                    <!------其它客户------>
                    <div ms-visible="customerEntity.SuperiorCategoryId!=10135">
                        <h2>客户信息</h2>
                        <ul>
                            <li ms-class-selected="currNav==1" ms-click="doChangeNav(1)"><a ms-href="'#/Customer/DetailCustomer/'+customerEntity.Id" class="custInfo">客户详情</a></li>
                            <li ms-class-selected="currNav==2" ms-click="doChangeNav(2)"><a ms-href="'#/Customer/Contacts/'+customerEntity.Id" class="custLinkman">客户联系人</a></li>
                            <li ms-class-selected="currNav==3" ms-click="doChangeNav(3)"><a ms-href="'#/Customer/DetailSalesOpportunities/'+customerEntity.Id" class="custSale">销售机会&amp;跟单报价</a></li>
                            <li ms-class-selected="currNav==4" ms-click="doChangeNav(4)"><a ms-href="'#/Market/Contract/'+customerEntity.Id" class="custContract">合同订单</a></li>
                            <li ms-class-selected="currNav==5" ms-click="doChangeNav(5)"><a ms-href="'#/Market/ProductList/'+customerEntity.Id" class="custorder">业务明细</a></li>
                            <li ms-class-selected="currNav==6" ms-click="doChangeNav(6)"><a ms-href="'#/FinancialAffairs/Accounting/'+customerEntity.Id" class="custFund">款项流水</a></li>
                            <li ms-class-selected="currNav==7" ms-click="doChangeNav(7)"><a ms-href="'#/Office/CbCalendar/0/'+customerEntity.Id" class="custSchedule">日程任务</a></li>
                            <li ms-class-selected="currNav==8" ms-click="doChangeNav(8)"><a ms-href="'#/Services/Calls/'+customerEntity.Id" class="custCometel">来电管理</a></li>
                            <li ms-class-selected="currNav==9" ms-click="doChangeNav(9)"><a ms-href="'#/Services/FollowUp/'+customerEntity.Id" class="custLoing">回访关怀</a></li>
                            <li ms-class-selected="currNav==10" ms-click="doChangeNav(10)"><a ms-href="'#/Services/CServices/'+customerEntity.Id" class="custService">客户服务</a></li>
                            <li ms-class-selected="currNav==11" ms-click="doChangeNav(11)"><a ms-href="'#/Services/Complaints/'+customerEntity.Id" class="custComplain">客户投诉</a></li>
                            <li ms-class-selected="currNav==12" ms-click="doChangeNav(12)"><a ms-href="'#/Customer/History/'+customerEntity.Id" class="custBelongto">历史归属</a></li>
                            <li class="last" ms-class-selected="currNav==13" ms-click="doChangeNav(13)"><a ms-href="'#/Customer/DetailCredentials/'+customerEntity.Id" class="custCard">客户证件</a></li>
                        </ul>
                    </div>
                    <!------竞争对手------>
                    <div ms-visible="customerEntity.SuperiorCategoryId==10135">
                        <h2>竞争对手信息</h2>
                        <ul>
                            <li class="last"><a href="javascript:void(0);" class="custInfo">竞争对手详情</a></li>
                            <!--  <li><a href="javascript:void(0);" class="custSale">竞争销售机会</a></li>
                                <li><a href="javascript:void(0);" class="custRecord">记事</a></li>
                                <li><a href="javascript:void(0);" class="custinformation">网络情报</a></li>
                                <li class="last"><a href="javascript:void(0);" class="custAnalysis">对手分析</a></li>-->
                        </ul>
                    </div>
                </div>
            </td>
            <!--End leftNav-->
            <td valign="top" style="padding-left: 20px; padding-right: 20px; padding-top: 10px; padding-bottom: 10px;">
                <img ms-if="customerEntity.IsBlackList && showCustomerHead" ms-src="blackPath" style="position: absolute; left: 340px;" />
                <table border="0" align="center" cellpadding="0" cellspacing="0" width="100%" id="customerPanelPrint">
                    <tr ms-visible="showCustomerHead">
                        <td colspan="2">
                            <!---main top---->
                            <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#D2D2D2" class="customerTop">
                                <tbody>
                                    <tr>
                                        <td width="9%" rowspan="2" bgcolor="#FAFAFA" style="padding: 0px; margin: 0px;">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableClassify">
                                                <tbody>
                                                    <tr>
                                                        <td height="55" ms-class-official="customerEntity.SuperiorCategoryId==10103 || customerEntity.SuperiorCategoryId==10107"
                                                            ms-class-collaborate="customerEntity.SuperiorCategoryId==10131" ms-class-channel="customerEntity.SuperiorCategoryId==10132"
                                                            ms-class-supply="customerEntity.SuperiorCategoryId==10133" ms-class-latent="customerEntity.SuperiorCategoryId==10134"
                                                            ms-class-compete="customerEntity.SuperiorCategoryId==10135" ms-class-society="customerEntity.SuperiorCategoryId==11170">&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td height="25" align="center"><strong>{{customerEntity.SuperiorCategoryDisplay}}</strong></td>
                                                    </tr>

                                                </tbody>
                                            </table>
                                        </td>
                                        <td width="91%" height="50" bgcolor="#FAFAFA" class="bt">
                                            <strong id="customerName">{{customerEntity.Name}}</strong>
                                            <a ms-href="'http://www.baidu.com/s?wd='+customerEntity.Name" title="百度搜索" target="_blank">
                                                <img style="margin-top:5px;" src="/Content/Themes/base/Images/ico/c_baidu.jpg"></a>
                                            <a ms-href="'http://www.google.com.hk/search?q='+customerEntity.Name" title="谷歌搜索" target="_blank">
                                                <img style="margin-top:5px;" src="/Content/Themes/base/Images/ico/c_google.jpg"></a>
                                            <span>
                                                <a ms-if="hasPrevious" ms-href="'#/Customer/DetailCustomer/' + previousId" ms-title="previousLabel" class="doprevious"></a>
                                                <a ms-if="hasNext" ms-href="'#/Customer/DetailCustomer/' + nextId" ms-title="nextLabel" class="donext"></a>
                                                <a ms-if="customerEntity.EDIT" ms-href="editHerf" class="doedit">编辑</a>
                                                <a ms-if="customerEntity.BELONG && customerEntity.SuperiorCategoryId!=10135" href="javascript:void(0)" class="dobelong" ms-click="doBelongTo">转移归属</a>
                                                <a ms-if="customerEntity.SHARE && customerEntity.SuperiorCategoryId!=10135" href="javascript:void(0)" class="doshare" ms-click="doShare">共享</a>
                                                <a ms-if="customerEntity.SEA && customerEntity.SuperiorCategoryId!=10135" href="javascript:void(0)" class="doputsea" ms-click="doMoveToInternaional">放入公海</a>
                                                <a ms-if="customerEntity.DELETE" href="javascript:void(0)" class="doalldel" ms-click="doRemove" style="background-position: -671px -757px">删除</a>
                                                <a ms-if="customerEntity.PRINT" href="javascript:void(0)" class="print" ms-click="doPrint">打印</a>
                                                <a class="allcustomer" href="#/Customer/All">客户列表</a>
                                            </span>
                                        </td>
                                    </tr>
                                    <!----其它客户---->
                                    <tr ms-visible="customerEntity.SuperiorCategoryId!=10135">
                                        <td height="40" bgcolor="#FAFAFA">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableClassihot" height="50">

                                                <tbody>
                                                    <tr>
                                                        <td width="230">编号ID：<font color="#F96400">{{customerEntity.NO}}</font>　　热点客户：{{customerEntity.IsHot?'是':'否'}}
                                                &nbsp;&nbsp;&nbsp;&nbsp;热度：</td>
                                                        <td width="180" style="padding-top: 16px;" ms-widget='processbar,hotprocessbar,hotOpts' readonly="readonly"></td>
                                                        <td>价值评估：
                                                            <div style="width: 125px; display: inline;" ms-widget='raty,valueRaty,valueRatyOpts' readonly="readonly"></div>
                                                            信用等级：
                                                            <div style="width: 125px; display: inline;" ms-widget='raty,creditRaty,creditRatyOpts' readonly="readonly"></div>
                                                            关系等级：<font color="#F96400">{{customerEntity.RelationDisplay}}</font>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>

                                        </td>
                                    </tr>
                                    <!----竞争对手---->
                                    <tr ms-visible="customerEntity.SuperiorCategoryId==10135">
                                        <td height="40" bgcolor="#FAFAFA">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableClassihot" height="50">

                                                <tbody>
                                                    <tr>
                                                        <td width="230">编号ID：<font color="#F96400">{{customerEntity.NO}}</font>
                                                            &nbsp;&nbsp;&nbsp;&nbsp;<span style="float: right;">威胁价值评估：</span></td>
                                                        <td width="180" style="padding-top: 16px;" ms-widget='raty,threatenRaty,threatenRatyOpts'></td>
                                                        <td>&nbsp;
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>

                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <!---end main top------->
                        </td>
                    </tr>
                    <tr ms-visible='isCustInfo'>
                        <td>
                            <!---main body--->
                            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo" id="info2">
                                <tbody>
                                    <tr>
                                        <td colspan="4" class="title" ms-html='lang.BasicInfo'></td>
                                    </tr>
                                    <tr>
                                        <td width="140">客户类别：
                                        </td>
                                        <td width="250">{{customerTypeDisplay}}&nbsp;<img src="/Content/Themes/base/Images/ico/businessico.jpg" style="padding: 5px; vertical-align: middle;">
                                        </td>
                                        <td width="120">助记简称：
                                        </td>
                                        <td>{{customerEntity.ShortName|truncate(20,'')}}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="140">执照全称：
                                        </td>
                                        <td colspan="3">
                                            {{customerEntity.FullName}}
                                            &nbsp;&nbsp;&nbsp;
                                            <span class="red" ms-if="customerEntity.FullNameChangeDate" ms-text="customerEntity.FullNameChangeDate"></span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>客户分类：
                                        </td>
                                        <td>{{customerEntity.BusinessTypeDisplay}}-{{customerEntity.SuperiorCategoryDisplay}}-{{customerEntity.CategoryDisplay}}                        

                                        </td>
                                        <td>上级客户：
                                        </td>
                                        <td>{{customerEntity.ParentName}}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>客户阶段：
                                        </td>
                                        <td>{{customerEntity.StageDisplay}}
                                        </td>
                                        <td>客户来源：
                                        </td>
                                        <td>{{customerEntity.SourceDisplay}}
                                        </td>
                                    </tr>
                                    <tr ms-visible='customerEntity.Type==1'>
                                        <td ms-html='lang.Sex'></td>
                                        <td>{{customerEntity.Sex==0?'男':'女'}}
                                        </td>
                                        <td ms-html='lang.Birthday'></td>
                                        <td>{{customerEntity.Birthday}}
                                        </td>
                                    </tr>
                                    <tr id="Tr2" ms-visible='customerEntity.Type==1'>
                                        <td ms-html='lang.IdCardType'></td>
                                        <td>{{customerEntity.IdCardTypeDisplay}} 
                                        </td>
                                        <td ms-html='lang.IdCardNO'></td>
                                        <td>{{customerEntity.IdCardNO}}
                                        </td>
                                    </tr>
                                    <tr ms-visible='customerEntity.Type==1'>
                                        <td width="90" ms-html='lang.UnitName'></td>
                                        <td>{{customerEntity.Company}}
                                        </td>
                                        <td ms-html='lang.Department'></td>
                                        <td>{{customerEntity.Department}}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>主营行业：
                                        </td>
                                        <td>{{customerEntity.IndustryDisplay}} 
                                        </td>
                                        <td>注册资金：
                                        </td>
                                        <td>{{customerEntity.RegFund}}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>主营业务：
                                        </td>
                                        <td>{{customerEntity.Profession}}
                                        </td>
                                        <td>人员规模：
                                        </td>
                                        <td>{{customerEntity.ScaleDisplay}}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>备注说明：
                                        </td>
                                        <td colspan="3">{{customerEntity.Remark}}
                                        </td>
                                    </tr>
                                </tbody>
                            </table>

                            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo top10" id="info3">
                                <tbody>
                                    <tr>
                                        <td colspan="4" class="title">
                                            <span ms-visible="customerEntity.SuperiorCategoryId!=10135">联系方式和银行帐号</span>
                                            <span ms-visible="customerEntity.SuperiorCategoryId==10135">联系方式</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="140">
                                            <div style="width: 140px;">详细地址：</div>
                                        </td>
                                        <td colspan="3">{{customerEntity.CompanyCountryDisplay}}-{{customerEntity.CompanyProvinceDisplay}}-{{customerEntity.CompanyCityDisplay}}-{{customerEntity.CompanyAreaDisplay}}
                           &nbsp; {{customerEntity.CompanyAddress}}&nbsp;&nbsp;
                            
                        <img ms-if="customerEntity.Lng" src="/Content/Themes/base/Images/ico/dadiandituico.jpg" style="padding-top: 8px" title="已标注">
                        <img ms-if="!customerEntity.Lng" src="/Content/Themes/base/Images/ico/dadiandituicohui.jpg" style="padding-top: 8px" title="地图未标">
                                            <a ms-if="customerEntity.Lng" href="javascript:void(0);" ms-click='detailMap'>&nbsp;查看地图</a>
                                            <span ms-if="!customerEntity.Lng" style="color: #808080" title="未标注地图">地图未标</span>

                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="140">手机/电话1：
                                        </td>
                                        <td width="250">{{customerEntity.CompanyTel1}}
                            
                                        </td>
                                        <td width="120">400电话：
                                        </td>
                                        <td>{{customerEntity.Tel400}}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>联系电话2：
                                        </td>
                                        <td>{{customerEntity.CompanyTel2}}
                                        </td>
                                        <td>传真：
                                        </td>
                                        <td>{{customerEntity.Fax}}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>主网址：
                                        </td>
                                        <td>
                                            <a ms-href="customerEntity.Homepage" ms-visible="customerEntity.Homepage !='http://'" target="_blank">{{customerEntity.Homepage}}</a>
                                        </td>
                                        <td>网店网址：</td>
                                        <td>
                                            <a ms-href="customerEntity.ShopPage" ms-visible="customerEntity.ShopPage!='http://'" target="_blank">{{customerEntity.ShopPage}} </a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Email：
                                        </td>
                                        <td>
                                            <a ms-mailto="customerEntity.Email">{{customerEntity.Email}}</a>
                                        </td>
                                        <td>Q&nbsp;Q：
                                        </td>
                                        <td>{{customerEntity.QQ}}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>淘宝旺旺：</td>
                                        <td>{{customerEntity.Wangwang}}</td>
                                        <td>其他联系：</td>
                                        <td>{{customerEntity.OtherContactMethod}}</td>
                                    </tr>
                                    <tr ms-visible="customerEntity.SuperiorCategoryId!=10135">
                                        <td>开户银行：
                                        </td>
                                        
                                        <td colspan="3">
                                            <div ms-visible="customerEntity.BankAccount !=''">
                                            {{customerEntity.BankDisplay}}&nbsp;[户名]
                            <span id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_lblOpenAccountBank" style="background: #fff; width: 80px; color: #898888;">{{customerEntity.OpenAccountBank}}
                            </span>
                                            &nbsp;[帐号] 
                            <span id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_ltlBankAccount" style="background: #fff; width: 80px; color: #898888;">{{customerEntity.BankAccount}}
                            </span>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <!---其它客户--->
                            <div ms-visible="customerEntity.SuperiorCategoryId!=10135">
                                <ul class="tabWarp" style="margin-top: 10px;">
                                    <li style="width: 100px;" ms-class-hover="tabId==1" ms-click="doShowTab(1)">系统信息</li>
                                    <li style="width: 100px;" ms-class-hover="tabId==2" ms-visible="customerEntity.Type!=1" ms-click="doShowTab(2)">单位介绍</li>
                                    <li style="width: 120px;" ms-class-hover="tabId==3" ms-visible="customerEntity.SuperiorCategoryId==10132" ms-click="doShowTab(3)">渠道代理商信息</li>
                                    <li style="width: 120px;" ms-class-hover="tabId==4" ms-visible="customerEntity.SuperiorCategoryId==10133" ms-click="doShowTab(4)">供应商实力评估</li>
                                    <li style="width: 120px;" ms-class-hover="tabId==5" ms-visible="customerEntity.SuperiorCategoryId==10134" ms-click="doShowTab(5)">媒体信息</li>
                                </ul>
                                <div style="border-bottom: 1px solid #CCC; border-right: 1px solid #CCC; border-left: 1px solid #CCC; padding: 10px;">
                                    <div ms-visible="tabId==1" style="width: 100%;">
                                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                                            <tbody>
                                                <tr>
                                                    <td width="140">开发模式：
                                                    </td>
                                                    <td width="35%" colspan="3">{{customerEntity.ModeDisplay}}
                                                    </td>
                                                </tr>
                                                <tr>

                                                    <td width="80">归属部门：
                                                    </td>
                                                    <td width="39%">{{customerEntity.OwnerByDepartment}}
                                                    </td>
                                                    <td width="80">归属员工：
                                                    </td>
                                                    <td>{{customerEntity.OwnerBy}}
                                                    </td>
                                                </tr>
                                                <tr>

                                                    <td>共 享 给：
                                                    </td>
                                                    <td colspan="3">{{customerEntity.ShareToNames}}
                                                    </td>
                                                </tr>
                                                <!-- <tr>
                                                <td>录 入 人：
                                                </td>
                                                <td> {{customerEntity.AddBy.FullName}}
                                                </td>
                                                <td>创建时间：
                                                </td>
                                                <td>{{customerEntity.AddTime|truncate(10,'')}}<label ms-if="customerEntity.LastEditTime">(修改:{{customerEntity.LastEditTime|truncate(10,'')}})</label>
                                                </td>
                                            </tr>-->
                                            </tbody>
                                        </table>
                                    </div>
                                    <div ms-visible="tabId==2 && customerEntity.Type!=1" style="width: 100%;">
                                        <div style="height: 100px;">
                                            {{customerEntity.Intro|html}}
                                        </div>
                                    </div>
                                    <div ms-visible="tabId==3 && customerEntity.SuperiorCategoryId==10132" style="width: 100%;">
                                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                                            <tbody>
                                                <tr>
                                                    <td width="70px">代理区域：</td>
                                                    <td colspan="3">{{customerEntity.AuthorizedRegionalsDisplay}}</td>
                                                </tr>
                                                <tr>
                                                    <td width="70">经营面积：</td>
                                                    <td>{{customerEntity.ManagementArea}}</td>
                                                    <td width="80">年营收情况：</td>
                                                    <td>{{customerEntity.AnnualRevenue}}</td>
                                                </tr>
                                                <tr>
                                                    <td>优势分析：</td>
                                                    <td>{{customerEntity.Advantage}}</td>
                                                    <td>劣势分析：</td>
                                                    <td>{{customerEntity.Disadvantages}}</td>
                                                </tr>
                                                <tr>
                                                    <td>市场占有率和认可度：</td>
                                                    <td>{{customerEntity.PresenceAndRecognition}}</td>
                                                    <td>总体评价：</td>
                                                    <td>{{customerEntity.OverallRating}}</td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div ms-visible="tabId==4 && customerEntity.SuperiorCategoryId==10133" style="width: 100%;">
                                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                                            <tbody>
                                                <tr>
                                                    <td width="100">相关资质：</td>
                                                    <td>{{customerEntity.QualificationDisplay}}</td>
                                                    <td width="100">质量水平：</td>
                                                    <td>{{customerEntity.Txtquality}}</td>
                                                </tr>
                                                <tr>
                                                    <td>交货能力：</td>
                                                    <td>{{customerEntity.Txtability}}</td>
                                                    <td>价格水平：</td>
                                                    <td>{{customerEntity.Txtprice}}</td>
                                                </tr>
                                                <tr>
                                                    <td>技术和生产能力：</td>
                                                    <td>{{customerEntity.Txttechnology}}</td>
                                                    <td>后援服务：</td>
                                                    <td>{{customerEntity.Txtservice}}</td>
                                                </tr>
                                                <tr>
                                                    <td>企业声誉：</td>
                                                    <td>{{customerEntity.Txtreputation}}</td>
                                                    <td>现有合作状况：</td>
                                                    <td>{{customerEntity.Txtcooperation}}</td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div ms-visible="tabId==5 && customerEntity.SuperiorCategoryId==10134" style="width: 100%;">
                                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                                            <tbody>
                                                <tr>
                                                    <td width="160">发行量或浏览量(收视率等)：</td>
                                                    <td>{{customerEntity.Ratings}}</td>
                                                    <td width="80">覆盖区域：</td>
                                                    <td>{{customerEntity.CoverageArea}}</td>
                                                </tr>
                                                <tr>
                                                    <td>媒体目标受众：</td>
                                                    <td>{{customerEntity.MediaTarget}}</td>
                                                    <td>市场地位：</td>
                                                    <td>{{customerEntity.PositionAndRecognition}}</td>
                                                </tr>
                                                <tr>
                                                    <td>优势：</td>
                                                    <td>{{customerEntity.Advantage}}</td>
                                                    <td>劣势：</td>
                                                    <td>{{customerEntity.Disadvantages}}</td>
                                                </tr>
                                                <tr>
                                                    <td>总体评价：</td>
                                                    <td colspan="3">{{customerEntity.OverallRating}}</td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <!---竞争对手--->
                            <div ms-visible="customerEntity.SuperiorCategoryId==10135">
                                <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo top10" id="Table1">
                                    <tbody>
                                        <tr style="background-color: rgb(246, 246, 246);">
                                            <td colspan="4" class="title">经营和管理信息</td>
                                        </tr>
                                        <tr style="background-color: rgb(255, 255, 255);">
                                            <td width="80">市场地位：</td>
                                            <td width="39%">{{customerEntity.MarketPositionDisplay}}</td>
                                            <td width="80">企业老总：</td>
                                            <td width="39%">{{customerEntity.CEO}}</td>
                                        </tr>
                                        <tr style="background-color: rgb(255, 255, 255);">
                                            <td width="80">经营和管理情况：</td>
                                            <td colspan="3">{{customerEntity.Particulars}}</td>
                                        </tr>
                                    </tbody>
                                </table>
                                <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo top10" id="Table2">
                                    <tbody>
                                        <tr style="background-color: rgb(246, 246, 246);">
                                            <td colspan="4" class="title">竞争SWOT分析</td>
                                        </tr>
                                        <tr style="background-color: rgb(255, 255, 255);">
                                            <td width="80">优势分析：</td>
                                            <td width="39%">{{customerEntity.Strengths}}</td>
                                            <td width="80">劣势分析：</td>
                                            <td width="39%">{{customerEntity.Weakness}}</td>
                                        </tr>
                                        <tr style="background-color: rgb(246, 246, 246);">
                                            <td width="80">机会分析：</td>
                                            <td width="39%">{{customerEntity.Opportunities}}</td>
                                            <td width="80">威胁分析：</td>
                                            <td width="39%">{{customerEntity.Threats}}</td>
                                        </tr>
                                        <tr style="background-color: rgb(255, 255, 255);">
                                            <td width="100">总体评价和应对策略：</td>
                                            <td colspan="3">{{customerEntity.ReplyStrategy}}}</td>
                                        </tr>
                                    </tbody>
                                </table>
                                <!--<table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo top10" id="info5 ">
                                          <tbody><tr style="background-color: rgb(246, 246, 246); ">
                                            <td colspan="4" class="title">系统信息</td>
                                          </tr>  
                                          <tr style="background-color: rgb(255, 255, 255); ">
                                            <td width="80">录 入 人：</td>
                                            <td width="39%">{{customerEntity.AddBy.FullName}}</td>
                                            <td width="80">创建日期：</td>
                                            <td width="39%">{{customerEntity.AddTime|truncate(10,'')}}</td>
                                          </tr> 
                                        </tbody></table>-->
                            </div>
                            <!---end main body---->
                            <!---chart-->
                            <td width="313" valign="top" style="padding-left: 10px;">
                                <div class="divbod">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="titbox">
                                        <tbody>
                                            <tr>
                                                <td width="88" height="30" class="tit">客户贡献图
                                                </td>
                                                <td>&nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" height="195" style="border-bottom-width: 0px;">
                                                    <div id="contribution"></div>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo top10" id="info4">
                                    <tbody>
                                        <tr>
                                            <td colspan="4" class="title">服务摘要
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="100">收费总额：
                                            </td>
                                            <td>{{customerEntity.ContractAmount}}
                                            </td>
                                        </tr>
                                        <!-- <tr>
                                            <td>总投入成本：
                                            </td>
                                            <td>&nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>客户ROI值
                                            </td>
                                            <td>&nbsp;
                                            </td>
                                        </tr>-->
                                        <tr>
                                            <td>首次跟单：
                                            </td>
                                            <td>{{customerEntity.FirstDocumentary | truncate(10,'')}}</td>
                                        </tr>
                                        <tr>
                                            <td>最后跟单：
                                            </td>
                                            <td>{{customerEntity.LastDocumentary | truncate(10,'')}}</td>
                                        </tr>
                                        <tr>
                                            <td>首次签约：
                                            </td>
                                            <td>{{customerEntity.FirstSign | truncate(10,'')}}</td>
                                        </tr>
                                        <tr>
                                            <td>最后签约：
                                            </td>
                                            <td>{{customerEntity.LastSign | truncate(10,'')}}</td>
                                        </tr>
                                        <tr>
                                            <td>累计签约：
                                            </td>
                                            <td>{{customerEntity.SignAllNun}}
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>计划下次回访：
                                            </td>
                                            <td>{{customerEntity.NextVisit | truncate(10,'')}}</td>
                                        </tr>
                                        <tr>
                                            <td>最后回访：
                                            </td>
                                            <td>{{customerEntity.LastVisit | truncate(10,'')}}</td>
                                        </tr>
                                        <!--<tr>
                                            <td>首次消费：
                                            </td>
                                            <td>&nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>最后消费：
                                            </td>
                                            <td>&nbsp;
                                            </td>
                                        </tr>-->
                                        <tr>
                                            <td>最后投诉：
                                            </td>
                                            <td>{{customerEntity.LastComplaint | truncate(10,'')}}</td>
                                        </tr>
                                        <tr>
                                            <td>投诉次数：
                                            </td>
                                            <td>{{customerEntity.ComplaintAllNum | truncate(10,'')}}
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>最后回款日期：
                                            </td>
                                            <td>{{customerEntity.LastPaymentDate | truncate(10,'')}}</td>
                                        </tr>
                                        <tr>
                                            <td>最后回款金额：
                                            </td>
                                            <td>{{customerEntity.LastPaymentAmount}}
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </td>
                            <!---end chart-->
                        </td>
                    </tr>
                    <tr ms-visible='!isCustInfo'>
                        <td width="840" ms-html='otherContent' id="otherContent" ></td>
                    </tr>
                </table>
            </td>
        </tr>
    </tbody>
</table>

<noscript id='belongToForm'>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="color: #5C5C5C;">
        <tbody>
            <tr>
                <td ms-html='lang.ChangeBelongTo'></td>
                <td>
                    <input type="text" readonly="readonly" style="width: 320px;" ms-duplex='changeBelongToName' />
                    <button type="button" class="myfbt" ms-widget='dropDownGroupPostUserTree,changeBelongTo,changeBelongToOpts'><i class="iadduser"></i></button>
                </td>
            </tr>
            <tr>
                <td ms-html='lang.ChangeBelongToRemark'></td>
                <td>
                    <textarea rows="5" cols="28" style="height: 50px; width: 78%" ms-duplex='changeBelongToRemark'></textarea></td>
            </tr>
        </tbody>
    </table>
</noscript>

<noscript id='shareToForm'>
    <table width="96%" border="0" cellspacing="1" cellpadding="0" class="tableList" id="grid" style="margin: 10px auto;">
        <tbody>
            <tr class="head" style="background-color: rgb(255, 255, 255);">
                <td width="15%" align="center" ms-html='lang.Name'></td>
                <td width="48%" align="center" ms-html='lang.ShareMembers'></td>
                <td width="10%" align="center" ms-html='lang.Opts'></td>
            </tr>
            <tr ms-hover='hover' ms-repeat-cs='shareCustomers'>
                <td height="22" ms-html='cs.Name'></td>
                <td align="left" ms-html='cs.ShareToNames'></td>
                <td align="center">
                    <button type="button" class="myfbt" style='margin-top: 5px;' ms-live-click='setShare'><i class="iadduser"></i></button>
                </td>
            </tr>
        </tbody>
    </table>
</noscript>
