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.
253 lines
12 KiB
Plaintext
253 lines
12 KiB
Plaintext
10 months ago
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExchangesUnitContact.aspx.cs" Inherits="DSWeb.Shipping.ExchangesUnitContact" %>
|
||
|
|
||
|
<!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 rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
|
||
|
<!--蒙板-->
|
||
|
<script type="text/javascript">
|
||
|
function $(id)
|
||
|
{
|
||
|
return document.getElementById(id);
|
||
|
}
|
||
|
function dialog() {
|
||
|
this.width = 450;
|
||
|
this.height = 360;
|
||
|
this.title_height = 20;
|
||
|
this.html = '';
|
||
|
this.title = '';
|
||
|
var self = this;
|
||
|
var bgObj, msgObj, titleObj;
|
||
|
this.close = function () {
|
||
|
document.body.removeChild(document.getElementById("bgDiv"));
|
||
|
document.getElementById("msgDiv").removeChild(document.getElementById("msgTitle"));
|
||
|
document.body.removeChild(document.getElementById("msgDiv"));
|
||
|
}
|
||
|
|
||
|
this.show = function () {
|
||
|
var msgw, msgh, bordercolor;
|
||
|
msgw = self.width;
|
||
|
msgh = self.height;
|
||
|
bordercolor = "#336699";
|
||
|
titlecolor = "#99CCFF";
|
||
|
|
||
|
var sWidth, sHeight;
|
||
|
sWidth = document.body.offsetWidth;
|
||
|
sHeight = screen.height;
|
||
|
bgObj = document.createElement("div");
|
||
|
bgObj.setAttribute('id', 'bgDiv');
|
||
|
bgObj.style.position = "absolute";
|
||
|
bgObj.style.top = "0";
|
||
|
bgObj.style.background = "#777";
|
||
|
bgObj.style.filter = "progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
|
||
|
bgObj.style.opacity = "0.6";
|
||
|
bgObj.style.left = "0";
|
||
|
bgObj.style.width = sWidth + "px";
|
||
|
bgObj.style.height = sHeight + "px";
|
||
|
bgObj.style.zIndex = "10000";
|
||
|
document.body.appendChild(bgObj);
|
||
|
|
||
|
msgObj = document.createElement("div")
|
||
|
msgObj.setAttribute("id", "msgDiv");
|
||
|
msgObj.setAttribute("align", "center");
|
||
|
msgObj.style.background = "white";
|
||
|
msgObj.style.border = "1px solid " + bordercolor;
|
||
|
msgObj.style.position = "absolute";
|
||
|
msgObj.style.left = "50%";
|
||
|
msgObj.style.top = "30%";
|
||
|
msgObj.style.font = "12px/1.6em Verdana, Geneva, Arial, Helvetica, sans-serif";
|
||
|
msgObj.style.marginLeft = "-225px";
|
||
|
msgObj.style.marginTop = -75 + document.documentElement.scrollTop + "px";
|
||
|
msgObj.style.width = msgw + "px";
|
||
|
msgObj.style.height = msgh + "px";
|
||
|
msgObj.style.textAlign = "center";
|
||
|
msgObj.style.lineHeight = "25px";
|
||
|
msgObj.style.zIndex = "10001";
|
||
|
|
||
|
titleObj = document.createElement("h4");
|
||
|
titleObj.setAttribute("id", "msgTitle");
|
||
|
titleObj.setAttribute("align", "center");
|
||
|
titleObj.style.margin = "0";
|
||
|
titleObj.style.padding = "3px";
|
||
|
titleObj.style.background = bordercolor;
|
||
|
titleObj.style.filter = "progid:DXImageTransform.Microsoft.Alpha(startX=20, startY=20, finishX=100, finishY=100,style=1,opacity=75,finishOpacity=100);";
|
||
|
titleObj.style.opacity = "0.75";
|
||
|
titleObj.style.border = "1px solid " + bordercolor;
|
||
|
titleObj.style.height = self.title_height + "px";
|
||
|
titleObj.style.font = "12px Verdana, Geneva, Arial, Helvetica, sans-serif";
|
||
|
titleObj.style.color = "white";
|
||
|
titleObj.style.cursor = "pointer";
|
||
|
titleObj.innerHTML = self.title;
|
||
|
//titleObj.onclick=function(){self.close();}
|
||
|
document.body.appendChild(msgObj);
|
||
|
document.getElementById("msgDiv").appendChild(titleObj);
|
||
|
var txt = document.createElement("div");
|
||
|
txt.style.margin = "1em 0"
|
||
|
txt.setAttribute("id", "msgTxt");
|
||
|
txt.innerHTML = self.html;
|
||
|
document.getElementById("msgDiv").appendChild(txt);
|
||
|
}
|
||
|
}
|
||
|
function msgBox() {
|
||
|
var dg = new dialog();
|
||
|
dg.html = "程序正在提交,请稍等!";
|
||
|
//dg.html+="<input type=button onclick='new dialog().close();' value='确定'>";
|
||
|
dg.width = 200;
|
||
|
dg.height = 100;
|
||
|
dg.title = "标题";
|
||
|
dg.show();
|
||
|
}
|
||
|
//回车键控制
|
||
|
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">
|
||
|
.btn-content0{
|
||
|
width:100%;
|
||
|
height:30px;
|
||
|
background:url("../images/content-header.gif");
|
||
|
cursor:default;
|
||
|
}
|
||
|
.style1
|
||
|
{
|
||
|
width: 100px;
|
||
|
font-size:12px;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body style="background-color: #ECF2FF;">
|
||
|
<form id="form1" runat="server" style="background-color: #ECF2FF;">
|
||
|
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
|
||
|
<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">
|
||
|
<asp:UpdatePanel ID="UpdatePanel3" runat="server">
|
||
|
<ContentTemplate>
|
||
|
<asp:ImageButton ID="ibEnter" runat="server" onclick="btnEnter_Click" OnClientClick="msgBox()" ToolTip="保存" ImageUrl="~/images/icons/save.gif" CssClass="btnimg"/>
|
||
|
</ContentTemplate>
|
||
|
<Triggers>
|
||
|
<asp:PostBackTrigger ControlID="ibEnter" />
|
||
|
</Triggers>
|
||
|
</asp:UpdatePanel>
|
||
|
</div>
|
||
|
<div class="xbtn-img">
|
||
|
<asp:ImageButton ID="ibDel" runat="server" onclick="btnDel_Click" ToolTip="删除" ImageUrl="~/images/icons/remove.gif" OnClientClick="return confirm('确定删除吗?')" CssClass="btnimg"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div style="float:left;">
|
||
|
<!-- 选项卡开始 -->
|
||
|
<div class="nTab">
|
||
|
<!-- 内容开始 -->
|
||
|
<div class="TabContent" style="background-color: #ECF2FF;">
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td colspan=2 style="font-weight: bold" class="cssfont">联系人基本信息</td>
|
||
|
<td></td>
|
||
|
<td colspan=2>
|
||
|
<asp:CheckBox ID="cbISSTOP" runat="server" Text="该联系人停止使用" CssClass="cssfont"/>
|
||
|
</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan=7 align="center" height="10"><hr color="#96B3DD" /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td class="style1">联系人类型</td>
|
||
|
<td>
|
||
|
<asp:CheckBox ID="cbISFINANCIALSTAFF" runat="server" Text="财务" /> <asp:CheckBox ID="cbISOPERATOR" runat="server" Text="操作" /> <asp:CheckBox ID="cbISSALEMAN" runat="server" Text="销售"/> <asp:CheckBox ID="cbISOTHER" runat="server" Text="其他"/>
|
||
|
</td>
|
||
|
<td></td>
|
||
|
<td class="style1">联系人名称</td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbSHOWNAME" runat="server" CssClass="txtTab" MaxLength="20" Width=190px></asp:TextBox>
|
||
|
</td>
|
||
|
<td width=10px></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td class="style1"></td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbCODENAME" runat="server" CssClass="txtTab" MaxLength="6" Text="" Visible=false Width=80px></asp:TextBox>
|
||
|
</td>
|
||
|
<td width=10px></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td class="style1">地址</td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbADDR" runat="server" CssClass="txtTab" MaxLength="100" Width=190px></asp:TextBox>
|
||
|
</td>
|
||
|
<td></td>
|
||
|
<td class="style1">电子邮件地址</td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbEMAIL" runat="server" CssClass="txtTab" MaxLength="50" Width=190px></asp:TextBox>
|
||
|
</td>
|
||
|
<td width=10px></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td class="style1">联系电话</td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbTEL1" runat="server" CssClass="txtTab7" MaxLength="7" Text="86" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}" Width="50px"></asp:TextBox>-
|
||
|
<asp:TextBox ID="tbTEL2" runat="server" CssClass="txtTab7" MaxLength="4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}" Width="30px"></asp:TextBox>-
|
||
|
<asp:TextBox ID="tbTEL" runat="server" CssClass="txtTab7" MaxLength="39" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}" Width=85px></asp:TextBox>
|
||
|
</td>
|
||
|
<td></td>
|
||
|
<td class="style1">传真</td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbFAX1" runat="server" CssClass="txtTab7" MaxLength="7" Text="86" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}" Width="50px"></asp:TextBox>-
|
||
|
<asp:TextBox ID="tbFAX2" runat="server" CssClass="txtTab7" MaxLength="4" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}" Width="30px"></asp:TextBox>-
|
||
|
<asp:TextBox ID="tbFAX" runat="server" CssClass="txtTab7" MaxLength="39" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}" Width=85px></asp:TextBox>
|
||
|
</td>
|
||
|
<td width=10px></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td class="style1">手机</td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbMOBILE1" runat="server" CssClass="txtTab7" MaxLength="7" Text="86" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}" Width="50px"></asp:TextBox>-
|
||
|
<asp:TextBox ID="tbMOBILE" runat="server" CssClass="txtTab7" MaxLength="50" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}" Width="120px"></asp:TextBox>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td class="style1">备注</td>
|
||
|
<td colspan=4>
|
||
|
<asp:TextBox ID="tbREMARK" runat="server" CssClass="txtTab" MaxLength="200" Height=100px Width=580px></asp:TextBox>
|
||
|
</td>
|
||
|
<td width=10px></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- 选项卡结束 -->
|
||
|
</div>
|
||
|
<div style="background-color: #ECF2FF;">
|
||
|
<input type="hidden" id="hdGid" runat="server"/>
|
||
|
<input type="hidden" id="hdUserID" runat="server"/>
|
||
|
</div>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|