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/SeaExportInfoBillOfLadingAd...

868 lines
44 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="SeaExportInfoBillOfLadingAdd.aspx.cs" Inherits="DSWeb.Shipping.SeaExportInfoBillOfLadingAdd" %>
<!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 runat="server">
<title>提单信息</title>
<link rel="stylesheet" type="text/css" href="../theme/page.css"/>
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="../js/date/jsDateFormat.js"></script>
<script language="javascript" type="text/javascript" src="../js/date/jsCalendar2.js"></script>
<script language="javascript" type="text/javascript" src="../js/m97date/wdatepicker.js"></script>
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
<script src="../js/json2.js" type="text/javascript"></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/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>
<!--自定义下拉框-->
<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/dhtmlxcombo_whp.js"></script>
<script type="text/javascript">
window.dhx_globalImgPath = "../images/";
</script>
<!--按钮条-->
<style type="text/css">
.btn-content0{
width:100%;
height:30px;
background:url("../images/content-header.gif");
cursor:default;
}
</style>
<script type="text/javascript">
function $(id) {
return document.getElementById(id);
}
//两端去空格函数
String.prototype.trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ""); }
function printAction()
{
var strBSNO = "";
strBSNO = $("hdGid").value;
// var openSet = "height=680, width=1050, toolbar=no, menubar=no,scrollbars=no, resizable=1,location=no, status=no,Top= " +(screen.height-710)/2 + ",Left= "+(screen.width-800)/2
// var openType = "_blank";
// var openUrl = "../Reports/SeaExportReport.aspx?bsno="+strBsno;
// window.open (openUrl,openType,openSet);
var printUrl = "";
var companyID = "";
var typeName = "SEAEBILLOFLADING";
var dbSourceID = "";
var userID = "";
var url = "../Reports/ReportService.aspx?handle=printseaebilloflading&bsno="+strBSNO+"&val="+newGuid();
var loader = dhtmlxAjax.getSync(url);
var reportVal = loader.xmlDoc.responseText;
var reportObj = null;
if(reportVal != ""){
reportObj = eval('(' + reportVal + ')');
if(reportObj.reports.length > 0){
if(reportObj.reports[0].compid != ""){
companyID = reportObj.reports[0].compid;
}
if(reportObj.reports[0].sourceid != ""){
dbSourceID = reportObj.reports[0].sourceid;
}
if(reportObj.reports[0].compid != ""){
userID = reportObj.reports[0].userid;
}
printUrl = "print://?comp="+companyID+"&type="+typeName+"&dbid="+dbSourceID+"&uid="+userID;//alert(printUrl);
window.location.href = window.location.href;
location.href = printUrl;
}
}else{
alert("没有要打印的报表");
return;
}
}
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();
}
function selSTLDATEETD(tiannetOutObject)
{
}
function IsNumeric(s)
{
var inum = s.replace(/[^\d]/g,'');
var bReturn = true;
if(inum=="" || inum==null || inum==NaN)
{
bReturn = false;
}
return bReturn;
}
function onBlurNOPKGS()
{
var iums = 0;
var sums ="";
var strNOPKGS = $("tbNOPKGS").value.trim();
if (strNOPKGS != null && strNOPKGS != "")
{
var items= new Array();
items =strNOPKGS.split("\r\n");//这里是以换行符作为分界
var ii = new Array(items.length);
var ss = new Array(items.length);
if (items != null && items.length > 0)
{
for (var i = 0; i < items.length; i++)
{
for (var j = 0; j < items[i].length;j++ )
{
var s = items[i].trim().substring(j, j+1);
var tf = IsNumeric(s);
if (tf)
{
ii[i] = ii[i]+s;
ss[i] = "";
}
else
{
ss[i] = items[i].trim().substring(j).toUpperCase();
break;
}
}
iums += parseInt(ii[i].substring(9));
}
}
for (var k = 0; k < ss.length; k++)
{
if (ss.length == 1)
{
sums = ss[k].toString().trim().toUpperCase();
break;
}
if (ss[k]==ss[ss.length - 1])
{
sums=ss[k].toString().trim().toUpperCase();
}
else
{
sums= "PACKAGES";
break;
}
}
}
//$("tbPKGS").value = iums.toString();
//$("hd_comboKINDPKGS").value = sums;
//件数大写
var loaderText3 = dhtmlxAjax.getSync("../FeeCodes/TOTALNOAdapter.aspx?iums="+iums+"&sums="+sums+"&uid="+newID());
$("tbTOTALNO").value = loaderText3.xmlDoc.responseText;
//comboKINDPKGS.setComboText($("hd_comboKINDPKGS").value);
}
function newID() {
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();
}
//是否为数字,且数值格式是否正确
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();
}
}
}
//
var comboSHIPPERID; //发货人
var comboCONSIGNEEID; //收货人
var comboNOTIFYPARTYID; //通知人
var comboAGENTID; //代理人
function initComboSHIPPERID()//发货人
{
comboSHIPPERID = dhtmlXComboFromSelect("ddlSHIPPERID");
comboSHIPPERID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=2&CODENAME=" + $("hd_comboCUSTOMERCODE").value + "&SHORTNAME=" + escape($("hd_comboCUSTOMERNAME").value));
}
function initComboSHIPPERID3()//发货人
{
comboSHIPPERID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=2&CODENAME=" + $("hd_comboCUSTOMERCODE").value + "&SHORTNAME=" + escape($("hd_comboCUSTOMERNAME").value));
}
function initComboSHIPPERID2()//发货人
{
/*
comboSHIPPERID.attachEvent("onChange", function()
{
comboSHIPPERID.setComboText($("hd_comboSHIPPERID").value);
//
var s1 = comboSHIPPERID.getComboText().trim();
var s2 = s1.indexOf("|");
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboSHIPPERID.setComboText(s3);
$("hd_comboSHIPPERID").value=s3;
}
else
{
comboSHIPPERID.setComboText($("hd_comboSHIPPERID").value);
}
//
var selVal = comboSHIPPERID.getSelectedValue();
var selVal2 = comboSHIPPERID.getComboText().trim();
var loader = dhtmlxAjax.getSync("../FeeCodes/ShipperdetailAdapter.aspx?shipperID="+escape(selVal)+"&SHORTNAME="+escape(selVal2)+"&val="+newGuid());
$("tbSHIPPER").value =loader.xmlDoc.responseText;
});
*/
/*
comboSHIPPERID.attachEvent("onBlur", function()
{
var s1 = comboSHIPPERID.getComboText().trim();
var s2 = s1.indexOf("|");
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboSHIPPERID.setComboText(s3);
$("hd_comboSHIPPERID").value=s3;
}
else
{
comboSHIPPERID.setComboText($("hd_comboSHIPPERID").value);
}
//
var selVal = comboSHIPPERID.getSelectedValue();
var selVal2 = comboSHIPPERID.getComboText().trim();
var loader = dhtmlxAjax.getSync("../FeeCodes/ShipperdetailAdapter.aspx?shipperID="+selVal+"&SHORTNAME="+escape(selVal2)+"&val="+newGuid());
$("tbSHIPPER").value =loader.xmlDoc.responseText;
});
*/
if ($("hdEnabled").value == "false") {
comboSHIPPERID.disable(true);
}
//
comboSHIPPERID.setOptionWidth(200);
comboSHIPPERID.setComboText($("hd_comboSHIPPERID").value);
comboSHIPPERID.attachEvent("onKeyPressed", function (keyCode) {
if (keyCode != "8") {
initComboSHIPPERID3();
var arrayArg = new Array();
setTimeout(function () {
var is = -1;
var ishd = $("hd_comboSHIPPERID").value.trim();
var filterCount = 0;
if ("" != comboSHIPPERID.getComboText().trim()) {
while ("undefined" != typeof comboSHIPPERID.getOptionByIndex(filterCount)) {
var comboValue = comboSHIPPERID.getOptionByIndex(filterCount).text.toUpperCase(); //.value;
var enterValue = comboSHIPPERID.getComboText().trim().toUpperCase();
$("hd_comboSHIPPERID").value = comboSHIPPERID.getComboText().trim().toUpperCase();
if (comboValue.indexOf(enterValue) == 0) {
comboSHIPPERID.selectOption(filterCount, true, true);
is = filterCount;
break;
}
++filterCount;
}
if (is == -1) {
$("hd_comboSHIPPERID").value = ishd;
alert("无此内容,请重新选择!");
}
}
}, 10);
}
});
comboSHIPPERID.attachEvent("onSelectionChange", function () {
$("hd_comboSHIPPERID").value = comboSHIPPERID.getComboText().trim();
/*
var selVal = comboSHIPPERID.getSelectedValue();
var selVal2 = comboSHIPPERID.getComboText().trim();
var loader = dhtmlxAjax.getSync("../FeeCodes/ShipperdetailAdapter.aspx?shipperID="+escape(selVal)+"&SHORTNAME="+escape(selVal2)+"&val="+newGuid());
$("tbSHIPPER").value =loader.xmlDoc.responseText;*/
//
var s1 = comboSHIPPERID.getComboText().trim();
var s2 = s1.indexOf("|");
if (s2 > 0) {
s2 = s2 + 2;
}
var s3 = s1.substring(s2);
if (s2 > 0) {
comboSHIPPERID.setComboText(s3);
$("hd_comboSHIPPERID").value = s3;
}
else {
comboSHIPPERID.setComboText($("hd_comboSHIPPERID").value);
}
//
var selVal = comboSHIPPERID.getSelectedValue();
var selVal2 = comboSHIPPERID.getComboText().trim();
var loader = dhtmlxAjax.getSync("../FeeCodes/ShipperdetailAdapter.aspx?shipperID=" + escape(selVal) + "&SHORTNAME=" + escape(selVal2) + "&val=" + newGuid());
$("tbSHIPPER").value = loader.xmlDoc.responseText;
});
}
function initComboCONSIGNEEID()//收货人
{
comboCONSIGNEEID = dhtmlXComboFromSelect("ddlCONSIGNEEID");
comboCONSIGNEEID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=1&CODENAME=" + $("hd_comboCUSTOMERCODE").value + "&SHORTNAME=" + escape($("hd_comboCUSTOMERNAME").value));
}
function initComboCONSIGNEEID3()//收货人
{
comboCONSIGNEEID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=1&CODENAME=" + $("hd_comboCUSTOMERCODE").value + "&SHORTNAME=" + escape($("hd_comboCUSTOMERNAME").value));
}
function initComboCONSIGNEEID2()//收货人
{
if ($("hdEnabled").value == "false") {
comboCONSIGNEEID.disable(true);
}
//
comboCONSIGNEEID.setOptionWidth(200);
comboCONSIGNEEID.setComboText($("hd_comboCONSIGNEEID").value);
comboCONSIGNEEID.attachEvent("onKeyPressed", function (keyCode) {
if (keyCode != "8") {
var arrayArg = new Array();
setTimeout(function () {
var is = -1;
var ishd = $("hd_comboCONSIGNEEID").value.trim();
var filterCount = 0;
if ("" != comboCONSIGNEEID.getComboText().trim()) {
while ("undefined" != typeof comboCONSIGNEEID.getOptionByIndex(filterCount)) {
var comboValue = comboCONSIGNEEID.getOptionByIndex(filterCount).text.toUpperCase(); //.value;
var enterValue = comboCONSIGNEEID.getComboText().trim().toUpperCase();
$("hd_comboCONSIGNEEID").value = comboCONSIGNEEID.getComboText().trim().toUpperCase();
if (comboValue.indexOf(enterValue) == 0) {
comboCONSIGNEEID.selectOption(filterCount, true, true);
is = filterCount;
break;
}
++filterCount;
}
if (is == -1) {
$("hd_comboCONSIGNEEID").value = ishd;
alert("无此内容,请重新选择!");
}
}
}, 10);
}
});
comboCONSIGNEEID.attachEvent("onSelectionChange", function () {
$("hd_comboCONSIGNEEID").value = comboCONSIGNEEID.getComboText().trim();
//
var s1 = comboCONSIGNEEID.getComboText().trim();
var s2 = s1.indexOf("|");
if (s2 > 0) {
s2 = s2 + 2;
}
var s3 = s1.substring(s2);
if (s2 > 0) {
comboCONSIGNEEID.setComboText(s3);
$("hd_comboCONSIGNEEID").value = s3;
}
else {
comboCONSIGNEEID.setComboText($("hd_comboCONSIGNEEID").value);
}
//
var selVal = comboCONSIGNEEID.getSelectedValue();
var selVal2 = comboCONSIGNEEID.getComboText().trim();
var loader = dhtmlxAjax.getSync("../FeeCodes/ShipperdetailAdapter.aspx?shipperID=" + escape(selVal) + "&SHORTNAME=" + escape(selVal2) + "&val=" + newGuid());
$("tbCONSIGNEE").value = loader.xmlDoc.responseText;
});
}
function initComboNOTIFYPARTYID()//通知人
{
comboNOTIFYPARTYID = dhtmlXComboFromSelect("ddlNOTIFYPARTYID");
comboNOTIFYPARTYID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=3&CODENAME=" + $("hd_comboCUSTOMERCODE").value + "&SHORTNAME=" + escape($("hd_comboCUSTOMERNAME").value));
}
function initComboNOTIFYPARTYID3()//通知人
{
comboNOTIFYPARTYID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=3&CODENAME=" + $("hd_comboCUSTOMERCODE").value + "&SHORTNAME=" + escape($("hd_comboCUSTOMERNAME").value));
}
function initComboNOTIFYPARTYID2()//通知人
{
if ($("hdEnabled").value == "false") {
comboNOTIFYPARTYID.disable(true);
}
//
comboNOTIFYPARTYID.setOptionWidth(200);
comboNOTIFYPARTYID.setComboText($("hd_comboNOTIFYPARTYID").value);
comboNOTIFYPARTYID.attachEvent("onKeyPressed", function (keyCode) {
if (keyCode != "8") {
var arrayArg = new Array();
setTimeout(function () {
var is = -1;
var ishd = $("hd_comboNOTIFYPARTYID").value.trim();
var filterCount = 0;
if ("" != comboNOTIFYPARTYID.getComboText().trim()) {
while ("undefined" != typeof comboNOTIFYPARTYID.getOptionByIndex(filterCount)) {
var comboValue = comboNOTIFYPARTYID.getOptionByIndex(filterCount).text.toUpperCase(); //.value;
var enterValue = comboNOTIFYPARTYID.getComboText().trim().toUpperCase();
$("hd_comboNOTIFYPARTYID").value = comboNOTIFYPARTYID.getComboText().trim().toUpperCase();
if (comboValue.indexOf(enterValue) == 0) {
comboNOTIFYPARTYID.selectOption(filterCount, true, true);
is = filterCount;
break;
}
++filterCount;
}
if (is == -1) {
$("hd_comboNOTIFYPARTYID").value = ishd;
alert("无此内容,请重新选择!");
}
}
}, 10);
}
});
comboNOTIFYPARTYID.attachEvent("onSelectionChange", function () {
$("hd_comboNOTIFYPARTYID").value = comboNOTIFYPARTYID.getComboText().trim();
//
var s1 = comboNOTIFYPARTYID.getComboText().trim();
var s2 = s1.indexOf("|");
if (s2 > 0) {
s2 = s2 + 2;
}
var s3 = s1.substring(s2);
if (s2 > 0) {
comboNOTIFYPARTYID.setComboText(s3);
$("hd_comboNOTIFYPARTYID").value = s3;
}
else {
comboNOTIFYPARTYID.setComboText($("hd_comboNOTIFYPARTYID").value);
}
//
var selVal = comboNOTIFYPARTYID.getSelectedValue();
var selVal2 = comboNOTIFYPARTYID.getComboText().trim();
var loader = dhtmlxAjax.getSync("../FeeCodes/ShipperdetailAdapter.aspx?shipperID=" + escape(selVal) + "&SHORTNAME=" + escape(selVal2) + "&val=" + newGuid());
$("tbNOTIFYPARTY").value = loader.xmlDoc.responseText;
});
}
function initComboAGENTID()//代理人
{
comboAGENTID = dhtmlXComboFromSelect("ddlAGENTID");
comboAGENTID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=4&CODENAME=" + $("hd_comboCUSTOMERCODE").value + "&SHORTNAME=" + escape($("hd_comboCUSTOMERNAME").value));
}
function initComboAGENTID3()//代理人
{
comboAGENTID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=4&CODENAME=" + $("hd_comboCUSTOMERCODE").value + "&SHORTNAME=" + escape($("hd_comboCUSTOMERNAME").value));
}
function initComboAGENTID2()//代理人
{
if ($("hdEnabled").value == "false") {
comboAGENTID.disable(true);
}
//
comboAGENTID.setOptionWidth(200);
comboAGENTID.setComboText($("hd_comboAGENTID").value);
comboAGENTID.attachEvent("onKeyPressed", function (keyCode) {
if (keyCode != "8") {
var arrayArg = new Array();
setTimeout(function () {
var is = -1;
var ishd = $("hd_comboAGENTID").value.trim();
var filterCount = 0;
if ("" != comboAGENTID.getComboText().trim()) {
while ("undefined" != typeof comboAGENTID.getOptionByIndex(filterCount)) {
var comboValue = comboAGENTID.getOptionByIndex(filterCount).text.toUpperCase(); //.value;
var enterValue = comboAGENTID.getComboText().trim().toUpperCase();
$("hd_comboAGENTID").value = comboAGENTID.getComboText().trim().toUpperCase();
if (comboValue.indexOf(enterValue) == 0) {
comboAGENTID.selectOption(filterCount, true, true);
is = filterCount;
break;
}
++filterCount;
}
if (is == -1) {
$("hd_comboAGENTID").value = ishd;
alert("无此内容,请重新选择!");
}
}
}, 10);
}
});
comboAGENTID.attachEvent("onSelectionChange", function () {
$("hd_comboAGENTID").value = comboAGENTID.getComboText().trim();
//
var s1 = comboAGENTID.getComboText().trim();
var s2 = s1.indexOf("|");
if (s2 > 0) {
s2 = s2 + 2;
}
var s3 = s1.substring(s2);
if (s2 > 0) {
comboAGENTID.setComboText(s3);
$("hd_comboAGENTID").value = s3;
}
else {
comboAGENTID.setComboText($("hd_comboAGENTID").value);
}
//
var selVal = comboAGENTID.getSelectedValue();
var selVal2 = comboAGENTID.getComboText().trim();
var loader = dhtmlxAjax.getSync("../FeeCodes/ShipperdetailAdapter.aspx?shipperID=" + escape(selVal) + "&SHORTNAME=" + escape(selVal2) + "&val=" + newGuid());
$("tbAGENT").value = loader.xmlDoc.responseText;
});
}
//
function getonload() {
initComboSHIPPERID2();
initComboCONSIGNEEID2();
initComboNOTIFYPARTYID2();
initComboAGENTID2();
}
</script>
<script type="text/javascript">
function reloadParent(strBSNO,strLEID)
{
/*
alert("成功提交!");
window.opener.location.reload();
history.back();
$("hdGid").value = strLEID;
$("hdEnter").value = "0";
postEnterTopCtn();
*/
//alert("strBSNO="+strBSNO);
var parentObj = window.parent.location;
var oldUrl = parentObj.href;
var idIndex = oldUrl.indexOf("&asid=&");//alert("1."+oldUrl+","+idIndex);
//
var newUrl = "";
if(idIndex <= 0)
{
newUrl = oldUrl.substring(0,idIndex+4);//alert("2."+oldUrl.substring(0,idIndex));
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+strBSNO;
}
else
{
var handleIndex = oldUrl.indexOf("handle=");
newUrl = oldUrl.substring(0,handleIndex);//alert("3."+handleIndex+","+newUrl);
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+"handle=edit&asid="+strLEID+"&id="+strBSNO;
}
//
alert("成功提交!");
}
</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;}
</style>
</head>
<body onload="getonload();" style="float:left; width:100%;background-color: #ECF2FF">
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<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:UpdatePanel ID="UpdatePanel3" runat="server">
<ContentTemplate>
<asp:ImageButton ID="ibEnter" runat="server" onclick="btnEnter_Click" ToolTip="保存" ImageUrl="~/images/icons/save.gif" CssClass="btnimg"/>
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="ibEnter" />
</Triggers>
</asp:UpdatePanel>
</div>
<div class="xbtn-img">
<div class="btnimg"><img id=imgPrint runat=server src="../images/icons/print.gif" style="width:16px;" title="报表打印" onclick="printAction()"/></div>
</div>
</div>
</p>
<div class="container" style="float:left; width:100%;height:610px;">
<table width="100%">
<tr>
<td width=60px>
<asp:Label ID="Label1" runat="server" Text="主提单号" Width=50px CssClass="cssfont"></asp:Label></td>
<td colspan=4>
<asp:TextBox ID="tbMBLNO" runat="server" CssClass="txtTab" MaxLength="30"></asp:TextBox>
</td>
<td></td>
<td width=60px>
<asp:Label ID="Label2" runat="server" Text="分提单号" Width=50px CssClass="cssfont"></asp:Label></td>
<td colspan=4>
<asp:TextBox ID="tbHBLNO" runat="server" CssClass="txtTab" MaxLength="30" Width=310px></asp:TextBox>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td valign=top colspan=5>
<table width=100%>
<tr>
<td>
<table>
<tr>
<td>
<asp:Label ID="Label19" runat="server" Text="Shipper (发货人)" CssClass="cssfont"></asp:Label>
</td>
<td><select id="ddlSHIPPERID" runat=server style="width:100px"></select></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbSHIPPER" runat="server" CssClass="txtTab"
TextMode="MultiLine" Height="70px" style="overflow-y:auto;height:70px;" MaxLength="600"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<table>
<tr>
<td>
<asp:Label ID="Label20" runat="server" Text="Consignee (收货人)" CssClass="cssfont"></asp:Label>
</td>
<td><select id="ddlCONSIGNEEID" runat=server style="width:100px"></select></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbCONSIGNEE" runat="server" CssClass="txtTab"
TextMode="MultiLine" Height="70px" style="overflow-y:auto;height:70px;" MaxLength="600"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<table>
<tr>
<td>
<asp:Label ID="Label21" runat="server" Text="Notify party (通知人)" CssClass="cssfont"></asp:Label>
</td>
<td><select id="ddlNOTIFYPARTYID" runat=server style="width:100px"></select></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbNOTIFYPARTY" runat="server" CssClass="txtTab"
TextMode="MultiLine" Height="70px" style="overflow-y:auto;height:70px;" MaxLength="600"></asp:TextBox>
</td>
</tr>
</table>
</td>
<td></td>
<td valign=top colspan=5>
<table width=100%>
<tr>
<td height=190 colspan=2></td>
</tr>
<tr>
<td>
<asp:Label ID="Label22" runat="server" Text="Agent代理信息" CssClass="cssfont"></asp:Label>
</td>
<td><select id="ddlAGENTID" runat=server style="width:100px"></select></td>
</tr>
<tr>
<td colspan=2>
<asp:TextBox ID="tbAGENT" runat="server" CssClass="txtTab" TextMode="MultiLine" Height=70px style="overflow-y:auto;height:70px;" MaxLength="600" Width=370px></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="船名" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td colspan=4>
<asp:TextBox ID="ddlVESSEL" runat="server" CssClass="txtTab" MaxLength=60 Width=300px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label4" runat="server" Text="航次" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td colspan=4>
<asp:TextBox ID="ddlVOYNO" runat="server" CssClass="txtTab" MaxLength=12 Width=306px></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label5" runat="server" Text="装货港" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="ddlPORTLOAD" runat="server" CssClass="txtTab6" MaxLength=60></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label6" runat="server" Text="卸货港" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="ddlPORTDISCHARGE" runat="server" CssClass="txtTab6" MaxLength=60></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label7" runat="server" Text="目的地" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="ddlDESTINATION" runat="server" CssClass="txtTab6" MaxLength=60></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label8" runat="server" Text="交货地点" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="ddlPLACEDELIVERY" runat="server" CssClass="txtTab6" MaxLength=60></asp:TextBox>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td valign=top colspan=3>
<table width=100%>
<tr>
<td>
<asp:Label ID="Label15" runat="server" Text="Container No.(集装箱号)<br />Seal No.(封志号)" CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbCNTRSEALNO" runat="server" TextMode="MultiLine"
CssClass="txtTab" Height=81px style="overflow-y:auto;height:81px;"
MaxLength="600"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label16" runat="server" Text="Marks & Nos.(标记与号码)" CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbMARKS" runat="server" CssClass="txtTab" TextMode="MultiLine" Height=85px style="overflow-y:auto;height:85px;" MaxLength="600">N/M</asp:TextBox>
</td>
</tr>
</table>
</td>
<td valign=top colspan=5>
<table width=100%>
<tr>
<td>
<asp:Label ID="Label17" runat="server" Text="Description of Goods (包装种类与货名)" CssClass="cssfont"></asp:Label></td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbDESCRIPTION" runat="server" CssClass="txtTab"
TextMode="MultiLine" Height=200px style="overflow-y:auto;height:200px;" MaxLength="2000"></asp:TextBox>
</td>
</tr>
</table>
</td>
<td valign=top colspan=3>
<table width=100%>
<tr>
<td colspan=3>
<asp:Label ID="Label18" runat="server" Text="No.of containers or pkgs.<br />(箱数或件数)" CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td colspan=3>
<asp:TextBox ID="tbNOPKGS" runat="server" CssClass="txtTab"
TextMode="MultiLine" style="overflow-y:auto;height:38px;"
MaxLength="120" onBlur="onBlurNOPKGS();" Height=38px Width=186px></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label13" runat="server" Text="Gross Weight 毛重<br />(公斤/KGS" CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbGROSSWEIGHT" runat="server" CssClass="txtTab"
TextMode="MultiLine" style="overflow-y:auto;height:40px;" Height=40px MaxLength="600"
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>
<tr>
<td><asp:Label ID="Label14" runat="server" Text="Measurement 尺码<br />(立方米/CBM" CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbMEASUREMENT" runat="server" CssClass="txtTab"
TextMode="MultiLine" style="overflow-y:auto;height:40px;" Height=40px MaxLength="600"
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>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label9" runat="server" Text="件数大写" Width=50px CssClass="cssfont"></asp:Label></td>
<td colspan=10>
<asp:TextBox ID="tbTOTALNO" runat="server" CssClass="txtTab" MaxLength=100 Width=697px></asp:TextBox>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td valign=top>
<asp:Label ID="Label10" runat="server" Text="签单日期" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td valign=top>
<asp:TextBox ID="tbISSUEDATE" runat="server" CssClass="txtTab6" onclick="WdatePicker();"></asp:TextBox>
</td>
<td></td>
<td valign=top>
<asp:Label ID="Label11" runat="server" Text="签单地点" Width=50px CssClass="cssfont"></asp:Label></td>
<td valign=top>
<asp:TextBox ID="tbISSUEPLACE" runat="server" CssClass="txtTab6"
MaxLength="60"></asp:TextBox>
</td>
<td></td>
<td valign=top>
<asp:Label ID="Label12" runat="server" Text="提单份数" Width=50px CssClass="cssfont"></asp:Label></td>
<td valign=top>
<asp:DropDownList ID="ddlNOBILL" runat="server" CssClass="txtTab6" Height=22px>
<asp:ListItem Value="ONE">ONE</asp:ListItem>
<asp:ListItem Value="TWO">TWO</asp:ListItem>
<asp:ListItem Selected="True" Value="THREE">THREE</asp:ListItem>
<asp:ListItem Value="FOUR">FOUR</asp:ListItem>
<asp:ListItem Value="FIVE">FIVE</asp:ListItem>
<asp:ListItem Value="SIX">SIX</asp:ListItem>
<asp:ListItem Value="SEVEN">SEVEN</asp:ListItem>
<asp:ListItem Value="EIGHT">EIGHT</asp:ListItem>
<asp:ListItem Value="NINE">NINE</asp:ListItem>
<asp:ListItem Value="TEN">TEN</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</div>
</div>
<div style="width:100%;height:200px">
<input type="hidden" id="hdEnabled" runat="server"/>
<input type="hidden" id="hdGid" runat="server"/>
<input type="hidden" id="hd_comboCUSTOMERCODE" runat="server"/>
<input type="hidden" id="hd_comboCUSTOMERNAME" runat="server"/>
<input type="hidden" id="hd_comboSHIPPERID" runat="server"/>
<input type="hidden" id="hd_comboCONSIGNEEID" runat="server"/>
<input type="hidden" id="hd_comboNOTIFYPARTYID" runat="server"/>
<input type="hidden" id="hd_comboAGENTID" runat="server"/>
</div>
</form>
</body>
</html>