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.

2889 lines
134 KiB
Plaintext

12 months ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SeaeOrderInfo.aspx.cs" Inherits="DSWeb.Shipping.SeaeOrderInfo" %>
<%@ Register assembly="DSWebComponent" namespace="DSWebComponent" tagprefix="cc1" %>
<!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" />
<script language="javascript" type="text/javascript" src="../js/date/jsDateFormat.js"></script>
<script language="javascript" type="text/javascript" src="../js/m97date/wdatepicker.js"></script>
<script language="javascript" type="text/javascript" src="../js/date/jsDateFM.js"></script>
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<script type="text/javascript" src="../js/browser.js" ></script>
<script type="text/javascript">
function nTabs(thisObj,Num){
if(thisObj.className == "active")return;
var tabObj = thisObj.parentNode.id;
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
if (i == Num)
{
thisObj.className = "active";
document.getElementById(tabObj+"_Content"+i).style.display = "block";
}else{
tabList[i].className = "normal";
document.getElementById(tabObj+"_Content"+i).style.display = "none";
}
}
}
//document.oncontextmenu=new Function("event.returnValue=false;"); //禁止右键功能,单击右键将无任何反应
//document.onselectstart=new Function("event.returnValue=false;"); //禁止先择,也就是无法复制
</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>
<script src="../js/jsGridCrmSeaeorderctn.js" type="text/javascript"></script>
<script src="../js/json2.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" src="../js/dhtmlxcommon.js"></script>
<script type="text/javascript">
window.dhx_globalImgPath="../images/";
</script>
<script type="text/javascript">
function $(id)
{
return document.getElementById(id);
}
function selSTLDATE()
{
var il = 0;
var strSTLDATEPJ ="";//票结
var strSTLDATE ="";//月结
var strSTLFIRSTHALFDATE ="";//上半月
var strSTLMIDDLEDATE ="";//下半月
var loader = dhtmlxAjax.getSync("../FeeCodes/STLDATEAdapter.aspx?CUSTOMERNAME="+escape($("hd_comboCUSTOMERNAME").value)+"&val="+newGuid());
var dates = loader.xmlDoc.responseText;
if(dates!="" && dates!="&&&&&&&&")
{
var arrtmp=dates.split("&&");//将各参数分离形成参数数组
if(arrtmp.length>0)
{
$("ddlSTLNAME").value=arrtmp[3];
$("hdSTLNAME").value=arrtmp[3];
strSTLDATE=arrtmp[0];
strSTLFIRSTHALFDATE=arrtmp[1];
strSTLMIDDLEDATE=arrtmp[2];
strSTLDATEPJ=arrtmp[4];
}
else
{
$("ddlSTLNAME").value="";
$("hdSTLNAME").value="";
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
return;
}
}
else
{
$("ddlSTLNAME").value="";
$("hdSTLNAME").value="";
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
return;
}
//
if($("tbETD").value.trim()=="")
{
return;
}
//
//var DropDownList1 = document.getElementById("ddlSTLNAME"); //获取DropDownList控件的引用
//var DropDownList1_Index = DropDownList1.selectedIndex; //获取选择项的索引
//var DropDownList1_Value = DropDownList1.options[DropDownList1_Index].value;//获取选择项的值
//var DropDownList1_Text = DropDownList1.options[DropDownList1_Index].text;//获取选择项的文本
var DropDownList1_Text = $("ddlSTLNAME").value.trim();//获取选择项的文本
if(DropDownList1_Text=="票结")
{
if(strSTLDATEPJ!="")
{
var myDate = new Date(Date.parse($("tbETD").value.replace("-","/")));
if(strSTLDATEPJ!="")
{
myDate.setDate(myDate.getDate()+parseInt(strSTLDATEPJ));
}
//var strTLS = myDate.toLocaleString();//2011年9月6日 0:00:00
var strTLDS = myDate.toLocaleDateString();//2011年9月6日
strTLDS = strTLDS.replace("年","-");
strTLDS = strTLDS.replace("月","-");
strTLDS = strTLDS.replace("日","");
$("tbSTLDATE").value=strTLDS;
$("hd_STLDATE").value=strTLDS;
//$("tbSTLDATE").value=myDate.format("yyyy-MM-dd");
}
else
{
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
}
}
else if(DropDownList1_Text=="月结")
{
if(strSTLDATE!="")
{
var sdate = $("tbETD").value;
var irqI = sdate.indexOf("-");
var irqL = sdate.lastIndexOf("-");
var syear = sdate.substr(0,irqI);
var smonth = sdate.substr(irqI+1,irqL-irqI-1);
var sday = sdate.substr(irqL+1);
smonth=parseInt(smonth, 10)+1;
il = smonth.toString().trim().length;
if(il<2)
{
smonth="0"+smonth;
}
il = strSTLDATE.toString().trim().length;
if(il<2)
{
strSTLDATE="0"+strSTLDATE;
}
sdate=syear+"-"+smonth+"-"+strSTLDATE;
//判断日期是否正确
var bl = verifyDate(sdate);
if(!bl)
{
sday=getDaysInMonth(syear,smonth);
il = sday.toString().trim().length;
if(il<2)
{
sday="0"+sday;
}
sdate=syear+"-"+smonth+"-"+sday;
}
//
$("tbSTLDATE").value=sdate;
$("hd_STLDATE").value=sdate;
}
else
{
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
}
}
else if(DropDownList1_Text=="半月结")
{
var sdate = $("tbETD").value;
var irqI = sdate.indexOf("-");
var irqL = sdate.lastIndexOf("-");
var syear = sdate.substr(0,irqI);
var smonth = sdate.substr(irqI+1,irqL-irqI-1);
var sday = sdate.substr(irqL+1);
//
if(sday>15)//下半月
{
if(strSTLFIRSTHALFDATE!="")
{
smonth=parseInt(smonth, 10)+1;
var il = smonth.toString().trim().length;
if(il<2)
{
smonth="0"+smonth;
}
il = strSTLFIRSTHALFDATE.toString().trim().length;
if(il<2)
{
strSTLFIRSTHALFDATE="0"+strSTLFIRSTHALFDATE;
}
sdate=syear+"-"+smonth+"-"+strSTLFIRSTHALFDATE;
$("tbSTLDATE").value=sdate;
$("hd_STLDATE").value=sdate;
}
else
{
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
}
}
else//上半月
{
if(strSTLMIDDLEDATE!="")
{
il = strSTLMIDDLEDATE.toString().trim().length;
if(il<2)
{
strSTLMIDDLEDATE="0"+strSTLMIDDLEDATE;
}
sdate=syear+"-"+smonth+"-"+strSTLMIDDLEDATE;
//判断日期是否正确
var bl = verifyDate(sdate);
if(!bl)
{
sday=getDaysInMonth(syear,smonth);
il = sday.toString().trim().length;
if(il<2)
{
sday="0"+sday;
}
sdate=syear+"-"+smonth+"-"+sday;
}
//
$("tbSTLDATE").value=sdate;
$("hd_STLDATE").value=sdate;
}
else
{
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
}
}
}
}
</script>
<script type="text/javascript">
function selSTLDATEETD(obj)
{
try
{
if(obj.id=="tbETD")
{
var il = 0;
var strSTLDATEPJ ="";//票结
var strSTLDATE ="";//月结
var strSTLFIRSTHALFDATE ="";//上半月
var strSTLMIDDLEDATE ="";//下半月
var loader = dhtmlxAjax.getSync("../FeeCodes/STLDATEAdapter.aspx?CUSTOMERNAME="+escape($("hd_comboCUSTOMERNAME").value)+"&val="+newGuid());
var dates = loader.xmlDoc.responseText;
if(dates!="" && dates!="&&&&&&&&")
{
var arrtmp=dates.split("&&");//将各参数分离形成参数数组
if(arrtmp.length>0)
{
$("ddlSTLNAME").value=arrtmp[3];
$("hdSTLNAME").value=arrtmp[3];
strSTLDATE=arrtmp[0];
strSTLFIRSTHALFDATE=arrtmp[1];
strSTLMIDDLEDATE=arrtmp[2];
strSTLDATEPJ=arrtmp[4];
}
else
{
$("ddlSTLNAME").value="";
$("hdSTLNAME").value="";
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
return;
}
}
else
{
$("ddlSTLNAME").value="";
$("hdSTLNAME").value="";
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
return;
}
//
if($("tbETD").value.trim()=="")
{
return;
}
//
//var DropDownList1 = document.getElementById("ddlSTLNAME"); //获取DropDownList控件的引用
//var DropDownList1_Index = DropDownList1.selectedIndex; //获取选择项的索引
//var DropDownList1_Value = DropDownList1.options[DropDownList1_Index].value;//获取选择项的值
//var DropDownList1_Text = DropDownList1.options[DropDownList1_Index].text;//获取选择项的文本
var DropDownList1_Text = $("ddlSTLNAME").value.trim();//获取选择项的文本
if(DropDownList1_Text=="票结")
{
if(strSTLDATEPJ!="")
{
var myDate = new Date(Date.parse($("tbETD").value.replace("-","/")));
if(strSTLDATEPJ!="")
{
myDate.setDate(myDate.getDate()+parseInt(strSTLDATEPJ));
}
//var strTLS = myDate.toLocaleString();//2011年9月6日 0:00:00
var strTLDS = myDate.toLocaleDateString();//2011年9月6日
strTLDS = strTLDS.replace("年","-");
strTLDS = strTLDS.replace("月","-");
strTLDS = strTLDS.replace("日","");
$("tbSTLDATE").value=strTLDS;
$("hd_STLDATE").value=strTLDS;
//$("tbSTLDATE").value=myDate.format("yyyy-MM-dd");
}
else
{
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
}
}
else if(DropDownList1_Text=="月结")
{
if(strSTLDATE!="")
{
var sdate = $("tbETD").value;
var irqI = sdate.indexOf("-");
var irqL = sdate.lastIndexOf("-");
var syear = sdate.substr(0,irqI);
var smonth = sdate.substr(irqI+1,irqL-irqI-1);
var sday = sdate.substr(irqL+1);
smonth=parseInt(smonth, 10)+1;
il = smonth.toString().trim().length;
if(il<2)
{
smonth="0"+smonth;
}
il = strSTLDATE.toString().trim().length;
if(il<2)
{
strSTLDATE="0"+strSTLDATE;
}
sdate=syear+"-"+smonth+"-"+strSTLDATE;
//判断日期是否正确
var bl = verifyDate(sdate);
if(!bl)
{
sday=getDaysInMonth(syear,smonth);
il = sday.toString().trim().length;
if(il<2)
{
sday="0"+sday;
}
sdate=syear+"-"+smonth+"-"+sday;
}
//
$("tbSTLDATE").value=sdate;
$("hd_STLDATE").value=sdate;
}
else
{
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
}
}
else if(DropDownList1_Text=="半月结")
{
var sdate = $("tbETD").value;
var irqI = sdate.indexOf("-");
var irqL = sdate.lastIndexOf("-");
var syear = sdate.substr(0,irqI);
var smonth = sdate.substr(irqI+1,irqL-irqI-1);
var sday = sdate.substr(irqL+1);
//
if(sday>15)//下半月
{
if(strSTLFIRSTHALFDATE!="")
{
smonth=parseInt(smonth, 10)+1;
var il = smonth.toString().trim().length;
if(il<2)
{
smonth="0"+smonth;
}
il = strSTLFIRSTHALFDATE.toString().trim().length;
if(il<2)
{
strSTLFIRSTHALFDATE="0"+strSTLFIRSTHALFDATE;
}
sdate=syear+"-"+smonth+"-"+strSTLFIRSTHALFDATE;
$("tbSTLDATE").value=sdate;
$("hd_STLDATE").value=sdate;
}
else
{
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
}
}
else//上半月
{
if(strSTLMIDDLEDATE!="")
{
sdate=syear+"-"+smonth+"-"+strSTLMIDDLEDATE;
//判断日期是否正确
var bl = verifyDate(sdate);
if(!bl)
{
sday=getDaysInMonth(syear,smonth);
il = sday.toString().trim().length;
if(il<2)
{
sday="0"+sday;
}
sdate=syear+"-"+smonth+"-"+sday;
}
//
$("tbSTLDATE").value=sdate;
$("hd_STLDATE").value=sdate;
}
else
{
$("tbSTLDATE").value="";
$("hd_STLDATE").value="";
}
}
}
}
}
catch(e){}
}
</script>
<script type="text/javascript">
var comboOP;//操作人员
var comboDOC;//单证
var comboSALE;//揽货人
var comboCUSTOMERNAME;//委托单位
var comboSHIPPERID;//发货人
var comboCONSIGNEEID;//收货人
var comboNOTIFYPARTYID;//通知人
var comboKINDPKGS;//包装类型
var comboCARRIER;//船公司
var comboFORWARDER;//订舱代理
var comboPORTLOAD;//启运港
var comboPORTDISCHARGE;//卸货港交货地
var comboMIDNUM;//运输中转数
var ComboBLTYPE;//装运方式
var comboBLFRT;//付费方式
function initComboOP()//操作人员
{
//生成
var strUserID=document.getElementById("" + '<%= hdUserID.ClientID %>' + "").value;
comboOP = dhtmlXComboFromSelect("ddlOP");
comboOP.loadXML("../FeeCodes/OPAdapter.aspx?mask=0&pos=0&rName=isOperator&userID="+strUserID);
}
function initComboOP2()//操作人员
{
if($("hdAudit").value=="1")
{
comboOP.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboOP.disable(true);
}
else
{
comboOP.disable(false);
}
//
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 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($("hdAudit").value=="1")
{
comboDOC.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboDOC.disable(true);
}
else
{
comboDOC.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboDOC.disable(true);
}
//
}
//
comboDOC.attachEvent("onChange", function()
{
comboDOC.setComboText($("hd_comboDOC").value);
});
comboDOC.attachEvent("onBlur", function(){
var s1 = comboDOC.getComboText().trim();
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.trim();
if("" != comboDOC.getComboText().trim())
{
while("undefined" != typeof comboDOC.getOptionByIndex(filterCount))
{
var comboValue = comboDOC.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboDOC.getComboText().trim().toUpperCase();
$("hd_comboDOC").value = comboDOC.getComboText().trim().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().trim();
});
}
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($("hdAudit").value=="1")
{
comboSALE.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboSALE.disable(true);
}
else
{
comboSALE.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboSALE.disable(true);
}
//
}
comboSALE.attachEvent("onChange", function()
{
comboSALE.setComboText($("hd_comboSALE").value);
});
comboSALE.attachEvent("onBlur", function(){
var s1 = comboSALE.getComboText().trim();
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.trim();
if("" != comboSALE.getComboText().trim())
{
while("undefined" != typeof comboSALE.getOptionByIndex(filterCount))
{
var comboValue = comboSALE.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboSALE.getComboText().trim().toUpperCase();
$("hd_comboSALE").value = comboSALE.getComboText().trim().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().trim();
});
}
function initComboCUSTOMERNAME()//委托单位
{
comboCUSTOMERNAME = dhtmlXComboFromSelect("ddlCUSTOMERNAME");
comboCUSTOMERNAME.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISCONTROLLER");
}
function initComboCUSTOMERNAME2()//委托单位
{
if($("hdAudit").value=="1")
{
comboCUSTOMERNAME.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboCUSTOMERNAME.disable(true);
}
else
{
comboCUSTOMERNAME.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboCUSTOMERNAME.disable(true);
}
//
}
comboCUSTOMERNAME.setOptionWidth(200);
comboCUSTOMERNAME.attachEvent("onChange", function()
{
comboCUSTOMERNAME.setComboText($("hd_comboCUSTOMERNAME").value);
});
comboCUSTOMERNAME.attachEvent("onBlur", function(){
var s1 = comboCUSTOMERNAME.getComboText().trim();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboCUSTOMERNAME").value="";
comboCUSTOMERNAME.setComboText($("hd_comboCUSTOMERNAME").value);
//
$("hd_comboCUSTOMERCODE").value = "";
//
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboCUSTOMERNAME.setComboText(s3);
$("hd_comboCUSTOMERNAME").value=s3;
}
else
{
comboCUSTOMERNAME.setComboText($("hd_comboCUSTOMERNAME").value);
}
//
$("hd_comboCUSTOMERCODE").value = comboCUSTOMERNAME.getSelectedValue();
//
}
selSTLDATE();
initComboSHIPPERID3();
initComboCONSIGNEEID3();
initComboNOTIFYPARTYID3();
});
comboCUSTOMERNAME.setComboText($("hd_comboCUSTOMERNAME").value);
comboCUSTOMERNAME.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboCUSTOMERNAME").value.trim();
if("" != comboCUSTOMERNAME.getComboText().trim())
{
while("undefined" != typeof comboCUSTOMERNAME.getOptionByIndex(filterCount))
{
var comboValue = comboCUSTOMERNAME.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboCUSTOMERNAME.getComboText().trim().toUpperCase();
$("hd_comboCUSTOMERNAME").value = comboCUSTOMERNAME.getComboText().trim().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboCUSTOMERNAME.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboCUSTOMERNAME").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);
}
});
comboCUSTOMERNAME.attachEvent("onSelectionChange", function()
{
$("hd_comboCUSTOMERNAME").value = comboCUSTOMERNAME.getComboText().trim();
});
}
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()//发货人
{
if($("hdAudit").value=="1")
{
comboSHIPPERID.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboSHIPPERID.disable(true);
}
else
{
comboSHIPPERID.disable(false);
}
//
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 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($("hdAudit").value=="1")
{
comboCONSIGNEEID.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboCONSIGNEEID.disable(true);
}
else
{
comboCONSIGNEEID.disable(false);
}
//
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($("hdAudit").value=="1")
{
comboNOTIFYPARTYID.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboNOTIFYPARTYID.disable(true);
}
else
{
comboNOTIFYPARTYID.disable(false);
}
//
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 initComboCARRIER()//船公司
{
comboCARRIER = dhtmlXComboFromSelect("ddlCARRIER");
comboCARRIER.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISCARRIER");
}
function initComboCARRIER2()//船公司
{
if($("hdAudit").value=="1")
{
comboCARRIER.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboCARRIER.disable(true);
}
else
{
comboCARRIER.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboCARRIER.disable(true);
}
}
comboCARRIER.setOptionWidth(200);
comboCARRIER.attachEvent("onChange", function(){comboCARRIER.setComboText($("hd_comboCARRIER").value);});
comboCARRIER.attachEvent("onBlur", function(){
var s1 = comboCARRIER.getComboText().trim();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboCARRIER").value="";
comboCARRIER.setComboText($("hd_comboCARRIER").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboCARRIER.setComboText(s3);
$("hd_comboCARRIER").value=s3;
}
else
{
comboCARRIER.setComboText($("hd_comboCARRIER").value);
}
}
});
comboCARRIER.setComboText($("hd_comboCARRIER").value);
comboCARRIER.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function(){
var is = -1;
var ishd = $("hd_comboCARRIER").value.trim();
var filterCount = 0;
if("" != comboCARRIER.getComboText().trim()){
while("undefined" != typeof comboCARRIER.getOptionByIndex(filterCount)){
var comboValue = comboCARRIER.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboCARRIER.getComboText().trim().toUpperCase();
$("hd_comboCARRIER").value = comboCARRIER.getComboText().trim().toUpperCase();
if(comboValue.indexOf(enterValue) == 0){
comboCARRIER.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboCARRIER").value = ishd;
alert("无此内容,请重新选择!");
}
}},10);}});
comboCARRIER.attachEvent("onSelectionChange", function()
{
$("hd_comboCARRIER").value = comboCARRIER.getComboText().trim();
});
}
function initComboFORWARDER()//订舱代理
{
comboFORWARDER = dhtmlXComboFromSelect("ddlFORWARDER");
comboFORWARDER.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISBOOKING");
}
function initComboFORWARDER2()//订舱代理
{
if($("hdAudit").value=="1")
{
comboFORWARDER.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboFORWARDER.disable(true);
}
else
{
comboFORWARDER.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboFORWARDER.disable(true);
}
}
comboFORWARDER.setOptionWidth(200);
comboFORWARDER.attachEvent("onChange", function(){comboFORWARDER.setComboText($("hd_comboFORWARDER").value);});
comboFORWARDER.attachEvent("onBlur", function(){
var s1 = comboFORWARDER.getComboText().trim();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboFORWARDER").value="";
comboFORWARDER.setComboText($("hd_comboFORWARDER").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboFORWARDER.setComboText(s3);
$("hd_comboFORWARDER").value=s3;
}
else
{
comboFORWARDER.setComboText($("hd_comboFORWARDER").value);
}
}
});
comboFORWARDER.setComboText($("hd_comboFORWARDER").value);
comboFORWARDER.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function(){
var is = -1;
var ishd = $("hd_comboFORWARDER").value.trim();
var filterCount = 0;
if("" != comboFORWARDER.getComboText().trim()){
while("undefined" != typeof comboFORWARDER.getOptionByIndex(filterCount)){
var comboValue = comboFORWARDER.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboFORWARDER.getComboText().trim().toUpperCase();
$("hd_comboFORWARDER").value = comboFORWARDER.getComboText().trim().toUpperCase();
if(comboValue.indexOf(enterValue) == 0){
comboFORWARDER.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboFORWARDER").value = ishd;
alert("无此内容,请重新选择!");
}
}},10);}});
comboFORWARDER.attachEvent("onSelectionChange", function()
{
$("hd_comboFORWARDER").value = comboFORWARDER.getComboText().trim();
});
}
function initComboSERVICE()//运输条款
{
comboSERVICE = dhtmlXComboFromSelect("ddlSERVICE");
comboSERVICE.loadXML("../FeeCodes/TCodeServiceAdapter.aspx?mask=0&pos=0");
}
function initComboISSTORAGE()//运输条款
{
if($("hdAudit").value=="1")
{
comboSERVICE.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboSERVICE.disable(true);
}
else
{
comboSERVICE.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboSERVICE.disable(true);
}
}
comboSERVICE.attachEvent("onChange", function()
{
comboSERVICE.setComboText($("hd_comboSERVICE").value);
});
comboSERVICE.attachEvent("onBlur", function(){
var s1 = comboSERVICE.getComboText().trim();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboSERVICE").value="";
comboSERVICE.setComboText($("hd_comboSERVICE").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboSERVICE.setComboText(s3);
$("hd_comboSERVICE").value=s3;
}
else
{
comboSERVICE.setComboText($("hd_comboSERVICE").value);
}
}
});
comboSERVICE.setComboText($("hd_comboSERVICE").value);
comboSERVICE.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboSERVICE").value.trim();
if("" != comboSERVICE.getComboText().trim())
{
while("undefined" != typeof comboSERVICE.getOptionByIndex(filterCount))
{
var comboValue = comboSERVICE.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboSERVICE.getComboText().trim().toUpperCase();
$("hd_comboSERVICE").value = comboSERVICE.getComboText().trim().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboSERVICE.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboSERVICE").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);}});
comboSERVICE.attachEvent("onSelectionChange", function()
{
$("hd_comboSERVICE").value = comboSERVICE.getComboText().trim();
});
}
function initComboPORTLOAD()//启运港==装货港
{
comboPORTLOAD = dhtmlXComboFromSelect("ddlPORTLOAD");
comboPORTLOAD.loadXML("../FeeCodes/TCodeLoadportAdapter.aspx?mask=0&pos=0");
}
function initComboPORTLOAD2()//启运港==装货港
{
if($("hdAudit").value=="1")
{
comboPORTLOAD.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboPORTLOAD.disable(true);
}
else
{
comboPORTLOAD.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboPORTLOAD.disable(true);
}
}
//
comboPORTLOAD.setOptionWidth(200);
comboPORTLOAD.attachEvent("onChange", function()
{
comboPORTLOAD.setComboText($("hd_comboPORTLOAD").value);
});
comboPORTLOAD.attachEvent("onBlur", function()
{
comboPORTLOAD.setComboText($("hd_comboPORTLOAD").value);
//
var loader = dhtmlxAjax.getSync("../FeeCodes/TCodeLoadportAdapter.aspx?edicode="+comboPORTLOAD.getComboText().trim()+"&val="+newGuid());
s1=loader.xmlDoc.responseText;
if(s1.trim()!="")
{
$("hd_comboPORTLOADID").value = loader.xmlDoc.responseText;
}
});
comboPORTLOAD.setComboText($("hd_comboPORTLOAD").value);
comboPORTLOAD.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboPORTLOAD").value.trim();
if("" != comboPORTLOAD.getComboText().trim())
{
while("undefined" != typeof comboPORTLOAD.getOptionByIndex(filterCount))
{
var comboValue = comboPORTLOAD.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboPORTLOAD.getComboText().trim().toUpperCase();
$("hd_comboPORTLOAD").value = comboPORTLOAD.getComboText().trim().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboPORTLOAD.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboPORTLOAD").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);
}
});
comboPORTLOAD.attachEvent("onSelectionChange", function()
{
$("hd_comboPORTLOAD").value = comboPORTLOAD.getComboText().trim();
});
}
function initComboPORTDISCHARGE()//卸货港
{
comboPORTDISCHARGE = dhtmlXComboFromSelect("ddlPORTDISCHARGE");
}
function initComboPORTDISCHARGE2()//卸货港
{
if($("hdAudit").value=="1")
{
comboPORTDISCHARGE.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboPORTDISCHARGE.disable(true);
}
else
{
comboPORTDISCHARGE.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboPORTDISCHARGE.disable(true);
}
}
//
comboPORTDISCHARGE.setOptionWidth(150);
comboPORTDISCHARGE.attachEvent("onOpen", function()
{
if(comboPORTDISCHARGE.getOptionByIndex(0) == null)
{
comboPORTDISCHARGE.loadXML("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&strSel=");
}
});
comboPORTDISCHARGE.attachEvent("onBlur", function()
{
var loader = dhtmlxAjax.getSync("../FeeCodes/TCodeDisportAdapter.aspx?edicode="+comboPORTDISCHARGE.getComboText().trim()+"&val="+newGuid());
s1=loader.xmlDoc.responseText;
if(s1.trim()!="")
{
$("hd_comboPORTDISCHARGEID").value = loader.xmlDoc.responseText;
}
});
comboPORTDISCHARGE.attachEvent("onChange", function()
{
$("hd_comboPORTDISCHARGE").value = comboPORTDISCHARGE.getComboText().trim().toUpperCase();//comboPORTDISCHARGE.getSelectedText();
comboPORTDISCHARGE.setComboText($("hd_comboPORTDISCHARGE").value);
//
var loader = dhtmlxAjax.getSync("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&port="+$("hd_comboPORTDISCHARGE").value+"&val="+newGuid());
$("hdLANE").value =loader.xmlDoc.responseText;
});
comboPORTDISCHARGE.setComboText($("hd_comboPORTDISCHARGE").value);
//检索
//comboPORTDISCHARGE.enableFilteringMode(true);
comboPORTDISCHARGE.attachEvent("onKeyPressed", function(keyCode)
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
if("" != comboPORTDISCHARGE.getComboText().trim())
{
var enterValue = comboPORTDISCHARGE.getComboText().toUpperCase();
comboPORTDISCHARGE.loadXML("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&strSel="+enterValue);
}
},10);
});
comboPORTDISCHARGE.attachEvent("onSelectionChange", function()
{
$("hd_comboPORTDISCHARGE").value = comboPORTDISCHARGE.getComboText().trim();
//
// var loader = dhtmlxAjax.getSync("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&port="+$("hd_comboPORTDISCHARGE").value+"&val="+newGuid());
// $("hdLANE").value =loader.xmlDoc.responseText;
});
}
function initcomboMIDNUM()//运输中转数
{
comboMIDNUM = dhtmlXComboFromSelect("ddlMIDNUM");
comboMIDNUM.loadXML("../FeeCodes/MIDNUMAdapter.aspx?mask=0&pos=0");
}
function initcomboMIDNUM2()//运输中转数
{
if($("hdAudit").value=="1")
{
comboMIDNUM.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboMIDNUM.disable(true);
}
else
{
comboMIDNUM.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboMIDNUM.disable(true);
}
}
comboMIDNUM.attachEvent("onChange", function()
{
comboMIDNUM.setComboText($("hd_comboMIDNUM").value);
});
comboMIDNUM.attachEvent("onBlur", function(){
var s1 = comboMIDNUM.getComboText().trim();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboMIDNUM").value="";
comboMIDNUM.setComboText($("hd_comboMIDNUM").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboMIDNUM.setComboText(s3);
$("hd_comboMIDNUM").value=s3;
}
else
{
comboMIDNUM.setComboText($("hd_comboMIDNUM").value);
}
}
});
comboMIDNUM.setComboText($("hd_comboMIDNUM").value);
comboMIDNUM.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboMIDNUM").value.trim();
if("" != comboMIDNUM.getComboText().trim())
{
while("undefined" != typeof comboMIDNUM.getOptionByIndex(filterCount))
{
var comboValue = comboMIDNUM.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboMIDNUM.getComboText().trim().toUpperCase();
$("hd_comboMIDNUM").value = comboMIDNUM.getComboText().trim().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboMIDNUM.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboMIDNUM").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);}});
comboMIDNUM.attachEvent("onSelectionChange", function()
{
$("hd_comboMIDNUM").value = comboMIDNUM.getComboText().trim();
});
}
function initComboKINDPKGS()//包装类型
{
comboKINDPKGS = dhtmlXComboFromSelect("ddlKINDPKGS");
comboKINDPKGS.loadXML("../FeeCodes/TCodePackageAdapter.aspx?mask=0&pos=0");
comboKINDPKGS.setOptionWidth(200);
comboKINDPKGS.attachEvent("onChange", function()
{
comboKINDPKGS.setComboText($("hd_comboKINDPKGS").value.toUpperCase());
});
comboKINDPKGS.attachEvent("onBlur", function()
{
comboKINDPKGS.setComboText($("hd_comboKINDPKGS").value.toUpperCase());
});
comboKINDPKGS.setComboText($("hd_comboKINDPKGS").value);
comboKINDPKGS.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboKINDPKGS").value.trim();
if("" != comboKINDPKGS.getComboText().trim())
{
while("undefined" != typeof comboKINDPKGS.getOptionByIndex(filterCount))
{
var comboValue = comboKINDPKGS.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboKINDPKGS.getComboText().trim().toUpperCase();
$("hd_comboKINDPKGS").value = comboKINDPKGS.getComboText().trim().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboKINDPKGS.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
}
},10);
}
});
comboKINDPKGS.attachEvent("onSelectionChange", function()
{
$("hd_comboKINDPKGS").value = comboKINDPKGS.getComboText().trim().toUpperCase();
var ii = $("tbTOTALNO").value.trim();
var iii = ii.lastIndexOf(' ');
var iiii = ii.substring(0,iii);
iii = iiii.lastIndexOf(' ');
iiii = ii.substring(0,iii+1);
$("tbTOTALNO").value=iiii+$("hd_comboKINDPKGS").value+" ONLY.";
});
if($("hdAudit").value=="1")
{
comboKINDPKGS.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboKINDPKGS.disable(true);
}
else
{
comboKINDPKGS.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboKINDPKGS.disable(true);
}
}
}
function initComboBLTYPE()//装运方式
{
comboBLTYPE = dhtmlXComboFromSelect("ddlBLTYPE");
comboBLTYPE.loadXML("../FeeCodes/BLTYPEAdapter.aspx?mask=0&pos=0");
}
function initComboBLTYPE2()//装运方式
{
comboBLTYPE.disable(false);
if($("hdAudit").value=="1")
{
comboBLTYPE.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboBLTYPE.disable(true);
}
else
{
comboBLTYPE.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboBLTYPE.disable(true);
}
//
}
//
if($("hd_comboBLTYPE").value=="整箱" || $("hd_comboBLTYPE").value=="拼箱主票")
{
document.getElementById('divadd').style.display = "";
//document.getElementById('divsave').style.display = "";
document.getElementById('divrefresh').style.display = "";
document.getElementById('divdel').style.display = "";
document.getElementById('divrollback').style.display = "";
}
else
{
document.getElementById('divadd').style.display = "none";
//document.getElementById('divsave').style.display = "none";
document.getElementById('divrefresh').style.display = "none";
document.getElementById('divdel').style.display = "none";
document.getElementById('divrollback').style.display = "none";
}
//
comboBLTYPE.readonly(true);
var dkj = $("hd_comboBLTYPE").value;
comboBLTYPE.setComboText($("hd_comboBLTYPE").value);
comboBLTYPE.attachEvent("onSelectionChange", function()
{
var spd = comboBLTYPE.getComboText().trim();
if (spd == "拼箱单票" || spd == "拼箱分票")
{
var loader = dhtmlxAjax.getSync("../FeeCodes/BLTYPEAdapter.aspx?ORDNO="+$("hdGid").value+"&val="+newGuid());
var sCount =loader.xmlDoc.responseText;
if(sCount!="0" && sCount!="")
{
comboBLTYPE.setComboText($("hd_comboBLTYPE").value);
alert("拼箱单票、拼箱分票是不允许添加集装箱信息的,因此请先删除集装箱信息!");
return;
}
}
//
$("hd_comboBLTYPE").value = comboBLTYPE.getComboText().trim();
if($("hd_comboBLTYPE").value=="整箱" || $("hd_comboBLTYPE").value=="拼箱主票")
{
document.getElementById('divadd').style.display = "";
//document.getElementById('divsave').style.display = "";
document.getElementById('divrefresh').style.display = "";
document.getElementById('divdel').style.display = "";
document.getElementById('divrollback').style.display = "";
}
else
{
document.getElementById('divadd').style.display = "none";
//document.getElementById('divsave').style.display = "none";
document.getElementById('divrefresh').style.display = "none";
document.getElementById('divdel').style.display = "none";
document.getElementById('divrollback').style.display = "none";
}
});
}
function initComboBLFRT()//付费方式
{
comboBLFRT = dhtmlXComboFromSelect("ddlBLFRT");
comboBLFRT.enableOptionAutoPositioning(true);
comboBLFRT.loadXML("../FeeCodes/TCodeFrtAdapter.aspx?mask=0&pos=0");
}
function initComboBLFRT2()//付费方式
{
//
if($("hdAudit").value=="1")
{
comboBLFRT.disable(true);
}
else
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
comboBLFRT.disable(true);
}
else
{
comboBLFRT.disable(false);
}
//
if($("hdEnabled").value == "false")
{
comboBLFRT.disable(true);
}
}
//
comboBLFRT.setOptionWidth(150);
comboBLFRT.attachEvent("onChange", function()
{
comboBLFRT.setComboText($("hd_comboBLFRT").value);
//
// var sBLFRT = comboBLFRT.getComboText().trim();
// if(sBLFRT=="FREIGHT PREPAID")//PP
// {
// $("tbBLFRT").value=$("hd_comboPORTLOAD").value; //POL
// }
// else if(sBLFRT=="FREIGHT COLLECT")//CC
// {
// $("tbBLFRT").value=$("hd_comboPORTDISCHARGE").value; //POD
// }
});
comboBLFRT.attachEvent("onBlur", function(){
var s1 = comboBLFRT.getComboText().trim();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboBLFRT").value="";
comboBLFRT.setComboText($("hd_comboBLFRT").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboBLFRT.setComboText(s3);
$("hd_comboBLFRT").value=s3;
}
else
{
comboBLFRT.setComboText($("hd_comboBLFRT").value);
}
}
//
// var sBLFRT = comboBLFRT.getComboText().trim();
// if(sBLFRT=="FREIGHT PREPAID")//PP
// {
// $("tbBLFRT").value=$("hd_comboPORTLOAD").value; //POL
// }
// else if(sBLFRT=="FREIGHT COLLECT")//CC
// {
// $("tbBLFRT").value=$("hd_comboPORTDISCHARGE").value; //POD
// }
// else
// {
// $("tbBLFRT").value="";
// }
});
comboBLFRT.setComboText($("hd_comboBLFRT").value);
comboBLFRT.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboBLFRT").value.trim();
if("" != comboBLFRT.getComboText().trim())
{
while("undefined" != typeof comboBLFRT.getOptionByIndex(filterCount))
{
var comboValue = comboBLFRT.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboBLFRT.getComboText().trim().toUpperCase();
$("hd_comboBLFRT").value = comboBLFRT.getComboText().trim().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboBLFRT.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboBLFRT").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);}});
comboBLFRT.attachEvent("onSelectionChange", function()
{
$("hd_comboBLFRT").value = comboBLFRT.getComboText().trim();
//
// var sBLFRT = comboBLFRT.getComboText().trim();
// if(sBLFRT=="FREIGHT PREPAID")//PP
// {
// $("tbBLFRT").value=$("hd_comboPORTLOAD").value; //POL
// }
// else if(sBLFRT=="FREIGHT COLLECT")//CC
// {
// $("tbBLFRT").value=$("hd_comboPORTDISCHARGE").value; //POD
// }
});
}
function bodyOnload()
{
//divdisplay();
initComboOP2();
initComboDOC2();
initComboSALE2();
initComboCUSTOMERNAME2();
initComboSHIPPERID2();
initComboCONSIGNEEID2();
initComboNOTIFYPARTYID2();
initComboCARRIER2();
initComboFORWARDER2();
initComboPORTLOAD2();
initComboPORTDISCHARGE2();
initComboBLFRT2();
initComboBLTYPE2();
initGrid();
//selSTLDATE();
}
</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 IsNumeric(s)
{
var inum = s.replace(/[^\d]/g,'');
var bReturn = true;
if(inum=="" || inum==null || inum==NaN)
{
bReturn = false;
}
return bReturn;
}
function onBlurGROSSWEIGHT()
{
var iums = 0;
var strGROSSWEIGHT = $("tbGROSSWEIGHT").value.trim();
if (strGROSSWEIGHT != null && strGROSSWEIGHT != "")
{
var items= new Array();
items =strGROSSWEIGHT.split("\r\n");//这里是以换行符作为分界
if (items != null && items.length > 0)
{
try
{
for (var i = 0; i < items.length; i++)
{
iums += parseFloat(items[i].trim());
}
}
catch(e)
{
alert('“Gross Weight 毛重(公斤)”输入的字符串,格式不正确!');
return;
}
}
}
$("tbKGS").value = iums.toFixed(4).toString();
}
function onBlurMEASUREMENT()
{
var iums = 0;
var strMEASUREMENT = $("tbMEASUREMENT").value.trim();
if (strMEASUREMENT != null && strMEASUREMENT != "")
{
var items= new Array();
items =strMEASUREMENT.split("\r\n");//这里是以换行符作为分界
if (items != null && items.length > 0)
{
try
{
for (var i = 0; i < items.length; i++)
{
iums += parseFloat(items[i].trim());
}
}
catch(e)
{
alert('“Measurement 尺码(立方米)”输入的字符串,格式不正确!');
return;
}
}
}
$("tbCBM").value = iums.toFixed(4).toString();
}
function onBlurNOPKGS()
{
var iums = $("tbPKGS").value;
var sums = $("hd_comboKINDPKGS").value;
//件数大写
var loaderText3 = dhtmlxAjax.getSync("../FeeCodes/TOTALNOAdapter.aspx?iums="+iums+"&sums="+sums+"&val="+newGuid());
var strTOTALNO = loaderText3.xmlDoc.responseText;
$("tbTOTALNO").value = strTOTALNO;
//comboKINDPKGS.setComboText($("hd_comboKINDPKGS").value);
}
</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>
<!--按钮条-->
<script type="text/javascript" language="javascript">
function divdadd()
{
if($("isEnabled").value=="0" || $("isEnabled").value=="1")
{
document.getElementById('divadd').style.display = "none";
//document.getElementById('divsave').style.display = "none";
document.getElementById('divrefresh').style.display = "none";
document.getElementById('divdel').style.display = "none";
document.getElementById('divrollback').style.display = "none";
}
else
{
document.getElementById('divadd').style.display = "";
//document.getElementById('divsave').style.display = "";
document.getElementById('divrefresh').style.display = "none";
document.getElementById('divdel').style.display = "none";
document.getElementById('divrollback').style.display = "";
}
}
function divdisplay()
{
var dsdf =$("isEnabled").value;
if($("isEnabled").value=="0")
{
document.getElementById('divadd').style.display = "none";
//document.getElementById('divsave').style.display = "none";
document.getElementById('divrefresh').style.display = "none";
document.getElementById('divdel').style.display = "none";
document.getElementById('divrollback').style.display = "none";
}
else if($("isEnabled").value=="3")
{
document.getElementById('divadd').style.display = "none";
//document.getElementById('divsave').style.display = "none";
document.getElementById('divrefresh').style.display = "none";
document.getElementById('divdel').style.display = "none";
document.getElementById('divrollback').style.display = "none";
}
else if($("isEnabled").value=="1")
{
document.getElementById('divadd').style.display = "none";
//document.getElementById('divsave').style.display = "none";
document.getElementById('divrefresh').style.display = "none";
document.getElementById('divdel').style.display = "none";
document.getElementById('divrollback').style.display = "none";
}
else
{
document.getElementById('divadd').style.display = "";
//document.getElementById('divsave').style.display = "";
document.getElementById('divrefresh').style.display = "";
document.getElementById('divdel').style.display = "";
document.getElementById('divrollback').style.display = "";
}
}
function ShowDetailRejected()
{
var URLs = "SeaeOrderInfoRejected.aspx?ORDNO="+$("hdGid").value;
ret = window.open(URLs,"_blank", "height=220, width=350, toolbar=no, menubar=no,scrollbars=yes, resizable=1,location=no, status=no,Top= " +(screen.height/2-100) + ",Left= "+(screen.width/2-200));
}
function setEnter() {
if ($("hd_comboCUSTOMERNAME").value.trim() == "") {
alert("委托单位不允许为空!");
return;
}
//
$("hdEnter").value="0";
var bl = getdateformat();
if(bl)
{
msgBox();
//divdisplay();
saveRecvChange();
//document.getElementById("divsave").click();
//document.getElementById("ibEnter").click(); } }
function getdateformat()
{
var bl = false;
var alt =""; if($("tbETD").value!="")
{ bl=CheckDate($("tbETD").value); if(!bl) { alt+="开船日期yyyy-MM-dd、"; }
}
//
if($("tbSTLDATE").value!="")
{ bl=CheckDate($("tbSTLDATE").value); if(!bl) { alt+="结算日期yyyy-MM-dd、"; }
}
if($("hd_STLDATE").value!="")
{ bl=CheckDate($("hd_STLDATE").value); if(!bl) { alt+="结算日期yyyy-MM-dd、"; }
} // if(alt=="") { return true; } else { alt = alt.substring(0,alt.length-1); alert(alt+"的格式出错!"); return false; } }
function onclickCUSTOMERNAME()
{
if($("hd_comboCUSTOMERNAME").value=="")
{
var URLs = "../shipping/ExchangesUnitEdit.aspx?handle=add";
ret = window.open(URLs,"添加提单", "height=768, width=1024,center:yes,help:no,toolbar=no,menubar=no,scrollbars=no,resizable=1,location=no,status=no");
}
else
{
var loader = dhtmlxAjax.getSync("../FeeCodes/CUSTOMERNAMEGIDAdapter.aspx?handle=gid&CUSTOMERNAME="+escape($("hd_comboCUSTOMERNAME").value)+"&val="+newGuid());
var selectedId = loader.xmlDoc.responseText;
var URLs = "../shipping/ExchangesUnitEdit.aspx?handle=edit&id="+selectedId;
ret = window.open(URLs,"_blank", "height=768, width=1024,center:yes,help:no,toolbar=no,menubar=no,scrollbars=no,resizable=1,location=no,status=no");
}
}
function lbCUSTOMERNAMEonMouseOver()
{
document.getElementById('lbCUSTOMERNAME').style.color = "#0000FF";
document.getElementById('lbCUSTOMERNAME').style.cursor = "hand";
document.getElementById('lbCUSTOMERNAME').style["textDecoration"] = "underline";
}
function lbCUSTOMERNAMEonMouseOut()
{
document.getElementById('lbCUSTOMERNAME').style.color = "#FF0000";
document.getElementById('lbCUSTOMERNAME').style.cursor = "auto";
document.getElementById('lbCUSTOMERNAME').style["textDecoration"] = "";
} //回车键控制 document.onkeypress=function()
{
if(event.keyCode==13)
{
if(event.srcElement.tagName== 'TEXTAREA')
{
return true;
}
//window.event.keyCode=9;
return false;
}
} //Tab键控制 document.onkeypress=function()
{
if(event.keyCode==9)
{
if(event.srcElement.id == 'tbCBM')
{
document.getElementById('tbMARKS').focus();
return false;
}
if(event.srcElement.id == 'tbDESCRIPTION')
{
document.getElementById('tbMARKS').focus();
return false;
}
//window.event.keyCode=9;
return true;
}
}
//是否为数字,且数值格式是否正确
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();
}
}
}
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 imgFreshChangePic()
{
var pic1=document.getElementById("imgFresh");
var start=pic1.src.lastIndexOf("/");
var str=pic1.src.substring(start+1);
if(str=="btnFresh.gif")
{
pic1.src="../images/icons/progress.gif";
//pic1.alt="我是B图片";
}
else if(str=="progress.gif")
{
pic1.src="../images/icons/btnFresh.gif";
//pic1.alt="我是A图片";
}
}
function ShowDetailFresh()
{
strUserID=document.getElementById("" + '<%= hdUserID.ClientID %>' + "").value;
comboOP.loadXML("../FeeCodes/OPAdapter.aspx?mask=0&pos=0&rName=isOperator&userID="+strUserID);
comboDOC.loadXML("../FeeCodes/OPAdapter.aspx?mask=0&pos=0&rName=isDocument&userID="+strUserID);
comboSALE.loadXML("../FeeCodes/OPAdapter.aspx?mask=0&pos=0&rName=isSaleMan&userID="+strUserID);
comboCUSTOMERNAME.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISCONTROLLER");
comboSHIPPERID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=2&CODENAME="+$("hd_comboCUSTOMERCODE").value+"&SHORTNAME="+escape($("hd_comboCUSTOMERNAME").value));
comboCONSIGNEEID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=1&CODENAME="+$("hd_comboCUSTOMERCODE").value+"&SHORTNAME="+escape($("hd_comboCUSTOMERNAME").value));
comboNOTIFYPARTYID.loadXML("../FeeCodes/InfoShipperAdapter.aspx?mask=0&pos=0&shippertype=3&CODENAME="+$("hd_comboCUSTOMERCODE").value+"&SHORTNAME="+escape($("hd_comboCUSTOMERNAME").value));
comboCARRIER.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISCARRIER");
comboFORWARDER.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISBOOKING");
//comboSERVICE.loadXML("../FeeCodes/TCodeServiceAdapter.aspx?mask=0&pos=0");
comboPORTLOAD.loadXML("../FeeCodes/TCodeLoadportAdapter.aspx?mask=0&pos=0");
comboPORTDISCHARGE.loadXML("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&strSel=");
//comboMIDNUM.loadXML("../FeeCodes/MIDNUMAdapter.aspx?mask=0&pos=0");
comboKINDPKGS.loadXML("../FeeCodes/TCodePackageAdapter.aspx?mask=0&pos=0");
comboBLTYPE.loadXML("../FeeCodes/BLTYPEAdapter.aspx?mask=0&pos=0");
comboBLFRT.loadXML("../FeeCodes/TCodeFrtAdapter.aspx?mask=0&pos=0");
}
</script>
<!--页面重新加载-->
<script type="text/javascript">
function reloadParent(strBSNO, strHandle) {
//alert("strBSNO="+strBSNO);
var parentObj = window.parent.location;
var oldUrl = parentObj.href;
var idIndex = oldUrl.indexOf("&id"); //alert(oldUrl);
//
var newUrl = "";
if (strHandle=="addfull") {
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&isAudit=" + $("hdAudit").value + "&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;
}
else 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&isAudit=" + $("hdAudit").value + "&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;}
.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="resizeDiv('divTier','divTier','divTier',150);bodyOnload();" 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 id="divibAdd" class="xbtn-img" runat=server>
<div class="btnimg"><asp:ImageButton ID="ibAdd" runat="server" onclick="ibAdd_Click" ToolTip="添加" ImageUrl="~/images/icons/btnAdd.gif" CssClass="cssfont"/></div>
</div>
<div id="divibFullAdd" class="xbtn-img" runat=server>
<div class="btnimg"><asp:ImageButton ID="ibFullAdd" runat="server" onclick="ibFullAdd_Click" ToolTip="复制添加" ImageUrl="~/images/cmd-copy.gif" CssClass="cssfont"/></div>
</div>
<div id="divibEnter" class="xbtn-img" runat=server onclick="setEnter();">
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改" class="cssfont"/></div>
</div>
<div id="divibDel" class="xbtn-img" runat=server>
<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 id="divbtsSubmit" class="xbtn" runat=server>
<asp:Button ID="btSubmit" runat="server" Text="提交审核" Width=60px Height=20px onclick="btSubmit_Click" CssClass="btncss"/>
</div>
<div id="divbtAudit" class="xbtn" runat=server>
<asp:Button ID="btAudit" runat="server" Text="审核" Width=60px Height=20px onclick="btAudit_Click" CssClass="btncss"/>
</div>
<div id="divbtRejected" class="xbtn" runat=server onclick="ShowDetailRejected();">
<input id="btRejected" runat=server type="button" value="驳回" style="Width:60px;Height:20px" class="btncss"/>
</div>
</div>
</p>
<div id=divTier class="container" style="float:left; width:100%;height:500px;">
<div id="myTab0_Content0">
<table>
<tr>
<td height=10px></td>
</tr>
<tr>
<td height=30px width="50px">
<asp:Label ID="Label1" runat="server" Text="订舱状态" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td colspan=10>
<asp:Label ID="lbORSTATUS" runat="server" BorderStyle="None" Height=20px CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td width="50px">
<asp:Label ID="lbCUSTOMERNAME" runat="server" Text="委托单位" Width=50px
CssClass="cssfont" onclick="onclickCUSTOMERNAME();"
onmouseover="lbCUSTOMERNAMEonMouseOver();"
onMouseOut="lbCUSTOMERNAMEonMouseOut();" Font-Underline="False" ForeColor="Red"></asp:Label>
</td>
<td width="100px">
<select id="ddlCUSTOMERNAME" name="ddlCUSTOMERNAME" runat=server class="txtTab2"></select>
</td>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label3" runat="server" Text="揽货人" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<select id="ddlSALE" name="ddlSALE" runat="server" class="txtTab2"></select>
</td>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label4" runat="server" Text="操作" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<select id="ddlOP" name="ddlOP" runat="server" class="txtTab2"></select>
</td>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label5" runat="server" Text="单证" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<select id="ddlDOC" name="ddlDOC" runat="server" class="txtTab2"></select>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label6" runat="server" Text="装运方式" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlBLTYPE" name="ddlDOC" runat="server" class="txtTab2"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label7" runat="server" Text="" Width=50px CssClass="cssfont">服务项目</asp:Label>
</td>
<td colspan=7>
<asp:CheckBox ID="ISFUMIGATION" runat="server" Text="熏蒸" CssClass="cssfont"/>
&nbsp;
<asp:CheckBox ID="ISSTORAGE" runat="server" Text="仓储" CssClass="cssfont"/>
&nbsp;
<asp:CheckBox ID="ISLAND" runat="server" Text="陆运" CssClass="cssfont"/>
&nbsp;
<asp:CheckBox ID="ISCUSTOMS" runat="server" Text="报关" CssClass="cssfont"/>
&nbsp;
<asp:CheckBox ID="ISINSPECTION" runat="server" Text="报检" CssClass="cssfont"/>
&nbsp;
<asp:CheckBox ID="ISBOOKING" runat="server" Text="订舱" CssClass="cssfont"/>
&nbsp;
<asp:CheckBox ID="ISAGENT" runat="server" Text="使用代理" CssClass="cssfont"/>
&nbsp;
<asp:CheckBox ID="ISHBLNO" runat="server" Text="分单签单" CssClass="cssfont"/>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label8" runat="server" Text="结算方式" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:DropDownList ID="ddlSTLNAME" runat="server" CssClass="txtTab6" onchange="selSTLDATE();" Enabled=false Height=22px>
<asp:ListItem></asp:ListItem>
<asp:ListItem>月结</asp:ListItem>
<asp:ListItem>票结</asp:ListItem>
<asp:ListItem>半月结</asp:ListItem>
</asp:DropDownList>
</td>
<td></td>
<td>
<asp:Label ID="Label9" runat="server" Text="结算日期" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbSTLDATE" runat="server" CssClass="txtTab2" onclick="WdatePicker();" Enabled=false></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label57" runat="server" Text="付费方式" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlBLFRT" runat=server CssClass="txtTab2" style="width:110px;"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label10" runat="server" Text="海运费" Width=50px Visible=false CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbOCEANFEE" runat="server" CssClass="txtTab2" MaxLength="20" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" Visible=false onblur="getIsNum(this);"></asp:TextBox>
<asp:CheckBox ID="CheckBox1" runat="server" Text="退佣金" Visible=false/>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label11" runat="server" Text="船公司" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlCARRIER" runat="server" class="txtTab2"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label12" runat="server" Text="联系人" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCARRIERATTN" runat="server" CssClass="txtTab2" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label13" runat="server" Text="电话" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCARRIERTEL" runat="server" CssClass="txtTab2" MaxLength="50"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label14" runat="server" Text="邮件" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCARRIEREMAIL" runat="server" CssClass="txtTab2" MaxLength="50"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label15" runat="server" Text="订舱代理" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlFORWARDER" runat="server" class="txtTab2"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label16" runat="server" Text="联系人" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbFORWARDERATTN" runat="server" CssClass="txtTab2" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label17" runat="server" Text="电话" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbFORWARDERTEL" runat="server" CssClass="txtTab2" MaxLength="50"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label18" runat="server" Text="邮件" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbFORWARDEREMAIL" runat="server" CssClass="txtTab2" MaxLength="50"></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 class="txtTab2"></select></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbSHIPPER" runat="server" CssClass="txtTab10" TextMode="MultiLine" Height="90px" style="overflow-y:auto;height:90px;" MaxLength="600"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan=3>
<table>
<tr>
<td>
<asp:Label ID="Label20" runat="server" Text="Consignee (收货人)" CssClass="cssfont"></asp:Label>
</td>
<td><select id="ddlCONSIGNEEID" runat=server class="txtTab2"></select></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbCONSIGNEE" runat="server" CssClass="txtTab10" TextMode="MultiLine" Height="90px" style="overflow-y:auto;height:90px;" 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 class="txtTab2"></select></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="tbNOTIFYPARTY" runat="server" CssClass="txtTab10" TextMode="MultiLine" Height="90px" style="overflow-y:auto;height:90px;" MaxLength="600"></asp:TextBox>
</td>
</tr>
</table>
</td>
<td></td>
<td valign=top colspan=5>
<table>
<tr>
<td width="50px">
<asp:Label ID="Label22" runat="server" Text="开船日期" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td width="100px" height=30px>
<asp:TextBox ID="tbETD" runat="server" CssClass="txtTab2" onclick="WdatePicker();" onfocus="selSTLDATE();" onblur="selSTLDATE();"></asp:TextBox>
</td>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label23" runat="server" Text="签单方式" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<asp:DropDownList ID="ddlISSUETYPE" runat="server" CssClass="txtTab6" Height=22px>
<asp:ListItem Selected="True">正本</asp:ListItem>
<asp:ListItem>电放</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label24" runat="server" Text="装货港" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlPORTLOAD" runat="server" class="txtTab2"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label25" runat="server" Text="卸货港" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlPORTDISCHARGE" runat="server" class="txtTab2"></select>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label26" runat="server" Text="件数" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbPKGS" runat="server" MaxLength="10" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45){event.returnValue=false;}" CssClass="txtTab2" onBlur="getIsNum(this);onBlurNOPKGS();"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label27" runat="server" Text="包装" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlKINDPKGS" runat="server" class="txtTab2" onFocus ="initComboKINDPKGS();"></select>
<input type="hidden" id="Hidden1" runat="server"/>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label28" runat="server" Text="件数大写" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td colspan=4>
<asp:TextBox ID="tbTOTALNO" runat="server" Width=318px MaxLength="100" CssClass="cssfont"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label29" runat="server" Text="重量" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbKGS" runat="server" MaxLength="20" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" CssClass="txtTab2" Width=80px onblur="getIsNum(this);"></asp:TextBox>&nbsp;KGS
</td>
<td></td>
<td>
<asp:Label ID="Label30" runat="server" Text="尺码" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCBM" runat="server" MaxLength="20" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" CssClass="txtTab2" Width=80px onblur="getIsNum(this);"></asp:TextBox>&nbsp;CBM
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label31" runat="server" Text="集装箱" Width=50px CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td colspan=5>
<div style="width:100%;">
<div style="width:380px;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div id="divadd" class="xbtn-img" onclick="divdisplay();addRecvRow()" style="display:block" runat=server>
<div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加" class="cssfont"/></div>
</div>
<div id="divsave" class="xbtn-img" onclick="divdisplay();saveRecvChange()" style="display:none;" runat=server>
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改" class="cssfont"/></div>
</div>
<div id="divdel" class="xbtn-img" onclick="divdisplay();deleteRecvRow()" runat=server>
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除" class="cssfont"/></div>
</div>
<div id="divrollback" class="xbtn-img" onclick="divdisplay();recoverRecvChange()" runat=server>
<div class="btnimg"><img src="../images/icons/rollback.gif" width="16px" title="放弃修改" class="cssfont"/></div>
</div>
<div id="divrefresh" class="xbtn-img" onclick="divdisplay();refreshRecv()" runat=server>
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新" class="cssfont"/></div>
</div>
</div>
<div style=" width:380px; height:100%;" oncontextmenu="return false">
<div id="mygrid_container_recv" style="width:100%; height:160px;" 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>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=5>
<asp:Label ID="Label32" runat="server" Text=" Seal No.(封志号) Marks & Nos.(标记与号码)" CssClass="cssfont"></asp:Label>
</td>
<td></td>
<td colspan=5>
<asp:Label ID="Label33" runat="server" Text="Kind of Packages:Description of Goods (包装种类与货名)" CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td colspan=5>
<asp:TextBox ID="tbMARKS" runat="server" CssClass="txtTab10" TextMode="MultiLine" Height=100px style="overflow-y:auto;height:100px;" MaxLength="600">N/M</asp:TextBox>
</td>
<td></td>
<td colspan=5>
<asp:TextBox ID="tbDESCRIPTION" runat="server" CssClass="txtTab10" TextMode="MultiLine" Height=100px style="overflow-y:auto;height:100px;" MaxLength="2000" Width=380px></asp:TextBox>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=11 height="10">
<asp:Label ID="Label34" runat="server" Text="备注" Width=50px CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td colspan=11 align=left height="10">
<asp:TextBox ID="tbREMARK" runat="server" CssClass="txtTab11" TextMode="MultiLine" Height=70px style="overflow-y:auto;height:70px;" MaxLength="600" Width=778px></asp:TextBox>
</td>
</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="hdEnter" runat="server"/>
<input type="hidden" id="hdAudit" runat="server"/>
<input type="hidden" id="isEnabled" runat="server"/>
<input type="hidden" id="hdEnabled" runat="server"/>
<input type="hidden" id="hd_comboOP" runat="server"/>
<input type="hidden" id="hd_comboDOC" runat="server"/>
<input type="hidden" id="hd_comboSALE" 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_comboKINDPKGS" runat="server"/>
<input type="hidden" id="hd_comboCARRIER" runat="server"/>
<input type="hidden" id="hd_comboFORWARDER" runat="server"/>
<input type="hidden" id="hd_comboPORTLOAD" runat="server"/>
<input type="hidden" id="hd_comboPORTDISCHARGE" runat="server"/>
<input type="hidden" id="hd_comboPORTLOADID" runat="server"/>
<input type="hidden" id="hd_comboPORTDISCHARGEID" runat="server"/>
<input type="hidden" id="hd_comboMIDNUM" runat="server"/>
<input type="hidden" id="hd_comboBLFRT" runat="server"/>
<input type="hidden" id="hd_comboBLTYPE" runat=server />
<input type="hidden" id="hdCOMPANYID" runat="server"/>
<input type="hidden" id="hdLANE" runat="server"/>
<input id="hdSTLNAME" type="hidden" runat=server/>
<input id="hd_STLDATE" type="hidden" runat=server />
</div>
<div style="height:100px"></div>
</form>
</body>
</html>