You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

425 lines
26 KiB
Plaintext

9 months ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CRMClientOverview.aspx.cs" Inherits="DSWeb.CRM.CRMClientOverview" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>潜在客户概览</title>
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
<!--自定义下拉框-->
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
<link href="../Css/right.css" rel="stylesheet" type="text/css" />
<!--页面重新加载-->
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<script src="../js/jsGridCRMClientOverview.js" type="text/javascript"></script>
<script type="text/javascript">
function reloadParent(strBSNO)
{
//alert("strBSNO="+strBSNO);
var parentObj = window.parent.location;
var oldUrl = parentObj.href;
var idIndex = oldUrl.indexOf("&id");//alert(oldUrl);
//
var newUrl = "";
if(idIndex > 0)
{
var addfull=oldUrl.indexOf("addfull");
if(addfull>0)
{
var handleIndex = oldUrl.indexOf("handle=");//alert(handleIndex);
newUrl = oldUrl.substring(0,handleIndex);
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+"handle=edit&id="+strBSNO;
}
else
{
newUrl = oldUrl.substring(0,idIndex+4);//alert(oldUrl.substring(0,idIndex));
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+strBSNO;
}
}
else
{
var handleIndex = oldUrl.indexOf("handle=");//alert(handleIndex);
newUrl = oldUrl.substring(0,handleIndex);
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+"handle=edit&id="+strBSNO;
}
//
alert("成功提交!");
}
//回车键控制
document.onkeypress=function()
{
if(event.keyCode==13)
{
if(event.srcElement.tagName== 'TEXTAREA')
{
return true;
}
//window.event.keyCode=9;
return false;
}
}
</script>
<!--背景条-->
<style type="text/css">
*{ margin:0; padding:0;}
html,body{ width:100%; height:100%; overflow:hidden;}
.container{ position:relative; width:100%; height:100%; overflow-y:scroll; overflow-x:auto;}
.topcss{ width:100%; position:absolute; top:0; left:0;}
.boxcss{ height:500px;}
.btncss
{
width:100px;
BORDER-RIGHT: #2C59AA 1px solid;
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
BORDER-BOTTOM: #2C59AA 1px solid;
}
.btn-content0{
width:100%;
height:30px;
background:url("../images/content-header.gif");
cursor:default;
}
.style1
{
width: 80px;
font-size:12px;
height:20px;
}
.style2
{
width: 220px;
font-size:12px;
height:20px;
}
</style>
</head>
<body style="background-color: #ECF2FF">
<form id="form1" runat="server" style="background-color: #ECF2FF">
<div class="container" style="float:left; width:100%;height:500px;">
<div style="float:left;">
<!-- 选项卡开始 -->
<div class="nTab">
<!-- 内容开始 -->
<div class="TabContent">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4" class="row3">
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img">
<div class="btnimg" style="width:100px;">基本信息</div>
</div>
</div>
</td>
</tr>
<tr>
<td>
<asp:DataList ID="DLClient" DataKeyField ="GID" runat="server"
RepeatColumns="1" RepeatDirection="Horizontal" Width="100%" BorderStyle="None">
<ItemTemplate>
<table width=100%>
<tr>
<td valign=top align=left>
<table>
<tr>
<td width=20px></td>
<td class="style1">
<asp:Label ID="Label1" runat="server" Text="客户全称:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "DESCRIPTION")%>
</td>
<td class="style1">
<asp:Label ID="Label2" runat="server" Text="英文全称:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "ENFULLNAME")%>
</td>
</tr>
<tr>
<td width=20px></td>
<td class="style1">
<asp:Label ID="Label3" runat="server" Text="通讯地址:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "ADDR")%>
</td>
<td class="style1">
<asp:Label ID="Label4" runat="server" Text="电子邮箱:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "EMAIL")%>
</td>
</tr>
<tr>
<td width=20px></td>
<td class="style1">
<asp:Label ID="Label5" runat="server" Text="负责人:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "CHIEF")%>
</td>
<td class="style1">
<asp:Label ID="Label6" runat="server" Text="联系电话:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "TEL")%>
</td>
</tr>
<tr>
<td width=20px></td>
<td class="style1">
<asp:Label ID="Label7" runat="server" Text="传真:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "FAX")%>
</td>
<td class="style1">
<asp:Label ID="Label8" runat="server" Text="公司网址:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "WEB")%>
</td>
</tr>
<tr>
<td width=20px></td>
<td class="style1">
<asp:Label ID="Label9" runat="server" Text="所属区域:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "AREA")%>
</td>
<td class="style1">
<asp:Label ID="Label10" runat="server" Text="主营产品:" CssClass="style1"></asp:Label>
</td>
<td class="style2">
<%#DataBinder.Eval(Container.DataItem, "PRODUCT")%>
</td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td width=20px></td>
<td class="style1">
<asp:Label ID="Label11" runat="server" Text="航线:" CssClass="style1"></asp:Label>
</td>
<td class="style2" colspan=3>
<table>
<tr>
<td>
<asp:CheckBox ID="cbISLANE1" runat="server" Text="非洲航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE1")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE2" runat="server" Text="澳洲航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE2")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE3" runat="server" Text="黑海航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE3")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE4" runat="server" Text="欧洲航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE4")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE5" runat="server" Text="印巴航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE5")%> Enabled=false />
</td>
</tr>
<tr>
<td>
<asp:CheckBox ID="cbISLANE6" runat="server" Text="日本航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE6")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE7" runat="server" Text="韩国航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE7")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE8" runat="server" Text="中东航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE8")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE9" runat="server" Text="红海航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE9")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE10" runat="server" Text="东南亚航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE10")%> Enabled=false />
</td>
</tr>
<tr>
<td>
<asp:CheckBox ID="cbISLANE11" runat="server" Text="南美航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE11")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE12" runat="server" Text="台湾航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE12")%> Enabled=false />
</td>
<td>
<asp:CheckBox ID="cbISLANE13" runat="server" Text="美加航线" Width=80px Checked=<%#DataBinder.Eval(Container.DataItem, "ISLANE13")%> Enabled=false />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td width=20px></td>
<td class="style1">
<asp:Label ID="Label12" runat="server" Text="简介:" CssClass="style1"></asp:Label>
</td>
<td class="style2" colspan=3>
<%#DataBinder.Eval(Container.DataItem, "REMARK")%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</td>
</tr>
<tr>
<td colspan="4" class="row3">
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img" style="width:62px; text-align:center;">
<div class="btnimg" style="width:60px;" onclick="openContactList();">联系人>></div>
</div>
<div class="btn-blank"></div>
<div class="xbtn-img">
<img id="imgAdd1" runat=server src="../images/icons/btnAdd.gif" onclick="addContact();" class="btnimg" alt="添加" onmouseover="imgAdd1ChangePic();" onMouseOut="imgAdd1ChangePic();"/>
</div>
</div>
</td>
</tr>
<tr>
<td class="row3">
<asp:GridView ID="gvContact" runat="server" Width=100% Font-Bold="False"
onrowdatabound="gvContact_RowDataBound" BackColor="White" BorderColor="#DEDFDE"
BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black"
GridLines="Vertical">
<RowStyle BackColor="#F7F7DE" HorizontalAlign="Center" VerticalAlign="Middle" />
<FooterStyle BackColor="#CCCC99" />
<PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" Height="18px" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<br />
</td>
</tr>
<tr>
<td colspan="4" class="row3">
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img" style="width:82px; text-align:center;">
<div class="btnimg" style="width:80px;" onclick="openVisitList();">跟踪记录>></div>
</div>
<div class="btn-blank"></div>
<div class="xbtn-img">
<img id="imgAdd2" runat=server src="../images/icons/btnAdd.gif" onclick="addVisit();" class="btnimg" alt="添加" onmouseover="imgAdd2ChangePic();" onMouseOut="imgAdd2ChangePic();"/>
</div>
</div>
</td>
</tr>
<tr>
<td class="row3">
<asp:GridView ID="gvVisit" runat="server" Width=100%
onrowdatabound="gvVisit_RowDataBound" Font-Bold="False" BackColor="White"
BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4"
ForeColor="Black" GridLines="Vertical">
<RowStyle BackColor="#F7F7DE" HorizontalAlign="Center" VerticalAlign="Middle" />
<FooterStyle BackColor="#CCCC99" />
<PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" Height="18px" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<br />
</td>
</tr>
<tr>
<td colspan="4" class="row3">
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img" style="width:82px; text-align:center;">
<div class="btnimg" style="width:80px;" onclick="openFaqList();">询价记录>></div>
</div>
<div class="btn-blank"></div>
<div class="xbtn-img">
<img id="imgAdd3" runat=server src="../images/icons/btnAdd.gif" onclick="addFaq();" class="btnimg" alt="添加" onmouseover="imgAdd3ChangePic();" onMouseOut="imgAdd3ChangePic();"/>
</div>
</div>
</td>
</tr>
<tr>
<td class="row3">
<asp:GridView ID="gvFaq" runat="server" Width=100% Font-Bold="False"
onrowdatabound="gvFaq_RowDataBound" BackColor="White" BorderColor="#DEDFDE"
BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black"
GridLines="Vertical">
<RowStyle BackColor="#F7F7DE" HorizontalAlign="Center" VerticalAlign="Middle" />
<FooterStyle BackColor="#CCCC99" />
<PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" Height="18px" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<br />
</td>
</tr>
<tr>
<td colspan="4" class="row3">
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img" style="width:82px; text-align:center;">
<div class="btnimg" style="width:80px;" onclick="openQuotationList();">报价记录>></div>
</div>
<div class="btn-blank"></div>
<div class="xbtn-img">
<img id="imgAdd4" runat=server src="../images/icons/btnAdd.gif" onclick="addQuotation();" class="btnimg" alt="添加" onmouseover="imgAdd4ChangePic();" onMouseOut="imgAdd3ChangePic();"/>
</div>
</div>
</td>
</tr>
<tr>
<td class="row3">
<asp:GridView ID="gvQuotation" runat="server" Width=100% Font-Bold="False"
onrowdatabound="gvQuotation_RowDataBound" BackColor="White"
BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4"
ForeColor="Black" GridLines="Vertical">
<RowStyle BackColor="#F7F7DE" HorizontalAlign="Center" VerticalAlign="Middle" />
<FooterStyle BackColor="#CCCC99" />
<PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" Height="18px" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<br />
</td>
</tr>
</table>
</div>
</div>
<!-- 选项卡结束 -->
</div>
</div>
<div>
<input type="hidden" id="hd_Name" runat="server"/>
<input type="hidden" id="hd_ShortName" runat="server"/>
<input type="hidden" id="hd_Code" runat="server"/>
<input type="hidden" id="hd_comboLANE" runat="server"/>
<input type="hidden" id="hdGid" runat="server"/>
<input type="hidden" id="hdUserID" runat="server"/>
<input type="hidden" id="hdhandle" runat="server"/>
<input type="hidden" id="hdEnabled" runat="server"/>
</div>
<div style="height:200px"></div>
</form>
</body>
</html>