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.

967 lines
53 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="SeaImportInfo.aspx.cs" Inherits="DSWeb.SeaiInfo.SeaImportInfo" %>
<!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 rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
<script language="javascript" type="text/javascript" src="../js/m97date/wdatepicker.js"></script>
<script language="javascript" type="text/javascript" src="../js/date/jsDateFormat.js"></script>
<script language="javascript" type="text/javascript" src="../js/date/jsDateFM.js"></script>
<script src="../js/json2.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/browser.js" ></script>
<!--Grid-->
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
<script src="../js/dhtmlxcommon.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid.js" type="text/javascript"></script>
<script src="../js/dhtmlxgridcell.js" type="text/javascript"></script>
<script src="../js/dhtmlxcombo.js" type="text/javascript"></script>
<script src="../js/dhtmlxcombo_whp.js" type="text/javascript"></script>
<script src="../js/TGridCommon.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_drag.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_group.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_mcol.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_excell_link.js" type="text/javascript"></script>
<script src="../js/TCombo.js" type="text/javascript" ></script>
<script src="../js/jsGridSeaImportInfoCtn.js" type="text/javascript"></script>
<script src="../js/OpSeaiFuJian.js" type="text/javascript"></script>
<script> _css_prefix = "../styles/"; _js_prefix = "../js/"; </script>
<!--自定义下拉框-->
<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">
window.dhx_globalImgPath="../images/";
</script>
<!--页面重新加载-->
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<script type="text/javascript">
//两端去空格函数
String.prototype.trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ""); }
function $(id) {
return document.getElementById(id);
}
function reloadParent(strBSNO,strHandle)
{
//alert("strBSNO="+strBSNO);
var parentObj = window.parent.location;
var oldUrl = parentObj.href;
//
var newUrl = "";
if (strHandle=="add")
{
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&opstatus=op_seai&id=" + strBSNO;
}
else if (strHandle == "addfull" || strHandle == "addhblno") {
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&opstatus=op_seai&id=" + strBSNO;
}
else if(strHandle=="edit")
{
//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;
}
//
//alert("成功提交!");
}
//是否为数字,且数值格式是否正确
function IsNumFormat(val) {
var re = /^[-\+]?\d+(\.\d+)?$/;
if (!re.test(val)) {
return false;
}
else {
if (val.toString().indexOf(".") > 0) {
val.toString().replace("-", "");
val.toString().replace("+", "");
if (val.toString().substr(0, 1) == "0" && val.toString().substr(0, 2) != "0.") {
return false;
}
}
else {
var re1 = /^[-\+]+[1-9]+[0-9]*]*$/;
if (!re1.test(val)) {
re1 = /^[1-9]+[0-9]*]*$/;
if (!re1.test(val)) {
return false;
}
}
}
return true;
}
}
//
function getIsNum(x) {
var str = x.value.trim();
if (str == "0") {
return;
}
else if (str == "") {
str = 0;
x.value = 0;
}
else {
var bl = IsNumFormat(str);
if (!bl) {
alert("数值格式错误!");
x.focus();
x.select();
}
}
}
</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;
}
.btncss
{
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>
<style type="text/css">
*{ margin:0; padding:0;}
html,body{ width:100%; height:100%; overflow:hidden;}
.containercss{ position:relative; width:100%; height:100%; overflow-y:scroll; overflow-x:auto;}
.topcss{ width:100%; position:absolute; top:0; left:0;}
.boxcss{ height:610px;}
</style>
<!--排序-->
<style type="text/css">
.headStyle a{text-decoration:none;}
.style2
{
width: 100px;
}
</style>
</head>
<body style="background-color: #ECF2FF;" onload="resizeDiv('divTier','divTier','divTier',150);getonload0();">
<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">
<div class="btnimg"><asp:ImageButton ID="ibAdd" runat="server" onclick="ibAdd_Click" ToolTip="添加" ImageUrl="~/images/icons/btnAdd.gif" CssClass="cssfont"/></div>
</div>
<div class="xbtn-img">
<div class="btnimg"><asp:ImageButton ID="ibFullAdd" runat="server" onclick="ibFullAdd_Click" ToolTip="复制添加" ImageUrl="~/images/cmd-copy.gif" CssClass="cssfont"/></div>
</div>
<div class="xbtn-img">
<div class="btnimg"><asp:ImageButton ID="ibAddHblno" runat="server" onclick="ibAddHblno_Click" ToolTip="添加分单" ImageUrl="~/images/icons/expand-all.gif" CssClass="cssfont"/></div>
</div>
<div class="xbtn-img">
<div class="btnimg"><img id="ibEnter" runat="server" src="../images/icons/save.gif" style="width:16px;" title="保存修改" onclick="setEnter();" class="cssfont"/></div>
</div>
<div class="xbtn-img">
<div class="btnimg"><asp:ImageButton ID="ibDel" runat="server" onclick="ibDel_Click" ToolTip="删除" ImageUrl="../images/icons/remove.gif" OnClientClick="return confirm('确定删除吗?')" CssClass="cssfont"/></div>
</div>
<div class="xbtn-img">
<img id="imgFresh" runat="server" src="../images/icons/btnFresh.gif" onclick="ShowDetailFresh();" class="btnimg" alt="刷新" onmouseover="imgFreshChangePic();" onMouseOut="imgFreshChangePic();"/>
</div>
<div class="xbtn-img">
<div class="btnimg"><img id="ibPrint" runat="server" src="../images/icons/print.gif" style="width:16px;" title="报表打印" onclick="printAction()" class="cssfont"/></div>
</div>
</div>
</p>
<div id=divTier class="containercss" style="float:left; width:100%;height:1100px; overflow-y:scroll; overflow-x:hidden;">
<!-- 内容开始 -->
<div class="TabContent" style="float:left; width:820px; background-color: #ECF2FF">
<table width=780px>
<tr>
<td width="50px">
<asp:Label ID="Label1" runat="server" Text="业务状态" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<asp:Label ID="lbBSSTATUS" runat="server" BorderStyle="None" CssClass="cssfont"></asp:Label>
</td>
<td width="2px"></td>
<td width="50px">
<asp:Label ID="Label2" runat="server" Text="费用状态" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<asp:Label ID="lbFEESTATUS" runat="server" BorderStyle="None" CssClass="cssfont"></asp:Label>
</td>
<td width="2px"></td>
<td width="50px">
<asp:Label ID="Label3" runat="server" Text="会计期间" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<asp:TextBox ID="tbACCDATE" runat="server" CssClass="txtTab12" ToolTip="例2011-4" onclick="WdatePicker({dateFmt:'yyyy-M'});" MaxLength=7></asp:TextBox>
</td>
<td width="2px"></td>
<td width="50px">
<asp:Label ID="Label4" runat="server" Text="接单日期" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="tbBSDATE" runat="server" CssClass="txtTab12" onclick="WdatePicker();"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="lbCUSTOMERNAME" runat="server" Text="委托单位" width="50px" CssClass="cssfont" onclick="onclickCUSTOMERNAME();" onmouseover="lbCUSTOMERNAMEonMouseOver();" onMouseOut="lbCUSTOMERNAMEonMouseOut();" ForeColor=Red></asp:Label>
</td>
<td>
<select id="ddlCUSTOMERNAME" runat=server style="width:100px;Height:18px;" class="txtTab12"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label63" runat="server" Text="贸易代理"></asp:Label>
</td>
<td>
<select id="ddlTradingAgency" runat="server" style="width:100px" class="txtTab12"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label6" runat="server" Text="分析码1" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlBSSOURCE" runat="server" style="width:100px" class="txtTab12"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label7" runat="server" Text="分析码2" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td class="style2">
<select id="ddlBSSOURCEDETAIL" runat="server" style="width:100px" class="txtTab12"></select>
</td>
<td></td>
</tr>
<tr>
<td>
<asp:Label ID="Label64" runat="server" Text="联系人"></asp:Label>
</td>
<td>
<select id="ddlCustContact" runat="server" style="width:100px" class="txtTab12"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label65" runat="server" Text="电话"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCustTEL" runat="server" CssClass="txtTab12"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label66" runat="server" Text="传真"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCustFAX" runat="server" CssClass="txtTab12"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label67" runat="server" Text="EMAIL"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="tbCustEMAIL" runat="server" CssClass="txtTab12"></asp:TextBox>
</td>
<td></td>
</tr>
<tr>
<td>
<asp:Label ID="Label9" runat="server" Text="操作" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlOP" name="ddlOP" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label10" runat="server" Text="揽货人" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlSALE" name="ddlSALE" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label12" runat="server" Text="客服" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlCUSTSERVICE" name="ddlCUSTSERVICE" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label8" runat="server" Text="所属部门" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td class="style2">
<select id="ddlSALEDEPT" name="ddlSALEDEPT" runat="server" class="txtTab12" style="width:100px"></select></td>
</tr>
<tr>
<td>
<asp:Label ID="Label42" runat="server" Text="船名" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlVESSEL" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label43" runat="server" Text="航次" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlVOYNO" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label44" runat="server" Text="装货港" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlPORTLOAD" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label45" runat="server" Text="卸货港" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlPORTDISCHARGE" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td></td>
</tr>
<tr>
<td>
<asp:Label ID="Label41" runat="server" Text="到港日期" width="50px" CssClass="cssfont" ForeColor=Red></asp:Label></td>
<td>
<asp:TextBox ID="tbETD" runat="server" CssClass="txtTab12" onclick="WdatePicker();" onblur="getBMDDATE();getMDTDATE();"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label17" runat="server" Text="免箱期" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbFBP" runat="server" CssClass="txtTab12" MaxLength=10 onblur="getIsNum(this);getBMDDATE();" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label22" runat="server" Text="箱使到期日期" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbBMDDATE" runat="server" CssClass="txtTab12" onclick="WdatePicker();" onblur="getBMDDATE2();" onfocus="getBMDDATE2();"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label23" runat="server" Text="搬倒日期" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="tbMDTDATE" runat="server" CssClass="txtTab12" onclick="WdatePicker();" onblur="getMDTDATE2();" onfocus="getMDTDATE2();"></asp:TextBox>
</td>
<td></td>
</tr>
<tr>
<td>
<asp:Label ID="Label35" runat="server" Text="船公司" width="50px" CssClass="cssfont"></asp:Label></td>
<td>
<select id="ddlCARRIER" name="ddlCARRIER" runat="server" CssClass="txtTab12" style="width:100px"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label29" runat="server" Text="装运方式" width="50px" CssClass="cssfont"></asp:Label></td>
<td>
<select id="ddlBLTYPE" name="ddlBLTYPE" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label34" runat="server" Text="单据类型" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:DropDownList ID="ddlBSTYPE" runat="server" CssClass="txtTab12" style="width:100px" onchange="getBSTYPE();">
<asp:ListItem Selected="True" Value="普通货">普通货</asp:ListItem>
<asp:ListItem Value="主单">主单</asp:ListItem>
<asp:ListItem Value="分单">分单</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td colspan=11>
<table width=100%>
<tr>
<td><asp:Label ID="Label14" runat="server" Text="委托编号" width="50px" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbCUSTNO" runat="server" CssClass="txtTab14" MaxLength="30" Width="179px"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label15" runat="server" Text="主提单号" width="50px" CssClass="cssfont" ForeColor="Red"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbMBLNO" runat="server" CssClass="txtTab14" MaxLength="30" Width="179px"></asp:TextBox>
</td>
<td></td>
<td><asp:Label ID="Label16" runat="server" Text="分提单号" width="50px" CssClass="cssfont"></asp:Label></td>
<td>
<asp:TextBox ID="tbHBLNO" runat="server" CssClass="txtTab14" MaxLength="30" Width="179px"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=11 height="30" align=left valign=bottom><h5 style="color:#96B3DD;">货物信息</h5></td>
</tr>
<tr>
<td>
<asp:Label ID="Label62" runat="server" Text="品名" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlGOODSNAME" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td width="1px"></td>
<td>
<asp:Label ID="Label69" runat="server" CssClass="cssfont" Text="品名类型" Width="50px"></asp:Label>
</td>
<td>
<select id="ddlGoodsType" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td width="1px"></td>
<td>
<asp:Label ID="Label49" runat="server" Text="原产地" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCOUNTRYOFORIGIN" runat="server" CssClass="txtTab12" MaxLength=60></asp:TextBox>
</td>
<td width="1px"></td>
<td>
<asp:Label ID="Label50" runat="server" Text="牌号" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbNUMBERPLATE" runat="server" CssClass="txtTab12" MaxLength="100"></asp:TextBox>
</td>
</tr>
<tr>
<td width="25px">
<asp:Label ID="Label68" runat="server" Text="贸易方式" Width="50px" ForeColor="Red"></asp:Label>
</td>
<td>
<select id="ddlTradeType" runat="server" class="txtTab12" style="width:100px"></select>
</td>
<td width="1px"></td>
<td>
<asp:Label ID="Label51" runat="server" Text="合同号" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCONTRACTNO" runat="server" CssClass="txtTab12" MaxLength=100></asp:TextBox>
</td>
<td width="1px"></td>
<td>
<asp:Label ID="Label24" runat="server" Text="件数" width="50px" CssClass="cssfont"></asp:Label></td>
<td>
<table>
<tr>
<td width="46px">
<asp:TextBox ID="tbPKGS" runat="server" CssClass="txtTab12" MaxLength=10
onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}"
onblur="getIsNum(this);" Width="46px"></asp:TextBox>
</td>
<td width="50px">
<select id="ddlKINDPKGS" runat="server" style="width:46px;"
onfocus ="initComboKINDPKGS();"></select>
</td>
</tr>
</table>
</td>
<td width="1px"></td>
<td width="50px">
<asp:Label ID="Label58" runat="server" Text="BALES" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<asp:TextBox ID="tbBALES" runat="server" CssClass="txtTab12" MaxLength="20"></asp:TextBox>
</td>
<td width="1px"></td>
</tr>
<tr>
<td width="50px">
<asp:Label ID="Label59" runat="server" Text="毛重" width="50px" CssClass="cssfont"></asp:Label></td>
<td class="style14">
<table>
<tr>
<td Width="46px">
<asp:TextBox ID="tbKGS" runat="server" CssClass="txtTab12" MaxLength="20" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" Width="46px" onblur="getIsNum(this);"></asp:TextBox>
</td>
<td Width="46px">
<asp:DropDownList ID="ddlUNITOFWEIGHT" runat="server" Width="46px" CssClass="txtTab12" Height="22px" onchange="getUNITOFWEIGHT();">
<asp:ListItem Selected="True" Value="吨">吨</asp:ListItem>
<asp:ListItem Value="千克">千克</asp:ListItem>
<asp:ListItem Value="立方">立方</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</td>
<td width="1px"></td>
<td width="50px">
<asp:Label ID="Label11" runat="server" Text="净重" width="50px" CssClass="cssfont"></asp:Label></td>
<td width="100px">
<table>
<tr>
<td Width="46px">
<asp:TextBox ID="tbNETWEIGHT" runat="server" CssClass="txtTab12" MaxLength="20" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" Width="46px" onblur="getIsNum(this);"></asp:TextBox>
</td>
<td Width="46px">
<asp:DropDownList ID="ddlUNITOFWEIGHT2" runat="server" Width="46px" CssClass="txtTab12" Height="22px" onchange="getUNITOFWEIGHT2();">
<asp:ListItem Selected="True" Value="吨">吨</asp:ListItem>
<asp:ListItem Value="千克">千克</asp:ListItem>
<asp:ListItem Value="立方">立方</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</td>
<td width="1px"></td>
<td width="50px">
<asp:Label runat="server" ID="labelCBM" Text="尺码" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCBM" runat="server" Width="80px" CssClass="txtTab7" MaxLength="60" Text="0.0000" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="getIsNum(this);"></asp:TextBox>CBM
</td>
<td width="1px"></td>
<td width="25px">
<asp:Label ID="Label37" runat="server" Text="仓储类型" Width="50px"></asp:Label>
</td>
<td>
<select id="ddlWMSTYPE" runat="server" class="txtTab12" style="width:100px"></select>
</td>
</tr>
<tr>
<td width="50px">
<asp:Label ID="Label30" runat="server" Text="货值" width="50px" CssClass="cssfont"></asp:Label></td>
<td width="100px">
<asp:TextBox ID="tbIMPORTVALUE" runat="server" CssClass="txtTab12" MaxLength="20" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" Width="100px" onblur="getIsNum(this);"></asp:TextBox>
</td>
<td width="1px"></td>
<td width="50px">
<asp:Label ID="Label31" runat="server" Text="单价" width="50px" CssClass="cssfont"></asp:Label></td>
<td width="100px"><asp:TextBox ID="tbUNITPRICE" runat="server" Width="100px" CssClass="txtTab7" MaxLength="60" Text="" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="getIsNum(this);"></asp:TextBox></td>
<td width="1px"></td>
<td width="50px">
<asp:Label ID="Label33" runat="server" Text="币别" width="50px" CssClass="cssfont"></asp:Label></td>
<td colspan="4">
<asp:DropDownList ID="ddlCURRENCY" runat="server" AppendDataBoundItems="true" Width="105px" CssClass="txtTab12" Height="22px" onchange="getUNITOFWEIGHT2();">
<asp:ListItem Value="">请选择币别...</asp:ListItem>
<asp:ListItem Value="USD">USD</asp:ListItem>
<asp:ListItem Value="RMB">RMB</asp:ListItem>
<asp:ListItem Value="EUR">EUR</asp:ListItem>
<asp:ListItem Value="JPY">JPY</asp:ListItem>
<asp:ListItem Value="HKD">HKD</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td><asp:Label ID="Label28" runat="server" Text="箱型箱量" width="50px" CssClass="cssfont"></asp:Label></td>
<td colspan="10"><input id="dvCNTRTOTAL" runat=server type="text" class="txtTab" maxlength=1024 readonly="readonly" /></td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=11 height="30" align=left valign=bottom><h5 color="#96B3DD">报关信息</h5></td>
</tr>
<tr>
<td colspan=11>
<table width=100%>
<tr>
<td>
<asp:Label ID="Label5" runat="server" Text="报关行" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlCUSTOMSER" runat="server" CssClass="txtTab12" style="width:100px"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label13" runat="server" Text="报关单号" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCUSTOMNO" runat="server" CssClass="txtTab12" MaxLength=20 Width="100px"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label18" runat="server" Text="通关日期" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCUSTOMDATE" runat="server" CssClass="txtTab12" onclick="WdatePicker();" Width="100px"></asp:TextBox>
</td>
<td width="10px"></td>
<td>
<asp:Label ID="Label32" runat="server" Text="申报日期" width="60px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbUPDATETIME" runat="server" CssClass="txtTab12" onclick="WdatePicker();" Width="100px"></asp:TextBox>
</td>
</tr>
<tr>
<td width="50px">
<asp:Label ID="Label19" runat="server" Text="报检" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlINSPECTION" runat="server" CssClass="txtTab12" style="width:100px"></select>
</td>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label20" runat="server" Text="报检单号" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbINSPECTIONNO" runat="server" CssClass="txtTab12" MaxLength="20" Width="100px"></asp:TextBox>
</td>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label21" runat="server" Text="报检日期" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbINSPECTIONDATE" runat="server" CssClass="txtTab12" onclick="WdatePicker();" Width="100px"></asp:TextBox>
</td>
<td width="10px"></td>
<td>
<asp:Label ID="Label25" runat="server" Text="交关税时间" width="60px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbTARRIFSPAIEDTIEM" runat="server" CssClass="txtTab12" onclick="WdatePicker();" Width="100px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label27" runat="server" Text="审批单号" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbApproveNo" runat="server" CssClass="txtTab12" Width="100px"></asp:TextBox>
</td>
<td width="10px"></td>
<td>
<asp:Label ID="Label36" runat="server" Text="车队" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlTRUCKER" name="ddlTRUCKER" runat="server" CssClass="txtTab12" style="width:100px"></select>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=2 align=left valign=bottom><h5 color="#96B3DD">集装箱信息</h5></td>
</tr>
<tr>
<td colspan=11>
<div style="width:746px;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div id="divadd" runat="server" class="xbtn-img" onclick="divdisplay();addRecvRow();" style="display:block">
<div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加" class="cssfont"/></div>
</div>
<div id="divsave" runat="server" class="xbtn-img" onclick="divdisplay();saveRecvChange();getCTNNUM();" style="display:none;">
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改" class="cssfont"/></div>
</div>
<div id="divdel" runat="server" class="xbtn-img" onclick="divdisplay();deleteRecvRow();getCTNNUM();">
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除" class="cssfont"/></div>
</div>
<div id="divrollback" runat="server" class="xbtn-img" onclick="divdisplay();recoverRecvChange();">
<div class="btnimg"><img src="../images/icons/rollback.gif" width="16px" title="放弃修改" class="cssfont"/></div>
</div>
<div id="divrefresh" runat="server" class="xbtn-img" onclick="divdisplay();refreshRecv();">
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新" class="cssfont"/></div>
</div>
<div id="divctn" runat="server" class="xbtn-img" onclick="divdisplay();onclickCTN();" style=" visibility:hidden; display:none;">
<input id="btCTN" type="button" value="箱号封号导入" style="width:100px; height:20px; visibility:hidden; display:none;" class="btncss" />
</div>
</div>
<div style=" width:100%; height:100%;" oncontextmenu="return false">
<div id="mygrid_container_recv" style="width:744px; height:150px;" runat="server" class="cssfont"></div>
<input type="hidden" id="dvOrderNumVal" runat="server"/>
<input type="hidden" id="payContainer" runat="server" />
<input type="hidden" id="recvContainer" runat="server" />
<input type="hidden" id="gainContainer" runat="server" />
<input type="hidden" id="addCache" />
<div id="allDoc"></div>
</div>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<%--
<tr>
<td colspan=11 align=left valign=bottom><h5 color="#96B3DD">仓储费率设置</h5></td>
</tr>
<tr>
<td colspan=11>
<div style="width:746px;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div id="divadd_2" runat="server" class="xbtn-img" onclick="divdisplay_2();addRecvRow_2()" style="display:block">
<div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加" class="cssfont"/></div>
</div>
<div id="divsave_2" runat="server" class="xbtn-img" onclick="divdisplay_2();saveRecvChange_2()" style="display:none;">
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改" class="cssfont"/></div>
</div>
<div id="divdel_2" runat="server" class="xbtn-img" onclick="divdisplay_2();deleteRecvRow_2()">
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除" class="cssfont"/></div>
</div>
<div id="divrollback_2" runat="server" class="xbtn-img" onclick="divdisplay_2();recoverRecvChange_2()" style="display:none;">
<div class="btnimg"><img src="../images/icons/rollback.gif" width="16px" title="放弃修改" class="cssfont"/></div>
</div>
<div id="divrefresh_2" runat="server" class="xbtn-img" onclick="divdisplay_2();refreshRecv_2()">
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新" class="cssfont"/></div>
</div>
</div>
<div style=" width:100%; height:100%;" oncontextmenu="return false">
<div id="mygrid_container_recv_2" style="width:744px; height:150px;" runat="server" class="cssfont"></div>
<input type="hidden" id="dvOrderNumVal_2" runat="server"/>
<input type="hidden" id="payContainer_2" runat="server" />
<input type="hidden" id="recvContainer_2" runat="server" />
<input type="hidden" id="gainContainer_2" runat="server" />
<input type="hidden" id="addCache_2" />
<div id="allDoc_2"></div>
</div>
</td>
</tr>
--%>
<tr>
<td colspan=11 align=left valign=bottom><h5 color="#96B3DD">备注信息</h5></td>
</tr>
<tr>
<td colspan=11 align=left valign=bottom>
<asp:TextBox ID="tbREMARK" runat="server" TextMode="MultiLine" MaxLength="4000" CssClass="txtTab12" Width="744px" Height="100px" style="overflow-y:auto;height:100px;"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=11 align=left valign=bottom><h5 color="#96B3DD">附件信息</h5></td>
</tr>
<tr>
<table width=780px>
<tr>
<td width=10px></td>
<td>
<asp:Label ID="Label26" runat="server" Text="附件" Width=30px CssClass="cssfont"></asp:Label>
</td>
<td>
<table width=700px>
<tr>
<td>
<asp:FileUpload ID="FileUpload1" runat="server" Height=20px Width=500px CssClass="txtTab2"/>
</td>
<td>
<input id="btFU" runat=server type="button" value="上传" style="Width:40px;Height:20px" class="btncss" onclick="add_mygrid_logRow();"/>
</td>
<td>
<img id="imgDel" runat=server src="../images/icons/remove.gif" onclick="ShowDetailDel();" alt="删除" onmouseover="imgDelChangePic();" onMouseOut="imgDelChangePic();"/>
</td>
<td>
<img id="img1" runat=server src="../images/icons/btnFresh.gif" onclick="bodyOnload();" class="btnimg" alt="刷新" onmouseover="imgFreshChangePic();" onMouseOut="imgFreshChangePic();"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=10px></td>
<td></td>
<td>
<div class="grid-ie7" id="gridContain" style="overflow-x:hidden;background-color: #FFFFFF">
<div id="mygrid_container_log" style="width:700px; height:150px;background-color: #FFFFFF;font-size:12px;" runat="server" class="tablecss"></div>
</div>
<div id="pager" style="width: 605px; margin: 0px; padding: 4px; border: 0px solid #999;"></div>
<div id="info" style="text-align: center; width: 605px; margin: 0 2px; padding: 4px; border: 1px solid #999;display:none;"></div>
<div>
<input type="hidden" id="hid_setting" runat="server"/>
<input type="hidden" id="hid_header" runat="server" />
<input type="hidden" id="hid_id" runat="server" />`
<input type="hidden" id="recvContainer_3" runat="server" />
<input type="hidden" id="dvOrderNumVal_3" runat="server"/>
<div id="dvSaveState" runat="server"></div>
<div id="divh" style="display: none;">
<div class="box">
<div id="tit"></div>
<div id="bod"></div>
<div id="bot"></div>
</div>
</div>
</div>
</td>
</tr>
<%----
<tr>
<td align=left>
<asp:DataList ID="DLFile" DataKeyField ="GID" runat="server" RepeatColumns="1" Width="100%" Height="100%">
<ItemTemplate>
<table>
<tr>
<td>
<a href="<%#DataBinder.Eval(Container.DataItem, "AFFIXURL").ToString()%>" target="_blank"><%#DataBinder.Eval(Container.DataItem, "AFFIXNAME").ToString()%></a>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</td>
</tr> -----%>
</table>
</tr>
</table>
</div>
<!-- 内容结束 -->
</div>
</div>
<div>
<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="hdCOMPANYID" runat="server"/>
<input type="hidden" id="hdEnter" runat="server"/>
<input type="hidden" id="hdEnabled" runat="server"/>
<input type="hidden" id="hd_comboCUSTOMERCODE" runat="server"/>
<input type="hidden" id="hd_comboCUSTOMERNAME" runat="server"/>
<input type="hidden" id="hd_comboOP" runat="server"/>
<input type="hidden" id="hd_comboSALE" runat="server"/>
<input type="hidden" id="hd_comboCUSTSERVICE" runat="server"/>
<input type="hidden" id="hd_comboSALEDEPT" runat="server"/>
<input type="hidden" id="hd_comboVESSEL" runat="server"/>
<input type="hidden" id="hd_comboVOYNO" runat="server"/>
<input type="hidden" id="hd_comboPORTLOAD" runat="server"/>
<input type="hidden" id="hd_comboPORTDISCHARGE" runat="server"/>
<input type="hidden" id="hd_comboGOODSNAME" runat="server"/>
<input type="hidden" id="hd_comboCUSTOMSER" runat="server"/>
<input type="hidden" id="hd_comboINSPECTION" runat="server"/>
<input type="hidden" id="hd_comboNUMBERPLATE" runat="server"/>
<input type="hidden" id="hd_comboTradingAgency" runat="server"/>
<input type="hidden" id="hd_comboGoodsTypeName" runat="server"/>
<input type="hidden" id="hd_comboTradeType" runat="server"/>
<input type="hidden" id="hd_comboBLTYPE" runat=server />
<input id="hd_comboBSSOURCE" type="hidden" runat="server"/>
<input id="hd_comboBSSOURCE2" type="hidden" runat="server"/>
<input id="hd_comboBSSOURCEDETAIL" type="hidden" runat="server"/>
<input id="hd_comboCustContact" type="hidden" runat="server"/>
<%--DataBinder.Eval(Container.DataItem, "AFFIXNAME").ToString()---%>
<input type="hidden" id="h_FuJianGID" runat="server"/>
<input type="hidden" id="hdISISSUE" runat="server"/>
<input type="hidden" id="hd_comboKINDPKGS" runat="server"/>
<input type="hidden" id="hdMASTERNO" runat="server"/>
<input type="hidden" id="hdLEVELS" runat="server"/>
<input type="hidden" id="hdPARENTID" runat="server"/>
<input type="hidden" id="hdBSTYPE" runat="server"/>
<input type="hidden" id="hd_comboCARRIER" runat="server"/>
<input type="hidden" id="hd_comboTRUCKER" runat="server"/>
<input type="hidden" id="hd_comboWMSTYPE" runat="server"/>
</div>
<div style="height:200px; width:100%;"></div>
</form>
</body>
</html>