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.

472 lines
20 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CRMClientInfo.aspx.cs" Inherits="DSWeb.CRM.CRMClientInfo" %>
<!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 rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
<!--自定义下拉框-->
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
<link href="../theme/dhtmlxcombo.css" type="text/css" rel="Stylesheet" media="screen"/>
<script type="text/javascript" src="../js/dhtmlxcommon.js"></script>
<script type="text/javascript" src="../js/dhtmlxcombo.js"></script>
<script type="text/javascript" src="../js/dhtmlxcombo_whp.js"></script>
<script src="../js/jsGridCRMClientInfo.js" type="text/javascript"></script>
<link href="../Css/right.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
window.dhx_globalImgPath="../images/";
</script>
<!--页面重新加载-->
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<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: 100px;
font-size:12px;
}
</style>
</head>
<body onload="isShowCodeName();" style="background-color: #ECF2FF;">
<form id="form1" runat="server" style="background-color: #ECF2FF">
<div>
<p class="topcss">
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img">
<asp:ImageButton ID="ibAdd" runat="server" onclick="btnAdd_Click" ToolTip="添加" ImageUrl="~/images/icons/btnAdd.gif" CssClass="btnimg"/>
</div>
<div class="xbtn-img">
<div class="btnimg"><img id="ibEnter" runat=server src="../images/icons/save.gif" style="width:16px;" title="保存" onclick="setEnter();"/></div>
</div>
<div class="xbtn-img">
<img id="imgDel" runat=server src="../images/icons/remove.gif" onclick="ShowDetailDel();" class="btnimg" alt="删除" onmouseover="imgDelChangePic();" onMouseOut="imgDelChangePic();"/>
</div>
</div>
</p>
<div class="container" style="float:left; width:100%;height:500px; overflow-x:hidden;">
<div style="float:left;">
<!-- 选项卡开始 -->
<div class="nTab">
<!-- 内容开始 -->
<div class="TabContent">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4" class="row3">
基本信息
</td>
</tr>
<tr>
<td colspan="4" class="row4">
<hr width="98%" color="#96B3DD" />
</td>
</tr>
<tr>
<td class="row1">
<span class="star">*</span>客户全称
</td>
<td class="row2">
<asp:TextBox ID="txtName" runat="server" CssClass="txtTab" MaxLength=50 onblur="onblurDESCRIPTION();"></asp:TextBox>
</td>
<td class="row1">
<span class="star">*</span>客户代码
</td>
<td class="row2">
<asp:TextBox ID="txtCode" runat="server" CssClass="txtTab" MaxLength=20 onblur="onblurCODENAME();"></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
<span class="star">*</span>客户简称
</td>
<td class="row2">
<asp:TextBox ID="txtShortName" runat="server" CssClass="txtTab" MaxLength=20 onblur="onblurSHORTNAME();"></asp:TextBox>
</td>
<td class="row1">
英文简称
</td>
<td class="row2">
<asp:TextBox ID="txtEnShortName" runat="server" CssClass="txtTab" MaxLength=50></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
<span class="star">*</span>英文全称
</td>
<td class="row2">
<asp:TextBox ID="txtEnName" runat="server" CssClass="txtTab" MaxLength=50></asp:TextBox>
</td>
<td class="row1">
英文全称2
</td>
<td class="row2">
<asp:TextBox ID="txtENFULLNAME2" runat="server" CssClass="txtTab" MaxLength=50></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
英文全称3
</td>
<td class="row2">
<asp:TextBox ID="txtENFULLNAME3" runat="server" CssClass="txtTab" MaxLength=50></asp:TextBox>
</td>
<td class="row1">
<span class="star">*</span>通讯地址
</td>
<td class="row2">
<asp:TextBox ID="txtAddress" runat="server" CssClass="txtTab" MaxLength=200></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
<span class="star">*</span>负责人
</td>
<td class="row2">
<asp:TextBox ID="txtPrincipal" runat="server" CssClass="txtTab" MaxLength=20></asp:TextBox>
</td>
<td class="row1">
<span class="star">*</span>联系电话
</td>
<td class="row2">
<asp:TextBox ID="txtPhone1" runat="server" CssClass="txtTab" Width="50px" MaxLength="7">86</asp:TextBox>
<span class="shortline">-</span><asp:TextBox ID="txtPhone2" runat="server" CssClass="txtTab"
Width="50px" MaxLength="4"></asp:TextBox>
<span class="shortline">-</span><asp:TextBox ID="txtPhone3" runat="server" CssClass="txtTab"
Width="120px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
电子邮箱
</td>
<td class="row2">
<asp:TextBox ID="txtEmail" runat="server" CssClass="txtTab" MaxLength=50></asp:TextBox>
</td>
<td class="row1">
传真
</td>
<td class="row2">
<asp:TextBox ID="txtFax1" runat="server" CssClass="txtTab" Width="50px" MaxLength="7">86</asp:TextBox>
<span class="shortline">-</span><asp:TextBox ID="txtFax2" runat="server" CssClass="txtTab"
Width="50px" MaxLength="4"></asp:TextBox>
<span class="shortline">-</span><asp:TextBox ID="txtFax3" runat="server" CssClass="txtTab"
Width="120px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
公司网址
</td>
<td class="row2">
<asp:TextBox ID="txtWeb" runat="server" CssClass="txtTab" MaxLength=50></asp:TextBox>
</td>
<td class="row1">
所属区域
</td>
<td class="row2">
<asp:TextBox ID="txtAREA" runat="server" CssClass="txtTab" MaxLength=50></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
主营产品
</td>
<td class="row2">
<asp:TextBox ID="txtPRODUCT" runat="server" CssClass="txtTab" MaxLength=50></asp:TextBox>
</td>
<td class="row1">
箱量
</td>
<td class="row2">
<asp:TextBox ID="txtCTNNUM" runat="server" CssClass="txtTab" MaxLength=50></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
航线
</td>
<td class="row2" colspan=3>
<table>
<tr>
<td>
<asp:CheckBox ID="cbISLANE1" runat="server" Text="非洲航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE2" runat="server" Text="澳洲航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE3" runat="server" Text="黑海航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE4" runat="server" Text="欧洲航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE5" runat="server" Text="印巴航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE6" runat="server" Text="日本航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE7" runat="server" Text="韩国航线" Width=70px />
</td>
</tr>
<tr>
<td>
<asp:CheckBox ID="cbISLANE8" runat="server" Text="中东航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE9" runat="server" Text="红海航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE10" runat="server" Text="东南亚航线" Width=80px />
</td>
<td>
<asp:CheckBox ID="cbISLANE11" runat="server" Text="南美航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE12" runat="server" Text="台湾航线" Width=70px />
</td>
<td>
<asp:CheckBox ID="cbISLANE13" runat="server" Text="美加航线" Width=70px />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="row1">简介</td>
<td class="row2" colspan=3>
<asp:TextBox ID="txtREMARK" runat="server" CssClass="txtTab" MaxLength="200" Width=662px Height=100px TextMode="MultiLine" style="overflow-y:auto;height:100px;"></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">图片1</td>
<td class="row2">
<asp:Image ID="Image1" runat="server" width="250px" height="200px" />
</td>
<td class="row1">图片2</td>
<td class="row2">
<asp:Image ID="Image2" runat="server" width="250px" height="200px" />
</td>
<td width=10px></td>
</tr>
<tr>
<td class="row1"></td>
<td class="row2">
<asp:FileUpload ID="FileUpload1" runat="server" Width=250px onchange="document.getElementById('Image1').src=this.value" CssClass="btncss"/>
</td>
<td class="row1"></td>
<td class="row2">
<asp:FileUpload ID="FileUpload2" runat="server" Width=250px onchange="document.getElementById('Image2').src=this.value" CssClass="btncss"/>
</td>
<td width=10px></td>
</tr>
<tr>
<td class="row1"></td>
<td class="row2">
&nbsp;&nbsp;250 * 200 为最佳)
</td>
<td class="row1"></td>
<td class="row2">
&nbsp;&nbsp;250 * 200 为最佳)
</td>
<td width=10px></td>
</tr>
<tr>
<td colspan="4" class="row3">
财务信息
</td>
</tr>
<tr>
<td colspan="4" class="row4">
<hr width="98%" color="#96B3DD" />
</td>
</tr>
<tr>
<td class="row1">
发票抬头1
</td>
<td class="row2">
<asp:TextBox ID="txtFPTT1" runat="server" CssClass="txtTab" MaxLength=60></asp:TextBox>
</td>
<td class="row1">
发票抬头2
</td>
<td class="row2">
<asp:TextBox ID="txtFPTT2" runat="server" CssClass="txtTab" MaxLength=60></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
RMB支票抬头
</td>
<td class="row2">
<asp:TextBox ID="txtRMBZPTT" runat="server" CssClass="txtTab" MaxLength=60></asp:TextBox>
</td>
<td class="row1">
RMB开户行
</td>
<td class="row2">
<asp:TextBox ID="txtRMBBank" runat="server" CssClass="txtTab" MaxLength=60></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
RMB账号
</td>
<td class="row2">
<asp:TextBox ID="txtRMBCode" runat="server" CssClass="txtTab" MaxLength=30></asp:TextBox>
</td>
<td class="row1">
RMB联机号
</td>
<td class="row2">
<asp:TextBox ID="txtRMBNum" runat="server" CssClass="txtTab" MaxLength=20></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
USD支票抬头
</td>
<td class="row2">
<asp:TextBox ID="txtUSDZPTT" runat="server" CssClass="txtTab" MaxLength=60></asp:TextBox>
</td>
<td class="row1">
USD开户行
</td>
<td class="row2">
<asp:TextBox ID="txtUSDBank" runat="server" CssClass="txtTab" MaxLength=60></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
USD账号
</td>
<td class="row2">
<asp:TextBox ID="txtUSDCode" runat="server" CssClass="txtTab" MaxLength=30></asp:TextBox>
</td>
<td class="row1">
USD联机号
</td>
<td class="row2">
<asp:TextBox ID="txtUSDNum" runat="server" CssClass="txtTab" MaxLength=20></asp:TextBox>
</td>
</tr>
<tr>
<td class="row1">
结算币别
</td>
<td class="row2">
<asp:DropDownList ID="ddlJSFS" runat="server" CssClass="txtTab" Height="22px" Width="80px">
<asp:ListItem Value="0">RMB</asp:ListItem>
<asp:ListItem Value="1">USA</asp:ListItem>
</asp:DropDownList>
</td>
<td class="row1">
USD汇率
</td>
<td class="row2">
<asp:TextBox ID="txtUSDHL" runat="server" CssClass="txtTab" Text="0.00" MaxLength=20 onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=13 && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="getIsNum(this);"></asp:TextBox>
</td>
</tr>
</table>
</div>
</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="hdGid" runat="server"/>
<input type="hidden" id="hdUserID" runat="server"/>
<input type="hidden" id="hdhandle" runat="server"/>
<input type="hidden" id="hdEnabled" runat="server"/>
<input type="hidden" id="hdIMAGEURL" runat="server"/>
<input type="hidden" id="hdIMAGEURL2" runat="server"/>
<asp:Button ID="btnEnter" runat="server" Text="Button" OnClick="btnEnter_Click" style="display:none;" />
<asp:ImageButton ID="ibDel" runat="server" onclick="btnDel_Click" ToolTip="删除" ImageUrl="~/images/icons/remove.gif" OnClientClick="return confirm('确定删除吗?')" CssClass="btnimg" style="display:none;"/>
</div>
<div style="height:200px"></div>
</form>
</body>
</html>