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.
545 lines
25 KiB
Plaintext
545 lines
25 KiB
Plaintext
10 months ago
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SeaeAdjustETD.aspx.cs" Inherits="DSWeb.Shipping.SeaeAdjustETD" %>
|
||
|
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||
|
<head id="Head1" runat="server">
|
||
|
<title>调整船期</title>
|
||
|
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
|
||
|
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
|
||
|
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.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/json2.js" type="text/javascript"></script>
|
||
|
<script src="../js/m97date/wdatepicker.js" type="text/javascript"></script>
|
||
|
<script type="text/javascript" src="../js/browser.js" ></script>
|
||
|
<script src="../js/jsGridSeaeAdjustETD.js" type="text/javascript"></script>
|
||
|
<style type="text/css">
|
||
|
#divh { position:absolute; z-index:1001; left:40%; top:30%; width:300px; margin-left:-200px; border:solid 6px #ddd; }
|
||
|
.box { border:solid 1px #999; font-size:14px;}
|
||
|
#tit { border-bottom:solid 1px #999;background-color:#cccccc; padding:6px; font-weight:bold;}
|
||
|
#bod { background-color:#ffffff; padding:20px; }
|
||
|
#bot { border-top:solid 1px #999;background-color:#cccccc; text-align:right;}
|
||
|
.menu { position:absolute; z-index:101; width:150px; border:solid 1px #999; padding:2px; background-color:#ffffff;}
|
||
|
.menu a {padding:5px 6px; font-size:12px; color:#000000; cursor:default; text-decoration:none; padding-top:1px; width:90px;}
|
||
|
.menu a:hover { background-color:#507cd1; color:#ffffff;}
|
||
|
|
||
|
.regular{text-decoration:none;cursor:default; margin-right:20px;}
|
||
|
.imgLeftButton{
|
||
|
background-image:url(../images/icons/edit_right.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;}
|
||
|
.imgLeftHoverButton{
|
||
|
background-image:url(../images/icons/edit_righthover.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
|
||
|
}
|
||
|
|
||
|
.imgRightButton{
|
||
|
background-image:url(../images/icons/edit_left.gif);height:19px;width:19px; margin-left:22px;
|
||
|
}
|
||
|
.imgRightHoverButton{
|
||
|
background-image:url(../images/icons/edit_lefthover.gif);height:19px;width:19px; margin-left:22px;
|
||
|
}
|
||
|
|
||
|
.imgUpButton{
|
||
|
background-image:url(../images/icons/edit_up.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
|
||
|
}
|
||
|
.imgUpHoverButton{
|
||
|
background-image:url(../images/icons/edit_uphover.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
|
||
|
}
|
||
|
|
||
|
.imgDownButton{
|
||
|
background-image:url(../images/icons/edit_down.gif);height:19px;width:19px; margin-left:22px;
|
||
|
}
|
||
|
.imgDownHoverButton{
|
||
|
background-image:url(../images/icons/edit_downhover.gif);height:19px;width:19px; margin-left:22px;
|
||
|
}
|
||
|
.enterButton{
|
||
|
display:block;
|
||
|
float:left;
|
||
|
margin:0 7px 0 0;
|
||
|
background-color:#d5d5d5;
|
||
|
border:1px solid #dedede;
|
||
|
border-top:1px solid #eee;
|
||
|
border-left:1px solid #eee;
|
||
|
|
||
|
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
|
||
|
font-size:12px;
|
||
|
line-height:130%;
|
||
|
text-decoration:none;
|
||
|
font-weight:bold;
|
||
|
color:#565656;
|
||
|
cursor:default;
|
||
|
padding:5px 10px 6px 7px; /* Links */
|
||
|
width:60px;
|
||
|
text-align:center;
|
||
|
margin-top:8px;
|
||
|
margin-left:20px;
|
||
|
|
||
|
}
|
||
|
|
||
|
.enterButton:hover{
|
||
|
background-color:#dff4ff;
|
||
|
border:1px solid #c2e1ef;
|
||
|
color:#336699;
|
||
|
}
|
||
|
.enterButton:active{
|
||
|
background-color:#6299c5;
|
||
|
border:1px solid #6299c5;
|
||
|
color:#fff;
|
||
|
}
|
||
|
.dvMenu{
|
||
|
display:block;
|
||
|
background-color:#ffffff;
|
||
|
border:1px solid #dedede;
|
||
|
border-top:1px solid #eee;
|
||
|
border-left:1px solid #eee;
|
||
|
|
||
|
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
|
||
|
font-size:12px;
|
||
|
line-height:130%;
|
||
|
text-decoration:none;
|
||
|
font-weight:bold;
|
||
|
color:#565656;
|
||
|
cursor:default;
|
||
|
padding:8px 0px 6px 7px; /* Links */
|
||
|
width:95%;
|
||
|
text-align:center;
|
||
|
|
||
|
}
|
||
|
.dvMenu:hover{
|
||
|
background-color:#dff4ff;
|
||
|
border:1px solid #c2e1ef;
|
||
|
color:#336699;
|
||
|
}
|
||
|
.dvMenu:active{
|
||
|
background-color:#6299c5;
|
||
|
border:1px solid #6299c5;
|
||
|
color:#fff;
|
||
|
}
|
||
|
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
|
||
|
.btncss
|
||
|
{
|
||
|
BORDER-RIGHT: #2C59AA 1px solid;
|
||
|
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
|
||
|
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
|
||
|
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
|
||
|
BORDER-BOTTOM: #2C59AA 1px solid;
|
||
|
}
|
||
|
</style>
|
||
|
<script type="text/javascript">
|
||
|
var commonGridObj;
|
||
|
function createGrid(id){
|
||
|
var headerArgs = new Array("<input type=\"checkbox\" id=\"ck_all\" onclick=\"checkall('ck_all')\" />","业务状态","费用状态","委托方式","录入人","录入日期","会计期间","主提单号","分提单号","委托编号","运单号","装运方式",
|
||
|
"场站","船名","航次","开船日期","截港日期","预抵日期","装货港","卸货港","交货地","目的地","运输条款","品名",
|
||
|
"货物毛重","货物尺码","件数","包装","箱TEU","集装箱","操作员","客服","航线","揽货人","船公司","订舱代理",
|
||
|
"报关行","承运车队","发票号","业务来源","来源明细","订舱类型","订舱编号","装箱类型","仓库","截单日期","集港日期");
|
||
|
|
||
|
var widthArgs = new Array("30","60","60","60","60","110","60","100","100","150","150","150",
|
||
|
"100","150","100","100","100","100","150","150","150","150","150","150",
|
||
|
"100","150","100","100","100","100","150","150","150","150","150","150",
|
||
|
"100","150","100","100","100","100","150","150","150","110","110");
|
||
|
|
||
|
var colAlignArgs= new Array("center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center","center",
|
||
|
"center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center","center","center","center","center",
|
||
|
"center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center","center","center","center","center" ,"center",
|
||
|
"center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center" ,"center","center","center","center");
|
||
|
|
||
|
var colSortArgs = new Array("na","str","str","str","str","str","str","str","str","str","str","str",
|
||
|
"str","str","str","str","str","str","str","str","str","str","str","str",
|
||
|
"str","str","str","str","str","str","str","str","str","str","str","str",
|
||
|
"str","str","str","str","str","str","str","str","str","str","str");
|
||
|
|
||
|
var colTypeArgs = new Array("ch","ro","ro","ro","ro","ro","ro","ro","ro","ro","ro","ro",
|
||
|
"ro","ro","ro","ro","ro","ro","ro","ro","ro","ro","ro","ro",
|
||
|
"ro","ro","ro","ro","ro","ro","ro","ro","ro","ro","ro","ro",
|
||
|
"ro","ro","ro","ro","ro","ro","ro","ro","ro","ro","ro");
|
||
|
|
||
|
|
||
|
// var responseUrl = "SeaeAdjustETDGridSource.aspx";
|
||
|
// var skin = "xp";
|
||
|
// var imageUrl = "../images/";
|
||
|
//
|
||
|
// commonGridObj = new TGridCommon("mygrid_container_seae","form1",headerArgs,widthArgs,colAlignArgs,colSortArgs,colTypeArgs,responseUrl,skin,imageUrl,1);
|
||
|
//
|
||
|
// commonGridObj.initGrid();
|
||
|
// setTimeout(function(){
|
||
|
// commonGridObj.clickEvent(1);
|
||
|
// },500);
|
||
|
// }
|
||
|
|
||
|
commonGridObj = new TGridCommon("mygrid_container_seae","form1",headerArgs,widthArgs,colAlignArgs,colSortArgs,colTypeArgs);
|
||
|
//self.responseUrl + "?handle=list&i_page&show_page="+self.pageShowCount.toString()+"&cur_page=1&condition="+self.condition
|
||
|
commonGridObj.setResponseUrl("SeaeAdjustETDGridSource.aspx");
|
||
|
commonGridObj.setRequest("SeaeAdjustETDGridSource.aspx?handle=list&show_page=15&cur_page=1&type=1&tbNO="+escape($("tbNO").value)+"&VESSEL="+escape($("hd_comboVESSEL").value)+"&VOYNO="+escape($("hd_comboVOYNO").value)+"&hdSelect="+$("hdSelect").value);
|
||
|
|
||
|
$("hdAdjust").value="&tbNO="+escape($("tbNO").value)+"&VESSEL="+escape($("hd_comboVESSEL").value)+"&VOYNO="+escape($("hd_comboVOYNO").value)+"&hdSelect="+$("hdSelect").value;
|
||
|
|
||
|
commonGridObj.setSourceType("json");
|
||
|
commonGridObj.setSkin("xp");
|
||
|
commonGridObj.setImageUrl("../images/");
|
||
|
commonGridObj.initGrid();
|
||
|
|
||
|
if(id == 1){
|
||
|
commonGridObj.bind();
|
||
|
commonGridObj.setOpenSet("height=768, width=1024, toolbar=no, menubar=no,scrollbars=no, resizable=1,location=no, status=no,Top= " +(screen.height-710)/2 + ",Left= "+(screen.width-800)/2);
|
||
|
commonGridObj.setOpenType("_blank");
|
||
|
|
||
|
//commonGridObj.dbclickPop();//双击
|
||
|
commonGridObj.initPage();
|
||
|
|
||
|
commonGridObj.getGridObj().enableMultiselect(true);
|
||
|
initMenu("mygrid_container_seae");
|
||
|
}
|
||
|
|
||
|
|
||
|
//commonGridObj.setOpenUrl("../shipping/SeaeAdjustETDGridSource.aspx?handle=edit&id=");
|
||
|
|
||
|
}
|
||
|
|
||
|
function checkall(id){
|
||
|
var checkAllState = $(id).checked;
|
||
|
|
||
|
if(checkAllState == 1){
|
||
|
for(var i = 0;i<commonGridObj.getGridObj().getRowsNum();i++){
|
||
|
commonGridObj.getGridObj().cellByIndex(i,0).setValue(1);
|
||
|
}
|
||
|
}else{
|
||
|
for(var i = 0;i<commonGridObj.getGridObj().getRowsNum();i++){
|
||
|
commonGridObj.getGridObj().cellByIndex(i,0).setValue(0);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function ShowDetailUpdate()
|
||
|
{
|
||
|
if($("tbAdjustETD").value=="")
|
||
|
{
|
||
|
alert("要调整的船期不允许为空!");
|
||
|
return;
|
||
|
}
|
||
|
//
|
||
|
var checked=commonGridObj.getGridObj().getCheckedRows(0);//所有选中的grid的id编号
|
||
|
if(checked!=null && checked!="")
|
||
|
{
|
||
|
// var bz = 0;
|
||
|
// var arrtmp=checked.split(",");//将各参数分离形成参数数组
|
||
|
// for(var i=0;i<arrtmp.length;i++)
|
||
|
// {
|
||
|
// var sRowIndex = commonGridObj.getGridObj().getRowIndex(arrtmp[i]);
|
||
|
// var status = commonGridObj.getGridObj().cellByIndex(sRowIndex,1).getValue();
|
||
|
// if(status=="锁定")
|
||
|
// {
|
||
|
// bz=bz+1;
|
||
|
// }
|
||
|
// }
|
||
|
// if(bz!=0)
|
||
|
// {
|
||
|
// alert("包含业务状态为“锁定”的数据,不允许调整船期!");
|
||
|
// return;
|
||
|
// }
|
||
|
//
|
||
|
if(window.confirm("您确定要调整船期吗?"))
|
||
|
{
|
||
|
var strSdjust ="SeaeAdjustETDGridSource.aspx?handle=adjust&ids="+checked+"&tbAdjustETD="+$("tbAdjustETD").value+"&val="+newGuid();
|
||
|
var loader = dhtmlxAjax.getSync(strSdjust);
|
||
|
var loadVal = loader.xmlDoc.responseText;
|
||
|
if(loadVal=="")
|
||
|
{
|
||
|
alert("操作成功!");
|
||
|
refreshOrder();
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
alert(loadVal);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
alert("请先选择要操作的数据!");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function ShowBSSTATUS(isBsstatus)
|
||
|
{
|
||
|
var checked2=commonGridObj.getGridObj().getCheckedRows(0);//所有选中的grid的id编号
|
||
|
if(checked2!=null && checked2!="")
|
||
|
{
|
||
|
if(window.confirm("您确定要调整业务状态吗?"))
|
||
|
{
|
||
|
var strBSSTATUS ="SeaeAdjustETDGridSource.aspx?handle=bsstatus&isbsstatus="+isBsstatus+"&ids="+checked2+"&val="+newGuid();
|
||
|
var loader2 = dhtmlxAjax.getSync(strBSSTATUS);
|
||
|
var loadVal2 = loader2.xmlDoc.responseText;
|
||
|
if(loadVal2=="")
|
||
|
{
|
||
|
//alert("操作成功!");
|
||
|
refreshOrder();
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
alert("操作失败!");
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
alert("请先选择要操作的数据!");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
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 refreshOrder()
|
||
|
{
|
||
|
//resizeGrid('mygrid_container_seae','gridContain','dvContainer',210);
|
||
|
createGrid(1);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
|
||
|
<!--自定义下拉框-->
|
||
|
<link href="../theme/dhtmlxcombo.css" type="text/css" rel="Stylesheet" media="screen" />
|
||
|
<script type="text/javascript" src="../js/dhtmlxcommon.js"></script>
|
||
|
<script type="text/javascript" src="../js/dhtmlxcombo.js"></script>
|
||
|
<script type="text/javascript" src="../js/dhtmlxcombo_whp.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
window.dhx_globalImgPath="../images/";
|
||
|
</script>
|
||
|
<script type="text/javascript">
|
||
|
var comboVESSEL;//船名
|
||
|
var comboVOYNO;//航次
|
||
|
|
||
|
function $(id)
|
||
|
{
|
||
|
return document.getElementById(id);
|
||
|
}
|
||
|
function initComboVESSEL()//船名
|
||
|
{
|
||
|
comboVESSEL = dhtmlXComboFromSelect("ddlVESSEL");
|
||
|
comboVESSEL.loadXML("../FeeCodes/TCodeVesselAdapter.aspx?mask=0&pos=0");
|
||
|
//
|
||
|
comboVOYNO = dhtmlXComboFromSelect("ddlVOYNO");
|
||
|
var strVESSEL=$("hd_comboVESSEL").value;
|
||
|
comboVOYNO.loadXML("../FeeCodes/TCodeVoynoAdapter.aspx?mask=0&pos=0&strVESSEL="+strVESSEL);
|
||
|
}
|
||
|
function initComboVESSEL2()//船名
|
||
|
{
|
||
|
comboVESSEL.setComboText($("hd_comboVESSEL").value);
|
||
|
comboVESSEL.attachEvent("onKeyPressed", function(keyCode)
|
||
|
{
|
||
|
if(keyCode!="8")
|
||
|
{
|
||
|
var arrayArg = new Array();
|
||
|
setTimeout(function()
|
||
|
{
|
||
|
var filterCount = 0;
|
||
|
if("" != comboVESSEL.getComboText().trim())
|
||
|
{
|
||
|
while("undefined" != typeof comboVESSEL.getOptionByIndex(filterCount))
|
||
|
{
|
||
|
var comboValue = comboVESSEL.getOptionByIndex(filterCount).text.toUpperCase();//.value;
|
||
|
var enterValue = comboVESSEL.getComboText().toUpperCase();
|
||
|
$("hd_comboVESSEL").value = comboVESSEL.getComboText().toUpperCase();
|
||
|
if(comboValue.indexOf(enterValue) == 0)
|
||
|
{
|
||
|
comboVESSEL.selectOption(filterCount,true,true);
|
||
|
$("hd_comboVESSEL").value = comboVESSEL.getComboText().trim();
|
||
|
break;
|
||
|
}
|
||
|
++filterCount;
|
||
|
}
|
||
|
}
|
||
|
},10);}});
|
||
|
comboVESSEL.attachEvent("onBlur", function()
|
||
|
{
|
||
|
$("hd_comboVESSEL").value = comboVESSEL.getComboText().trim();
|
||
|
$("hd_comboVOYNO").value="";
|
||
|
initComboVOYNO();
|
||
|
});
|
||
|
comboVESSEL.attachEvent("onChange", function()
|
||
|
{
|
||
|
comboVESSEL.setComboText($("hd_comboVESSEL").value);
|
||
|
});
|
||
|
comboVESSEL.attachEvent("onSelectionChange", function()
|
||
|
{
|
||
|
$("hd_comboVESSEL").value = comboVESSEL.getComboText().trim();
|
||
|
});
|
||
|
}
|
||
|
function initComboVOYNO()//航次
|
||
|
{
|
||
|
var strVESSEL;
|
||
|
try
|
||
|
{
|
||
|
strVESSEL=comboVESSEL.getSelectedValue().trim();//$("hd_comboVESSEL").value;
|
||
|
}
|
||
|
catch(e)
|
||
|
{
|
||
|
strVESSEL="";
|
||
|
}
|
||
|
//var strVESSEL=comboVESSEL.getSelectedValue().trim();//$("hd_comboVESSEL").value;
|
||
|
comboVOYNO.loadXML("../FeeCodes/TCodeVoynoAdapter.aspx?mask=0&pos=0&strVESSEL="+strVESSEL);
|
||
|
comboVOYNO.setComboText($("hd_comboVOYNO").value);
|
||
|
comboVOYNO.attachEvent("onChange", function()
|
||
|
{
|
||
|
comboVOYNO.setComboText($("hd_comboVOYNO").value);
|
||
|
});
|
||
|
comboVOYNO.attachEvent("onKeyPressed", function(keyCode)
|
||
|
{
|
||
|
if(keyCode!="8")
|
||
|
{
|
||
|
var arrayArg = new Array();
|
||
|
setTimeout(function()
|
||
|
{
|
||
|
var filterCount = 0;
|
||
|
if("" != comboVOYNO.getComboText().trim())
|
||
|
{
|
||
|
while("undefined" != typeof comboVOYNO.getOptionByIndex(filterCount))
|
||
|
{
|
||
|
var comboValue = comboVOYNO.getOptionByIndex(filterCount).text.toUpperCase();//.value;
|
||
|
var enterValue = comboVOYNO.getComboText().trim().toUpperCase();
|
||
|
$("hd_comboVOYNO").value = comboVOYNO.getComboText().trim().toUpperCase();
|
||
|
if(comboValue.indexOf(enterValue) == 0)
|
||
|
{
|
||
|
comboVOYNO.selectOption(filterCount,true,true);
|
||
|
break;
|
||
|
}
|
||
|
++filterCount;
|
||
|
}
|
||
|
}
|
||
|
},10);}});
|
||
|
comboVOYNO.attachEvent("onSelectionChange", function()
|
||
|
{
|
||
|
$("hd_comboVOYNO").value = comboVOYNO.getComboText().trim();
|
||
|
});
|
||
|
}
|
||
|
function ShowDetailSelect()
|
||
|
{
|
||
|
$("hdSelect").value="1";
|
||
|
createGrid(1);
|
||
|
}
|
||
|
function imgEditChangePic()
|
||
|
{
|
||
|
var pic1=document.getElementById("imgEdit");
|
||
|
var start=pic1.src.lastIndexOf("/");
|
||
|
var str=pic1.src.substring(start+1);
|
||
|
if(str=="audit.gif")
|
||
|
{
|
||
|
pic1.src="../images/order_delete.gif";
|
||
|
//pic1.alt="我是B图片";
|
||
|
}
|
||
|
else if(str=="order_delete.gif")
|
||
|
{
|
||
|
pic1.src="../images/audit.gif";
|
||
|
//pic1.alt="我是A图片";
|
||
|
}
|
||
|
}
|
||
|
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图片";
|
||
|
}
|
||
|
}
//回车键控制
document.onkeypress=function()
|
||
|
{
|
||
|
if(event.keyCode==13)
|
||
|
{
|
||
|
ShowDetailSelect();
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="resizeGrid('mygrid_container_seae','gridContain','dvContainer',210);initComboVESSEL();initComboVESSEL2();initComboVOYNO();createGrid(0)">
|
||
|
<div style=" width:100%; height:100%; position:relative;" oncontextmenu="return true" id="dvContainer">
|
||
|
<form id="form1" runat="server">
|
||
|
<div style=" width:100%; height:100%;" oncontextmenu="return true">
|
||
|
<div class="btn-content">
|
||
|
<div class="btn-blank"></div>
|
||
|
<div class="xbtn-img" onclick="refreshOrder()">
|
||
|
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表"/></div>
|
||
|
</div>
|
||
|
<div class="btn-blank"></div>
|
||
|
<div class="xbtn-img" style="width:240px;">
|
||
|
<asp:TextBox ID="tbAdjustETD" runat="server" onclick="WdatePicker()" Width=150px ReadOnly=true CssClass="txtTab"></asp:TextBox>
|
||
|
<input id="btAdjustETD" type="button" value="调整船期" style="height:20px; width:80px;" onclick="ShowDetailUpdate();" class="btncss"/>
|
||
|
</div>
|
||
|
<div class="btn-blank"></div>
|
||
|
<div class="xbtn-img" style="width:80px;">
|
||
|
<input id="btBSSTATUS" type="button" value="业务锁定" style="height:20px; width:80px;" onclick="ShowBSSTATUS(1);" class="btncss"/>
|
||
|
</div>
|
||
|
<div class="btn-blank"></div>
|
||
|
<div class="xbtn-img" style="width:80px;">
|
||
|
<input id="Button1" type="button" value="业务解锁" style="height:20px; width:80px;" onclick="ShowBSSTATUS(0);" class="btncss"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<table style="width:100%">
|
||
|
<tr>
|
||
|
<td style="width:20px;"></td>
|
||
|
<td style="width:60px;"><div style="width:60px; text-align:right;" class="cssfont">主提单号:</div></td>
|
||
|
<td style="width:112px;"><asp:TextBox ID="tbNO" runat="server" MaxLength="30" Width="112px" CssClass="txtTab"></asp:TextBox></td>
|
||
|
<td style="width:60px;"><div style="width:60px; text-align:right;" class="cssfont">船名:</div></td>
|
||
|
<td style="width:140px;"><select id="ddlVESSEL" runat="server" class="txtTab" style="width:140px"></select></td>
|
||
|
<td style="width:40px;"><div style="width:40px; text-align:right;" class="cssfont">航次:</div></td>
|
||
|
<td style="width:120px;"><select id="ddlVOYNO" runat="server" class="txtTab" style="width: 112px"></select></td>
|
||
|
<td style="width:80px;">
|
||
|
<div onclick="ShowDetailSelect()" style="margin-left:5px;width:80px;">
|
||
|
<div style="width:20px; height:20px; float:left;margin-top:3px;"><img src="../images/icons/btnSearch.gif" title="查询费用" class="cssfont"/></div>
|
||
|
<div style="float:left; font-size:12px; cursor:default;margin-top:5px; width:60px;">查询</div></div>
|
||
|
</td>
|
||
|
<td width="40%"></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<div class="grid-ie7" id="gridContain"><div id="mygrid_container_seae" style="width:5600px; height:420px;" runat="server" class="cssfont"></div></div>
|
||
|
<div id="pager" style="width: 100%; margin: 0px; padding: 4px; border: 0px solid #999;">
|
||
|
</div>
|
||
|
<div id="info" style="text-align: center; width: 100%; margin: 0 2px; padding: 4px; border: 1px solid #999; display:none;"></div>
|
||
|
<div>
|
||
|
<input type="hidden" id="hd_comboVESSEL" runat="server" />
|
||
|
<input type="hidden" id="hd_comboVOYNO" runat="server" />
|
||
|
<input type="hidden" id="hdAdjust" runat="server" />
|
||
|
<input type="hidden" id="hdSelect" runat="server" />
|
||
|
<input type="hidden" id="hdGIDS" runat="server" />
|
||
|
|
||
|
<input type="hidden" id="hid_setting" runat="server"/>
|
||
|
<input type="hidden" id="hid_header" runat="server" />
|
||
|
<div id="dvSaveState" runat="server"></div>
|
||
|
<div id="divh" style="display: none;">
|
||
|
<div class="box">
|
||
|
<div id="tit"></div>
|
||
|
<div id="bod"></div>
|
||
|
<div id="bot"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|