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.

1497 lines
75 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="CrmPriceCarrierInfo.aspx.cs" Inherits="DSWeb.PriceCarrier.CrmPriceCarrierInfo" %>
<%@ 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 src="../js/m97date/wdatepicker.js" type="text/javascript"></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">
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/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">
var comboCARRIE;//船公司
var comboFORWARDER;//订舱公司
var comboPODLOAD;//启运港
var comboVIA;//中转港
var comboPORTDISCHARGE;//卸货港交货地
var comboSVC;//运输条款/SVC服务
var comboLANE;//航线
var comboETD;//开船日
var comboSICUT;//AMS时间
var comboCUSCLSG;//截关时间
var comboCYCLSG;//操作时间
function $(id)
{
return document.getElementById(id);
}
function initcomboCARRIE()//船公司
{
comboCARRIE = dhtmlXComboFromSelect("ddlCARRIE");
comboCARRIE.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISCARRIER");
}
function initcomboCARRIE2()//船公司
{
if($("hdLOCKFLAG").value=="1")
{
comboCARRIE.disable(true);
}
else
{
comboCARRIE.disable(false);
}
//
comboCARRIE.setOptionWidth(200);
comboCARRIE.attachEvent("onChange", function(){comboCARRIE.setComboText($("hd_comboCARRIE").value);});
comboCARRIE.attachEvent("onBlur", function(){
var s1 = comboCARRIE.getComboText();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboCARRIE").value="";
comboCARRIE.setComboText($("hd_comboCARRIE").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboCARRIE.setComboText(s3);
$("hd_comboCARRIE").value=s3;
}
else
{
comboCARRIE.setComboText($("hd_comboCARRIE").value);
}
}
});
comboCARRIE.setComboText($("hd_comboCARRIE").value);
comboCARRIE.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function(){
var is = -1;
var ishd = $("hd_comboCARRIE").value;
var filterCount = 0;
if("" != comboCARRIE.getComboText()){
while("undefined" != typeof comboCARRIE.getOptionByIndex(filterCount)){
var comboValue = comboCARRIE.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboCARRIE.getComboText().toUpperCase();
$("hd_comboCARRIE").value = comboCARRIE.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0){
comboCARRIE.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboCARRIE").value = ishd;
alert("无此内容,请重新选择!");
}
}},10);}});
comboCARRIE.attachEvent("onSelectionChange", function()
{
$("hd_comboCARRIE").value = comboCARRIE.getComboText();
});
}
function initComboFORWARDER()//订舱公司
{
comboFORWARDER = dhtmlXComboFromSelect("ddlFORWARDER");
comboFORWARDER.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISBOOKING");
}
function initComboFORWARDER2()//订舱公司
{
if($("hdLOCKFLAG").value=="1")
{
comboFORWARDER.disable(true);
}
else
{
comboFORWARDER.disable(false);
}
//
comboFORWARDER.setOptionWidth(200);
comboFORWARDER.attachEvent("onChange", function(){comboFORWARDER.setComboText($("hd_comboFORWARDER").value);});
comboFORWARDER.attachEvent("onBlur", function(){
var s1 = comboFORWARDER.getComboText();
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;
var filterCount = 0;
if("" != comboFORWARDER.getComboText()){
while("undefined" != typeof comboFORWARDER.getOptionByIndex(filterCount)){
var comboValue = comboFORWARDER.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboFORWARDER.getComboText().toUpperCase();
$("hd_comboFORWARDER").value = comboFORWARDER.getComboText().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();
});
}
function initComboSVC()//运输条款/SVC服务
{
comboSVC = dhtmlXComboFromSelect("ddlSVC");
comboSVC.loadXML("../FeeCodes/TCodeServiceAdapter.aspx?mask=0&pos=0");
}
function initComboSVC2()//运输条款/SVC服务
{
if($("hdLOCKFLAG").value=="1")
{
comboSVC.disable(true);
}
else
{
comboSVC.disable(false);
}
//
comboSVC.attachEvent("onChange", function()
{
comboSVC.setComboText($("hd_comboSVC").value);
});
comboSVC.attachEvent("onBlur", function(){
var s1 = comboSVC.getComboText();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboSVC").value="";
comboSVC.setComboText($("hd_comboSVC").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboSVC.setComboText(s3);
$("hd_comboSVC").value=s3;
}
else
{
comboSVC.setComboText($("hd_comboSVC").value);
}
}
});
comboSVC.setComboText($("hd_comboSVC").value);
comboSVC.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboSVC").value;
if("" != comboSVC.getComboText())
{
while("undefined" != typeof comboSVC.getOptionByIndex(filterCount))
{
var comboValue = comboSVC.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboSVC.getComboText().toUpperCase();
$("hd_comboSVC").value = comboSVC.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboSVC.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboSVC").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);}});
comboSVC.attachEvent("onSelectionChange", function()
{
$("hd_comboSVC").value = comboSVC.getComboText();
});
}
function initComboPODLOAD()//启运港==装货港
{
comboPODLOAD = dhtmlXComboFromSelect("ddlPODLOAD");
comboPODLOAD.loadXML("../FeeCodes/TCodeLoadportAdapter.aspx?mask=0&pos=0");
}
function initComboPODLOAD2()//启运港==装货港
{
if($("hdLOCKFLAG").value=="1")
{
comboPODLOAD.disable(true);
}
else
{
comboPODLOAD.disable(false);
}
//
comboPODLOAD.setOptionWidth(200);
comboPODLOAD.attachEvent("onChange", function()
{
comboPODLOAD.setComboText($("hd_comboPODLOAD").value);
});
comboPODLOAD.attachEvent("onBlur", function()
{
comboPODLOAD.setComboText($("hd_comboPODLOAD").value);
});
comboPODLOAD.setComboText($("hd_comboPODLOAD").value);
comboPODLOAD.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboPODLOAD").value;
if("" != comboPODLOAD.getComboText())
{
while("undefined" != typeof comboPODLOAD.getOptionByIndex(filterCount))
{
var comboValue = comboPODLOAD.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboPODLOAD.getComboText().toUpperCase();
$("hd_comboPODLOAD").value = comboPODLOAD.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboPODLOAD.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboPODLOAD").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);
}
});
comboPODLOAD.attachEvent("onSelectionChange", function()
{
$("hd_comboPODLOAD").value = comboPODLOAD.getComboText();
});
}
function initComboPORTDISCHARGE()//卸货港
{
comboPORTDISCHARGE = dhtmlXComboFromSelect("ddlPORTDISCHARGE");
}
function initComboPORTDISCHARGE2()//卸货港
{
if($("hdLOCKFLAG").value=="1")
{
comboPORTDISCHARGE.disable(true);
}
else
{
comboPORTDISCHARGE.disable(false);
}
//
comboPORTDISCHARGE.setOptionWidth(150);
comboPORTDISCHARGE.attachEvent("onOpen", function()
{
if(comboPORTDISCHARGE.getOptionByIndex(0) == null)
{
comboPORTDISCHARGE.loadXML("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&strSel=");
}
});
comboPORTDISCHARGE.attachEvent("onChange", function()
{
$("hd_comboPORTDISCHARGE").value = comboPORTDISCHARGE.getComboText().toUpperCase();//comboPORTDISCHARGE.getSelectedText();
comboPORTDISCHARGE.setComboText($("hd_comboPORTDISCHARGE").value);
$("tbDESTINATION").value = $("hd_comboPORTDISCHARGE").value;
//
var loader = dhtmlxAjax.getSync("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&port="+$("hd_comboPORTDISCHARGE").value+"&val="+newGuid());
$("hd_comboLANE").value=loader.xmlDoc.responseText;
comboLANE.setComboText($("hd_comboLANE").value);
});
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())
{
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();
$("tbDESTINATION").value = $("hd_comboPORTDISCHARGE").value;
//
var loader = dhtmlxAjax.getSync("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&port="+$("hd_comboPORTDISCHARGE").value+"&val="+newGuid());
$("hd_comboLANE").value=loader.xmlDoc.responseText;
comboLANE.setComboText($("hd_comboLANE").value);
});
}
function initComboVIA()//中转港
{
comboVIA = dhtmlXComboFromSelect("ddlVIA");
}
function initComboVIA2()//中转港
{
if($("hdLOCKFLAG").value=="1")
{
comboVIA.disable(true);
}
else
{
comboVIA.disable(false);
}
//
comboVIA.setOptionWidth(150);
comboVIA.attachEvent("onOpen", function()
{
if(comboVIA.getOptionByIndex(0) == null)
{
comboVIA.loadXML("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&strSel=");
}
});
comboVIA.attachEvent("onChange", function()
{
$("hd_comboVIA").value = comboVIA.getComboText().toUpperCase();//comboVIA.getSelectedText();
comboVIA.setComboText($("hd_comboVIA").value);
});
comboVIA.setComboText($("hd_comboVIA").value);
//检索
//comboVIA.enableFilteringMode(true);
comboVIA.attachEvent("onKeyPressed", function(keyCode)
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
if("" != comboVIA.getComboText())
{
var enterValue = comboVIA.getComboText().toUpperCase();
comboVIA.loadXML("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&strSel="+enterValue);
}
},10);
});
comboVIA.attachEvent("onSelectionChange", function()
{
$("hd_comboVIA").value = comboVIA.getComboText();
});
}
function initComboLANE()//航线
{
comboLANE = dhtmlXComboFromSelect("ddlLANE");
comboLANE.loadXML("../FeeCodes/TCodeLanesAdapter.aspx?mask=0&pos=0");
}
function initComboLANE3()//航线
{
comboLANE.loadXML("../FeeCodes/TCodeLanesAdapter.aspx?mask=0&pos=0");
}
function initComboLANE2()//航线
{
if($("hdLOCKFLAG").value=="1")
{
comboLANE.disable(true);
}
else
{
comboLANE.disable(false);
}
//
comboLANE.setOptionWidth(200);
comboLANE.attachEvent("onChange", function()
{
comboLANE.setComboText($("hd_comboLANE").value);
});
comboLANE.attachEvent("onBlur", function(){
var s1 = comboLANE.getComboText();
var s2 = s1.indexOf("|");
if(s1=="")
{
$("hd_comboLANE").value="";
comboLANE.setComboText($("hd_comboLANE").value);
}
else
{
if(s2>0)
{
s2=s2+2;
}
var s3 = s1.substring(s2);
if(s2>0)
{
comboLANE.setComboText(s3);
$("hd_comboLANE").value=s3;
}
else
{
comboLANE.setComboText($("hd_comboLANE").value);
}
}
});
comboLANE.setComboText($("hd_comboLANE").value);
comboLANE.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboLANE").value;
if("" != comboLANE.getComboText())
{
while("undefined" != typeof comboLANE.getOptionByIndex(filterCount))
{
var comboValue = comboLANE.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboLANE.getComboText().toUpperCase();
$("hd_comboLANE").value = comboLANE.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboLANE.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
if(is==-1)
{
$("hd_comboLANE").value = ishd;
alert("无此内容,请重新选择!");
}
}
},10);}});
comboLANE.attachEvent("onSelectionChange", function()
{
$("hd_comboLANE").value = comboLANE.getComboText();
});
}
function initcomboETD()//开船日
{
comboETD = dhtmlXComboFromSelect("ddlETD");
comboETD.loadXML("../FeeCodes/WEEKAdapter.aspx?mask=0&pos=0");//周一至周五英文简称+时间
}
function initcomboETD2()//开船日
{
if($("hdLOCKFLAG").value=="1")
{
comboETD.disable(true);
}
else
{
comboETD.disable(false);
}
//
comboETD.attachEvent("onChange", function()
{
comboETD.setComboText($("hd_comboETD").value);
});
comboETD.attachEvent("onBlur", function()
{
$("hd_comboETD").value = comboETD.getComboText();
});
comboETD.setComboText($("hd_comboETD").value);
comboETD.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboETD").value;
if("" != comboETD.getComboText())
{
while("undefined" != typeof comboETD.getOptionByIndex(filterCount))
{
var comboValue = comboETD.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboETD.getComboText().toUpperCase();
$("hd_comboETD").value = comboETD.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboETD.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
}
},10);}});
comboETD.attachEvent("onSelectionChange", function()
{
$("hd_comboETD").value = comboETD.getComboText();
});
}
function initcomboSICUT()//AMS时间
{
comboSICUT = dhtmlXComboFromSelect("ddlSICUT");
comboSICUT.loadXML("../FeeCodes/WEEKAdapter.aspx?mask=0&pos=0");//周一至周五英文简称+时间
}
function initcomboSICUT2()//AMS时间
{
if($("hdLOCKFLAG").value=="1")
{
comboSICUT.disable(true);
}
else
{
comboSICUT.disable(false);
}
//
comboSICUT.attachEvent("onChange", function()
{
comboSICUT.setComboText($("hd_comboSICUT").value);
});
comboSICUT.attachEvent("onBlur", function()
{
$("hd_comboSICUT").value = comboSICUT.getComboText();
});
comboSICUT.setComboText($("hd_comboSICUT").value);
comboSICUT.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboSICUT").value;
if("" != comboSICUT.getComboText())
{
while("undefined" != typeof comboSICUT.getOptionByIndex(filterCount))
{
var comboValue = comboSICUT.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboSICUT.getComboText().toUpperCase();
$("hd_comboSICUT").value = comboSICUT.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboSICUT.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
}
},10);}});
comboSICUT.attachEvent("onSelectionChange", function()
{
$("hd_comboSICUT").value = comboSICUT.getComboText();
});
}
function initcomboCUSCLSG()//截关时间
{
comboCUSCLSG = dhtmlXComboFromSelect("ddlCUSCLSG");
comboCUSCLSG.loadXML("../FeeCodes/WEEKAdapter.aspx?mask=0&pos=0");//周一至周五英文简称+时间
}
function initcomboCUSCLSG2()//截关时间
{
if($("hdLOCKFLAG").value=="1")
{
comboCUSCLSG.disable(true);
}
else
{
comboCUSCLSG.disable(false);
}
//
comboCUSCLSG.attachEvent("onChange", function()
{
comboCUSCLSG.setComboText($("hd_comboCUSCLSG").value);
});
comboCUSCLSG.attachEvent("onBlur", function()
{
$("hd_comboCUSCLSG").value = comboCUSCLSG.getComboText();
});
comboCUSCLSG.setComboText($("hd_comboCUSCLSG").value);
comboCUSCLSG.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboCUSCLSG").value;
if("" != comboCUSCLSG.getComboText())
{
while("undefined" != typeof comboCUSCLSG.getOptionByIndex(filterCount))
{
var comboValue = comboCUSCLSG.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboCUSCLSG.getComboText().toUpperCase();
$("hd_comboCUSCLSG").value = comboCUSCLSG.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboCUSCLSG.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
}
},10);}});
comboCUSCLSG.attachEvent("onSelectionChange", function()
{
$("hd_comboCUSCLSG").value = comboCUSCLSG.getComboText();
});
}
function initcomboCYCLSG()//操作时间
{
comboCYCLSG = dhtmlXComboFromSelect("ddlCYCLSG");
comboCYCLSG.loadXML("../FeeCodes/WEEKAdapter.aspx?mask=0&pos=0");//周一至周五英文简称+时间
}
function initcomboCYCLSG2()//操作时间
{
if($("hdLOCKFLAG").value=="1")
{
comboCYCLSG.disable(true);
}
else
{
comboCYCLSG.disable(false);
}
//
comboCYCLSG.attachEvent("onChange", function()
{
comboCYCLSG.setComboText($("hd_comboCYCLSG").value);
});
comboCYCLSG.attachEvent("onBlur", function()
{
$("hd_comboCYCLSG").value = comboCYCLSG.getComboText();
});
comboCYCLSG.setComboText($("hd_comboCYCLSG").value);
comboCYCLSG.attachEvent("onKeyPressed", function(keyCode)
{
if(keyCode!="8")
{
var arrayArg = new Array();
setTimeout(function()
{
var filterCount = 0;
var is = -1;
var ishd = $("hd_comboCYCLSG").value;
if("" != comboCYCLSG.getComboText())
{
while("undefined" != typeof comboCYCLSG.getOptionByIndex(filterCount))
{
var comboValue = comboCYCLSG.getOptionByIndex(filterCount).text.toUpperCase();//.value;
var enterValue = comboCYCLSG.getComboText().toUpperCase();
$("hd_comboCYCLSG").value = comboCYCLSG.getComboText().toUpperCase();
if(comboValue.indexOf(enterValue) == 0)
{
comboCYCLSG.selectOption(filterCount,true,true);
is=filterCount;
break;
}
++filterCount;
}
}
},10);}});
comboCYCLSG.attachEvent("onSelectionChange", function()
{
$("hd_comboCYCLSG").value = comboCYCLSG.getComboText();
});
}
function bodyOnload()
{
initcomboCARRIE2();//船公司
initComboFORWARDER2();//订舱公司
initComboPODLOAD2();//启运港
initComboVIA2();//中转港
initComboPORTDISCHARGE2();//卸货港交货地
initComboSVC2();//运输条款/SVC服务
initComboLANE2();//航线
initcomboETD2();//开船日
initcomboSICUT2();//AMS时间
initcomboCUSCLSG2();//截关时间
initcomboCYCLSG2();//操作时间
}
function ShowDetailFresh()
{
comboCARRIE.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISCARRIER");
comboFORWARDER.loadXML("../FeeCodes/WebCrmClientAdapter.aspx?mask=0&pos=0&strIS=ISBOOKING");
comboPODLOAD.loadXML("../FeeCodes/TCodeLoadportAdapter.aspx?mask=0&pos=0");
comboVIA.loadXML("../FeeCodes/TCodeLoadportAdapter.aspx?mask=0&pos=0");//中转港
comboPORTDISCHARGE.loadXML("../FeeCodes/TCodeDisportAdapter.aspx?mask=0&pos=0&strSel=");
comboSVC.loadXML("../FeeCodes/TCodeServiceAdapter.aspx?mask=0&pos=0");
comboLANE.loadXML("../FeeCodes/TCodeLanesAdapter.aspx?mask=0&pos=0");
comboETD.loadXML("../FeeCodes/WEEKAdapter.aspx?mask=0&pos=0");//开船日
comboSICUT.loadXML("../FeeCodes/WEEKAdapter.aspx?mask=0&pos=0");//AMS时间
comboCUSCLSG.loadXML("../FeeCodes/WEEKAdapter.aspx?mask=0&pos=0");//截关时间
comboCYCLSG.loadXML("../FeeCodes/WEEKAdapter.aspx?mask=0&pos=0");//操作时间
}
</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 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="<input type=button onclick='new dialog().close();' value='确定'>";
dg.html="程序正在提交,请稍等!";
dg.width=200;
dg.height=100;
dg.title="标题";
dg.show();
}
</script>
<!--按钮条-->
<script type="text/javascript" language="javascript">
function divdadd()
{
if($("hdLOCKFLAG").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 = "none";
document.getElementById('divrollback').style.display = "none";
}
}
function divdisplay()
{
var dsdf =$("hdLOCKFLAG").value;
if($("hdLOCKFLAG").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 if($("hdLOCKFLAG").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($("hdLOCKFLAG").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()
{
var bl = getdateformat();
if(bl)
{
$("hdEnter").value="0";
msgBox();
postEnter();
}
}
//post数据
function postEnter(){
var myForm = document.getElementById("form1");
myForm.submit() ;
}
function getdateformat()
{
var bl = false;
var alt ="";
if($("tbVALIDDATE").value!="")
{
bl=CheckDate($("tbVALIDDATE").value);
if(!bl)
{
alt+="有效期yyyy-MM-dd、";
}
}
//
if($("tbEFFECTIVEDATE").value!="")
{
bl=CheckDate($("tbEFFECTIVEDATE").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 = "#75787C";
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 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 IsNum(val){
var re = /^[-\+]?\d+(\.\d+)?$/;
if (!re.test(val)){
return false;
}else{
return true;
}
}
//是否为数字2
function IsNum2(val){
var re = /^[0-9]*[1-9][0-9]*$/;
if (!re.test(val)){
return false;
}else{
return true;
}
}
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图片";
}
}
</script>
<!--页面重新加载-->
<script type="text/javascript">
function reloadParent(strBSNO)
{
//alert("strBSNO="+strBSNO);
var parentObj = window.parent.location;
var oldUrl = parentObj.href;
var idIndex = oldUrl.indexOf("&id");//alert(oldUrl);
//
var newUrl = "";
if(idIndex > 0)
{
var addfull=oldUrl.indexOf("addfull");
if(addfull>0)
{
var handleIndex = oldUrl.indexOf("handle=");//alert(handleIndex);
newUrl = oldUrl.substring(0,handleIndex);
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+"handle=edit&id="+strBSNO;
}
else
{
newUrl = oldUrl.substring(0,idIndex+4);//alert(oldUrl.substring(0,idIndex));
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+strBSNO;
}
}
else
{
var handleIndex = oldUrl.indexOf("handle=");//alert(handleIndex);
newUrl = oldUrl.substring(0,handleIndex);
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+"handle=edit&id="+strBSNO;
}
//
//alert("操作成功!");
}
</script>
<script type="text/javascript">
function reloadParentSubmit(strBSNO)
{
//alert("strBSNO="+strBSNO);
var parentObj = window.parent.location;
var oldUrl = parentObj.href;
var idIndex = oldUrl.indexOf("&id");//alert(oldUrl);
//
var newUrl = "";
if(idIndex > 0)
{
var addfull=oldUrl.indexOf("addfull");
if(addfull>0)
{
var handleIndex = oldUrl.indexOf("handle=");//alert(handleIndex);
newUrl = oldUrl.substring(0,handleIndex);
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+"handle=edit&id="+strBSNO;
}
else
{
newUrl = oldUrl.substring(0,idIndex+4);//alert(oldUrl.substring(0,idIndex));
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+strBSNO;
}
}
else
{
var handleIndex = oldUrl.indexOf("handle=");//alert(handleIndex);
newUrl = oldUrl.substring(0,handleIndex);
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl+"handle=edit&id="+strBSNO;
}
//
//alert("操作成功!");
}
</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="bodyOnload();" style="background-color: #DDE9FA">
<form id="form1" runat="server" style="background-color: #DDE9FA">
<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 class="xbtn">
<asp:Button ID="btSubmit" runat="server" Text="锁定/解锁" Width=60px Height=20px onclick="btSubmit_Click" CssClass="btncss"/>
</div>
</div>
<div class="container" style="float:left; width:100%;height:500px; margin-top:10px;">
<div id="myTab0_Content0">
<table>
<tr>
<td width="50px">
<asp:Label ID="Label6" runat="server" Text="起运港" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<select id="ddlPODLOAD" name="ddlPODLOAD" runat=server class="txtTab2"></select>
</td>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label7" runat="server" Text="卸货港" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<select id="ddlPORTDISCHARGE" name="ddlPORTDISCHARGE" runat="server" class="txtTab2"></select>
</td>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label8" runat="server" Text="目的地" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<asp:TextBox ID="tbDESTINATION" runat="server" CssClass="txtTab2" MaxLength="60" Height=20px></asp:TextBox>
</td>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label9" runat="server" Text="中转港" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<select id="ddlVIA" name="ddlVIA" runat="server" class="txtTab2"></select>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label10" runat="server" Text="挂靠港" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td colspan=10>
<asp:TextBox ID="tbPOC" runat="server" CssClass="txtTab2" MaxLength="100" Width=796px Height=20px></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label11" runat="server" Text="航线" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlLANE" 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="tbCARRIERLANE" runat="server" CssClass="txtTab2" MaxLength="50" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label18" runat="server" Text="船公司" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlCARRIE" runat="server" class="txtTab2" name="ddlCARRIE"></select></td>
<td></td>
<td>
<asp:Label ID="Label35" runat="server" Text="订舱代理" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlFORWARDER" runat="server" class="txtTab2" name="ddlFORWARDER"></select>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label36" runat="server" Text="开船日期" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlETD" runat="server" class="txtTab2"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label19" runat="server" Text="航程" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbTT" runat="server" CssClass="txtTab2" MaxLength="3" onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="if(!IsNum2(this.value)){this.value='';alert('航程格式录入错误!');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label13" runat="server" Text="生效期" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbVALIDDATE" runat="server" CssClass="txtTab2" onclick="WdatePicker();" MaxLength="19" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label14" runat="server" Text="有效期至" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbEFFECTIVEDATE" runat="server" CssClass="txtTab2" onclick="WdatePicker();" MaxLength="19" Height=20px></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label15" runat="server" Text="SVC" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlSVC" runat=server class="txtTab2"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label16" runat="server" Text="S/C" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbSC" runat="server" CssClass="txtTab2" MaxLength="50" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label17" runat="server" Text="NAME A/C" Width=60px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbNAMEAC" runat="server" CssClass="txtTab2" MaxLength="100" Height=20px></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="SI CUT" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlSICUT" runat="server" class="txtTab2"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label3" runat="server" Text="CUS CLSG" Width=60px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlCUSCLSG" runat="server" class="txtTab2"></select>
</td>
<td></td>
<td>
<asp:Label ID="Label4" runat="server" Text="CY CLSG" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlCYCLSG" runat="server" class="txtTab2"></select>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label5" runat="server" Text="OWS" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td colspan=10>
<asp:TextBox ID="tbOWS" runat="server" CssClass="txtTab2" MaxLength="200" Width=796px Height=20px></asp:TextBox>
</td>
</tr>
<tr>
<td colspan=11 height="10">
<asp:Label ID="Label34" runat="server" Text="COMMODITY" Width=50px CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td colspan=11 align=left height="10">
<asp:TextBox ID="tbCOMMODITY" runat="server" CssClass="txtTab11" TextMode="MultiLine" Height=70px style="overflow:hidden;" MaxLength="600" Width=853px></asp:TextBox>
</td>
</tr>
<tr>
<td colspan=11 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td>
<asp:Label ID="Label20" runat="server" Text="成本" Width=50px CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label24" runat="server" Text="20GP" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb20GP0" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('成本20GP格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label25" runat="server" Text="40GP" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb40GP0" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('成本40GP格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label26" runat="server" Text="40HQ" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb40HQ0" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('成本40HQ格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label27" runat="server" Text="45HQ" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb45HQ0" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('成本45HQ格式录入错误');}" Height=20px></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label21" runat="server" Text="一级售价" Width=50px CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label241" runat="server" Text="20GP" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb20GP1" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('一级售价20GP格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label251" runat="server" Text="40GP" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb40GP1" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('一级售价40GP格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label261" runat="server" Text="40HQ" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb40HQ1" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('一级售价40HQ格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label271" runat="server" Text="45HQ" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb45HQ1" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('一级售价45HQ格式录入错误');}" Height=20px></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label30" runat="server" Text="二级售价" Width=50px CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label242" runat="server" Text="20GP" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb20GP2" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('二级售价20GP格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label252" runat="server" Text="40GP" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb40GP2" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('二级售价40GP格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label262" runat="server" Text="40HQ" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb40HQ2" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('二级售价40HQ格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label272" runat="server" Text="45HQ" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb45HQ2" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('二级售价45HQ格式录入错误');}" Height=20px></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label38" runat="server" Text="三级售价" Width=50px CssClass="cssfont"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label243" runat="server" Text="20GP" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb20GP3" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('三级售价20GP格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label253" runat="server" Text="40GP" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb40GP3" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('三级售价40GP格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label263" runat="server" Text="40HQ" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb40HQ3" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('三级售价40HQ格式录入错误');}" Height=20px></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label273" runat="server" Text="45HQ" Width=50px CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb45HQ3" 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;}" onblur="if(!IsNum(this.value)){this.value='0.00';alert('三级售价45HQ格式录入错误');}" Height=20px></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="hdLOCKFLAG" runat="server"/>
<input type="hidden" id="hd_comboCARRIE" runat="server"/>
<input type="hidden" id="hd_comboFORWARDER" runat="server"/>
<input type="hidden" id="hd_comboPODLOAD" runat="server"/>
<input type="hidden" id="hd_comboPORTDISCHARGE" runat="server"/>
<input type="hidden" id="hd_comboSVC" runat="server"/>
<input type="hidden" id="hd_comboLANE" runat="server"/>
<input type="hidden" id="hd_comboETD" runat="server"/>
<input type="hidden" id="hd_comboSICUT" runat="server"/>
<input type="hidden" id="hd_comboCUSCLSG" runat="server"/>
<input type="hidden" id="hd_comboCYCLSG" runat="server"/>
<input type="hidden" id="hd_comboVIA" runat="server"/>
<input type="hidden" id="hdCOMPANYID" runat="server"/>
<input type="hidden" id="hdLANE" runat="server"/>
</div>
<div style="height:100px"></div>
</form>
</body>
</html>