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.
DS7/DSWeb/Shipping/ExchangesUnitInfo.aspx

1013 lines
45 KiB
Plaintext

3 years ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExchangesUnitInfo.aspx.cs" Inherits="DSWeb.Shipping.ExchangesUnitInfo" %>
<!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 type="text/javascript">
window.dhx_globalImgPath="../images/";
</script>
<script type="text/javascript">
var comboOP;//操作人员
var comboSALE;//揽货人
var comboDOC;//单证
function $(id)
{
return document.getElementById(id);
}
//两端去空格函数
String.prototype.trim = function () { return this.replace(/(^\s*)|(\s*$)/g, ""); }
function initComboOP()//操作人员
{
//生成
var strUserID=document.getElementById("" + '<%= hdUserID.ClientID %>' + "").value;//window.parent.close..opener.location.href=window.opener.location.href.
comboOP = dhtmlXComboFromSelect("ddlOP");
comboOP.loadXML("../FeeCodes/OPAdapter.aspx?mask=0&pos=0&rName=isOperator&userID="+strUserID);
}
function initComboOP2()//操作人员
{
if($("hdEnabled").value == "false")
{
comboOP.disable(true);
}
//
comboOP.attachEvent("onChange", function()
{
comboOP.setComboText($("hd_comboOP").value);
});
comboOP.attachEvent("onBlur", function(){
var s1 = comboOP.getComboText();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboOP").value="";
comboOP.setComboText($("hd_comboOP").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboOP.setComboText(s3);
$("hd_comboOP").value=s3;
}
else
{
comboOP.setComboText($("hd_comboOP").value);
}
}
});
comboOP.setComboText($("hd_comboOP").value);
comboOP.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboOP").value;
if("" != comboOP.getComboText())
{
while("undefined" != typeof comboOP.getOptionByIndex(filterCount))
{
var comboValue = comboOP.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboOP.getComboText().toUpperCase();
$("hd_comboOP").value = comboOP.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboOP.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboOP").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);
}
});
comboOP.attachEvent("onSelectionChange", function()
{
$("hd_comboOP").value = comboOP.getComboText();
});
}
function initComboSALE()//揽货人
{
//生成
var strUserID=document.getElementById("" + '<%= hdUserID.ClientID %>' + "").value;
comboSALE = dhtmlXComboFromSelect("ddlSALE");
comboSALE.loadXML("../FeeCodes/OPAdapter.aspx?mask=0&pos=0&rName=isSaleMan&userID="+strUserID);
}
function initComboSALE2()//揽货人
{
if($("hdEnabled").value == "false")
{
comboSALE.disable(true);
}
//
comboSALE.attachEvent("onChange", function()
{
comboSALE.setComboText($("hd_comboSALE").value);
});
comboSALE.attachEvent("onBlur", function(){
var s1 = comboSALE.getComboText();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboSALE").value="";
comboSALE.setComboText($("hd_comboSALE").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboSALE.setComboText(s3);
$("hd_comboSALE").value=s3;
}
else
{
comboSALE.setComboText($("hd_comboSALE").value);
}
}
});
comboSALE.setComboText($("hd_comboSALE").value);
comboSALE.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboSALE").value;
if("" != comboSALE.getComboText())
{
while("undefined" != typeof comboSALE.getOptionByIndex(filterCount))
{
var comboValue = comboSALE.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboSALE.getComboText().toUpperCase();
$("hd_comboSALE").value = comboSALE.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboSALE.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboSALE").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);
}
});
comboSALE.attachEvent("onSelectionChange", function()
{
$("hd_comboSALE").value = comboSALE.getComboText();
});
}
function initComboDOC()//单证
{
//生成
var strUserID=document.getElementById("" + '<%= hdUserID.ClientID %>' + "").value;
comboDOC = dhtmlXComboFromSelect("ddlDOC");
comboDOC.loadXML("../FeeCodes/OPAdapter.aspx?mask=0&pos=0&rName=isDocument&userID="+strUserID);
}
function initComboDOC2()//单证
{
if($("hdEnabled").value == "false")
{
comboDOC.disable(true);
}
//
comboDOC.attachEvent("onChange", function()
{
comboDOC.setComboText($("hd_comboDOC").value);
});
comboDOC.attachEvent("onBlur", function(){
var s1 = comboDOC.getComboText();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboDOC").value="";
comboDOC.setComboText($("hd_comboDOC").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboDOC.setComboText(s3);
$("hd_comboDOC").value=s3;
}
else
{
comboDOC.setComboText($("hd_comboDOC").value);
}
}
});
comboDOC.setComboText($("hd_comboDOC").value);
comboDOC.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboDOC").value;
if("" != comboDOC.getComboText())
{
while("undefined" != typeof comboDOC.getOptionByIndex(filterCount))
{
var comboValue = comboDOC.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboDOC.getComboText().toUpperCase();
$("hd_comboDOC").value = comboDOC.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboDOC.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboDOC").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);}});
comboDOC.attachEvent("onSelectionChange", function()
{
$("hd_comboDOC").value = comboDOC.getComboText();
});
}
//
function onblurDESCRIPTION()
{
var qc =$("tbDESCRIPTION").value;
if(qc=="")
{
return;
}
var sopname = dhtmlxAjax.getSync("../FeeCodes/CUSTOMERNAMEGIDAdapter.aspx?handle=opname&CUSTOMERNAME="+escape(qc)+"&gid="+$("hdGid").value+"&val="+newGuid());
var sopname2 = sopname.xmlDoc.responseText;
if (sopname2 != "") {
alert("客户全称不允许重复!");
$("tbDESCRIPTION").value = $("hdDESCRIPTION").value;
//document.getElementById("tbDESCRIPTION").focus();
return;
}
else {
$("hdDESCRIPTION").value = $("tbDESCRIPTION").value;
}
//
// var loaderX = dhtmlxAjax.getSync("../FeeCodes/WebCrmClientAdapter.aspx?val="+newGuid()+"&isbeing="+$("hdGid").value);
// var altX = loaderX.xmlDoc.responseText;
// if(altX=="")
// {
// }
// else
// {
// alert("在相关业务模块中已经引用,禁止修改客户全称!");
// $("tbDESCRIPTION").value=$("hdDESCRIPTION").value;
// return;
// }
}
function onfocusDESCRIPTION()
{
//$("hdDESCRIPTION").value=$("tbDESCRIPTION").value;
}
//
function onblurCODENAME()
{
var sCODENAME =$("tbCODENAME").value;
if(sCODENAME=="")
{
return;
}
var sCODE = dhtmlxAjax.getSync("../FeeCodes/CUSTOMERNAMEGIDAdapter.aspx?handle=codename&codename="+escape(sCODENAME)+"&gid="+$("hdGid").value+"&val="+newGuid());
var sCODE2 = sCODE.xmlDoc.responseText;
if(sCODE2!="")
{
alert("客户代码不允许重复!");
$("tbCODENAME").value=$("hdCODENAME").value;
//document.getElementById("tbCODENAME").focus();
return;
}
else {
$("hdCODENAME").value = $("tbCODENAME").value;
}
//
// var loaderX = dhtmlxAjax.getSync("../FeeCodes/WebCrmClientAdapter.aspx?val="+newGuid()+"&isbeing="+$("hdGid").value);
// var altX = loaderX.xmlDoc.responseText;
// if(altX=="")
// {
// }
// else
// {
// alert("在相关业务模块中已经引用,禁止修改客户代码!");
// $("tbCODENAME").value=$("hdCODENAME").value;
// return;
// }
}
function onfocusCODENAME()
{
//$("hdCODENAME").value=$("tbCODENAME").value;
}
//
function onblurSHORTNAME()
{
var sshortname =$("tbSHORTNAME").value;
if(sshortname=="")
{
return;
}
var sshort = dhtmlxAjax.getSync("../FeeCodes/CUSTOMERNAMEGIDAdapter.aspx?handle=shortname&shortname="+escape(sshortname)+"&gid="+$("hdGid").value+"&val="+newGuid());
var sshort2 = sshort.xmlDoc.responseText;
if(sshort2!="")
{
alert("客户简称不允许重复!");
$("tbSHORTNAME").value=$("hdSHORTNAME").value;
//document.getElementById("tbSHORTNAME").focus();
return;
}
else {
$("hdSHORTNAME").value = $("tbSHORTNAME").value;
}
//
// var loaderX = dhtmlxAjax.getSync("../FeeCodes/WebCrmClientAdapter.aspx?val="+newGuid()+"&isbeing="+$("hdGid").value);
// var altX = loaderX.xmlDoc.responseText;
// if(altX=="")
// {
// }
// else
// {
// alert("在相关业务模块中已经引用,禁止修改客户简称!");
// $("tbSHORTNAME").value=$("hdSHORTNAME").value;
// return;
// }
}
function onfocusSHORTNAME()
{
//$("hdSHORTNAME").value=$("tbSHORTNAME").value;
}
//
function onblurLOGINNAME()
{
var sLOGINNAME =$("tbLOGINNAME").value;
if(sLOGINNAME=="")
{
return;
}
var sshort = dhtmlxAjax.getSync("../FeeCodes/CUSTOMERNAMEGIDAdapter.aspx?handle=loginname&loginname="+escape(sLOGINNAME)+"&gid="+$("hdGid").value+"&val="+newGuid());
var sshort2 = sshort.xmlDoc.responseText;
if(sshort2!="")
{
alert("客户登陆代码不允许重复!");
$("tbLOGINNAME").value=$("hdLOGINNAME").value;
return;
}
else {
$("hdLOGINNAME").value = $("tbLOGINNAME").value;
}
}
function onfocusLOGINNAME()
{
//$("hdLOGINNAME").value=$("tbLOGINNAME").value;
}
//
function setEnter()
{
if($("tbCODENAME").value=="" || $("tbSHORTNAME").value=="" || $("tbDESCRIPTION").value=="")
{
alert("客户的全称、简称、代码不允许为空!");
return;
}
$("hdRises").value="0";
var shandle = $("hdhandle").value;
if(shandle=="edit")
{
var srises = dhtmlxAjax.getSync("../FeeCodes/CRMClientInfo.aspx?handle=rises&gid="+$("hdGid").value+"&uid="+newGuid());
var srises2 = srises.xmlDoc.responseText;
if(srises2=="")
{
document.getElementById("btnEnter").click();
}
else
{
if(confirm(srises2))
{
$("hdRises").value="1";
msgBox();
document.getElementById("btnEnter").click();
}
else
{
msgBox();
document.getElementById("btnEnter").click();
}
}
}
else
{
msgBox();
document.getElementById("btnEnter").click();
}
}
function ShowDetailDel()
{
if(confirm('确定删除吗?'))
{
var loaderX = dhtmlxAjax.getSync("../FeeCodes/WebCrmClientAdapter.aspx?val="+newGuid()+"&isbeing="+$("hdGid").value);
var altX = loaderX.xmlDoc.responseText;
if(altX=="")
{
document.getElementById("ibDel").click();
}
else
{
alert(altX);
return;
}
}
}
function isShowCodeName()
{
var loaderX = dhtmlxAjax.getSync("../FeeCodes/WebCrmClientAdapter.aspx?val="+newGuid()+"&isbeing="+$("hdGid").value);
var altX = loaderX.xmlDoc.responseText;
if(altX=="")
{
// $("tbDESCRIPTION").value = $("hdDESCRIPTION").value;
// $("tbCODENAME").value = $("hdCODENAME").value;
// $("tbSHORTNAME").value = $("hdSHORTNAME").value;
// document.getElementById('tbDESCRIPTION').disabled = "";
// document.getElementById('tbCODENAME').disabled = "";
// document.getElementById('tbSHORTNAME').disabled = "";
}
else
{
$("tbDESCRIPTION").value = $("hdDESCRIPTION").value;
$("tbCODENAME").value = $("hdCODENAME").value;
$("tbSHORTNAME").value = $("hdSHORTNAME").value;
document.getElementById('tbDESCRIPTION').disabled = "disabled";
document.getElementById('tbCODENAME').disabled = "disabled";
document.getElementById('tbSHORTNAME').disabled = "disabled";
}
}
//是否为数字2
function IsNum2(val){
var re = /^[0-9]*[1-9][0-9]*$/;
if (!re.test(val)){
return false;
}else{
return true;
}
}
function newGuid(){
var guid = "";
for (var i = 1; i <= 32; i++){
var n = Math.floor(Math.random()*16.0).toString(16);
guid += n;
if((i==8)||(i==12)||(i==16)||(i==20))
guid += "-";
}
return guid.toUpperCase();
}
</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;
}
}
function imgDelChangePic()
{
var pic1=document.getElementById("imgDel");
var start=pic1.src.lastIndexOf("/");
var str=pic1.src.substring(start+1);
if(str=="remove.gif")
{
pic1.src="../images/delete.gif";
//pic1.alt="我是B图片";
}
else if(str=="delete.gif")
{
pic1.src="../images/icons/remove.gif";
//pic1.alt="我是A图片";
}
}
</script>
<!--蒙板-->
<script type="text/javascript">
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();
}
</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>
<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;
}
</style>
</head>
<body onload="initComboOP2();initComboSALE2();initComboDOC2();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%>
<tr>
<td style="font-weight: bold" class="cssfont">基本信息</td>
<td></td>
<td>
<asp:CheckBox ID="cbISSTOP" runat="server" Text="该往来单位停止使用" CssClass="cssfont" />
</td>
<td></td>
<td class="cssfont">
揽货人
</td>
<td>
<select id="ddlSALE" name="ddlSALE" runat="server" CssClass="txtTab" style="width:112px"></select>
</td>
<td></td>
<td class="cssfont">
操作
</td>
<td>
<select id="ddlOP" name="ddlOP" runat="server" CssClass="txtTab" style="width:112px"></select>
</td>
<td></td>
<td class="cssfont">
单证
</td>
<td>
<select id="ddlDOC" name="ddlDOC" runat="server" CssClass="txtTab" style="width:112px"></select>
</td>
<td width=10px></td>
</tr>
<tr>
<td colspan=13 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
</table>
<table width=100%>
<tr>
<td></td>
<td class="style1">序号</td>
<td>
<asp:TextBox ID="tbORDERNO" runat="server" CssClass="txtTab" MaxLength="50"></asp:TextBox>
</td>
<td></td>
<td class="style1">负责人</td>
<td>
<asp:TextBox ID="tbCHIEF" runat="server" CssClass="txtTab" MaxLength="20"></asp:TextBox>
</td>
</tr>
<tr>
<td></td>
<td class="style1">*客户全称</td>
<td>
<asp:TextBox ID="tbDESCRIPTION" runat="server" CssClass="txtTab" MaxLength="50" onblur="onblurDESCRIPTION();" onfocus="onfocusDESCRIPTION();"></asp:TextBox>
</td>
<td></td>
<td class="style1">*客户代码</td>
<td>
<asp:TextBox ID="tbCODENAME" runat="server" CssClass="txtTab" MaxLength="20" onblur="onblurCODENAME();" onfocus="onfocusCODENAME();"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1">*客户简称</td>
<td>
<asp:TextBox ID="tbSHORTNAME" runat="server" CssClass="txtTab" MaxLength="20" onblur="onblurSHORTNAME();" onfocus="onfocusSHORTNAME();"></asp:TextBox>
</td>
<td></td>
<td class="style1">英文简称</td>
<td>
<asp:TextBox ID="tbNAME" runat="server" CssClass="txtTab" MaxLength="50"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1">英文全称</td>
<td>
<asp:TextBox ID="tbEnFullName" runat="server" CssClass="txtTab" MaxLength="50"></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="60px"></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="167px"></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="60px"></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="167px"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1">公司地址</td>
<td>
<asp:TextBox ID="tbADDR" runat="server" CssClass="txtTab"></asp:TextBox>
</td>
<td></td>
<td class="style1">电子邮件地址</td>
<td>
<asp:TextBox ID="tbEMAIL" runat="server" CssClass="txtTab" MaxLength="50"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1">网址</td>
<td>
<asp:TextBox ID="tbWEB" runat="server" CssClass="txtTab" MaxLength="50"></asp:TextBox>
</td>
<td></td>
<td class="style1">QQ</td>
<td>
<asp:TextBox ID="tbQQ" runat="server" CssClass="txtTab" MaxLength="50"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1">MSN</td>
<td>
<asp:TextBox ID="tbMSN" runat="server" CssClass="txtTab" MaxLength="50"></asp:TextBox>
</td>
<td></td>
<td class="style1">企业备案号</td>
<td>
<asp:TextBox ID="tbREGISTRATIONNO" runat="server" CssClass="txtTab" MaxLength="50"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1">仓储费(吨/天)</td>
<td>
<asp:TextBox ID="tbUNITPRICE" runat="server" CssClass="txtTab" MaxLength="50"></asp:TextBox>
</td>
<td></td>
<td class="style1">EDI代码</td>
<td>
<asp:TextBox ID="tbEDICODE" runat="server" CssClass="txtTab" MaxLength="10"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td class="style1">自定义属性1</td>
<td>
<select id="ddlCustomAttributes1" name="ddlCustomAttributes1" runat="server" CssClass="txtTab"></select>
</td>
<td></td>
<td class="style1">自定义属性2</td>
<td>
<select id="ddlCustomAttributes2" name="ddlCustomAttributes2" runat="server" CssClass="txtTab"></select>
</td>
<td width=10px></td>
</tr>
</table>
<table width=100%>
<tr>
<td style="font-weight: bold" colspan=8 class="cssfont"><br />*往来单位属性(可以多选)</td>
</tr>
<tr>
<td colspan=8 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td></td>
<td>
<asp:CheckBox ID="cbISCARRIER" runat="server" Text="船公司" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISCONTROLLER" runat="server" Text="委托人(客户)" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISYARD" runat="server" Text="场站" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISCUSTOM" runat="server" Text="报关行" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISSHIPPER" runat="server" Text="发货人" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISCONSIGNEE" runat="server" Text="收货人" CssClass="cssfont" />
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td>
<asp:CheckBox ID="cbISBOOKING" runat="server" Text="订舱代理" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISAIRLINES" runat="server" Text="航空公司" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISWAREHOUSE" runat="server" Text="仓库" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISEXPRESS" runat="server" Text="快递公司" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISAGENTCN" runat="server" Text="国内代理" CssClass="cssfont" />
</td>
<td>
<asp:CheckBox ID="cbISAGENT" runat="server" Text="国外代理" CssClass="cssfont" />
</td>
<td width=10px></td>
</tr>
<tr>
<td></td>
<td>
<asp:CheckBox ID="cbISTRUCK" runat="server" Text="车队" />
</td>
<td>
<asp:CheckBox ID="cbISWHARF" runat="server" Text="码头" />
</td>
<td>
<asp:CheckBox ID="cbISSHIPPINGAGENT" runat="server" Text="船代" />
</td>
<td>
<asp:CheckBox ID="cbISINSURE" runat="server" Text="保险公司" />
</td>
<td>
<asp:CheckBox ID="cbISLEASING" runat="server" Text="租箱公司" />
</td>
<td>
<asp:CheckBox ID="cbISTradingAgency" runat="Server" Text="贸易代理" />
</td>
</tr>
<tr>
<td></td>
<td>
<asp:CheckBox ID="cbISENTERP" runat="Server" Text="经营单位" />
</td>
<td colspan=2>
<asp:CheckBox ID="cbISOTHER" runat="server" Text="其他_" />
<asp:TextBox ID="tbOTHERS" runat="server" CssClass="txtTab" MaxLength="100" Width=70px></asp:TextBox>
</td>
</tr>
</table>
<table width=100%>
<tr>
<td style="font-weight: bold" colspan=7 class="cssfont"><br />备注</td>
</tr>
<tr>
<td colspan=7 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=6>
<asp:TextBox ID="tbREMARK" runat="server" TextMode="MultiLine" CssClass="txtTab" Height=100px style="overflow-y:auto;height:100px;" MaxLength="200"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
<tr>
<td style="font-weight: bold" colspan=7 class="cssfont"><br /><asp:Label ID="Label1" runat="server" Text="客户运价信息设置"></asp:Label></td>
</tr>
<tr>
<td colspan=7 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=6>
<asp:RadioButtonList ID="rblLEVEL" runat="server" RepeatDirection="Horizontal" Width="250px" Visible=false>
<asp:ListItem Value="1">一级售价</asp:ListItem>
<asp:ListItem Value="2">二级售价</asp:ListItem>
<asp:ListItem Value="3">三级售价</asp:ListItem>
</asp:RadioButtonList>
</td>
<td width=10px></td>
</tr>
<tr>
<td width=15px></td>
<td class="style1"><asp:Label ID="Label2" runat="server" Text="登陆代码:"></asp:Label></td>
<td>
<asp:TextBox ID="tbLOGINNAME" runat="server" CssClass="txtTab" MaxLength="20" onblur="onblurLOGINNAME();" onfocus="onfocusLOGINNAME();"></asp:TextBox>
</td>
<td width=15px></td>
<td class="style1"><asp:Label ID="Label3" runat="server" Text="登录密码:"></asp:Label></td>
<td>
<asp:TextBox ID="tbLOGINPASSWORD" runat="server" CssClass="txtTab" MaxLength="150"></asp:TextBox>
</td>
<td width=10px></td>
</tr>
</table>
</div>
</div>
<!-- 选项卡结束 -->
</div>
</div>
</div>
<div>
<input type="hidden" id="hdGid" runat="server"/>
<input type="hidden" id="hdUserID" runat="server"/>
<input type="hidden" id="hd_comboOP" runat="server"/>
<input type="hidden" id="hd_comboSALE" runat="server"/>
<input type="hidden" id="hd_comboDOC" runat="server"/>
<input type="hidden" id="hdDESCRIPTION" runat="server"/>
<input type="hidden" id="hdSHORTNAME" runat="server"/>
<input type="hidden" id="hdCODENAME" runat="server"/>
<input type="hidden" id="hdLOGINNAME" runat="server"/>
<input type="hidden" id="hdhandle" runat="server"/>
<input type="hidden" id="hdRises" runat="server"/>
<input type="hidden" id="hdEnabled" 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>