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.
323 lines
16 KiB
Plaintext
323 lines
16 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SeaImportLCLList.aspx.cs" Inherits="DSWeb.SeaiInfoLCL.SeaImportLCLList" %>
|
|
|
|
<!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>
|
|
<style type="text/css">
|
|
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
|
|
.mesWindow{border:#666 1px solid;background:#fff;}
|
|
.mesWindowTop{border-bottom:#eee 1px solid;margin-left:4px;padding:3px;font-weight:bold;text-align:left;font-size:12px;}
|
|
.mesWindowContent{margin:4px;font-size:12px;}
|
|
.mesWindow .close{height:15px;width:28px;border:none;cursor:pointer;text-decoration:underline;background:#fff}
|
|
.btn
|
|
{
|
|
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>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/buttons.css"/>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/progressbar.css" />
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxcombo.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/TGridCommon.js" type="text/javascript"></script>
|
|
<script src="../js/m97date/wdatepicker.js" type="text/javascript"></script>
|
|
<script src="../js/json2.js" type="text/javascript"></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" src="../js/browser.js" ></script>
|
|
<script type="text/javascript" src="../js/TCombo.js" ></script>
|
|
<script src="../js/jsGridSeaImportLCLList.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
//回车键控制
|
|
document.onkeypress=function()
|
|
{
|
|
if(event.keyCode==13)
|
|
{
|
|
search();
|
|
}
|
|
}
|
|
</script>
|
|
<!--下拉菜单-->
|
|
<style type="text/css">
|
|
.anylinkcss
|
|
{
|
|
position:absolute;
|
|
visibility: hidden;
|
|
border:1px solid #C0C0C0;
|
|
border-bottom-width: 0;
|
|
font:normal 12px Verdana;
|
|
line-height: 18px;
|
|
z-index: 100;
|
|
background-color: #ECF4FF;
|
|
width: 60px;
|
|
}
|
|
.anylinkcss a
|
|
{
|
|
width: 100%;
|
|
display: block;
|
|
text-indent: 3px;
|
|
border-bottom: 1px solid #C0C0C0;
|
|
padding: 1px 0;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
text-indent: 5px;
|
|
}
|
|
.anylinkcss a:hover
|
|
{
|
|
background-color: #C0C0C0;
|
|
color: white;
|
|
}
|
|
.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>
|
|
<script language="javascript">
|
|
var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)
|
|
var enableanchorlink=0 //Enable or disable the anchor link when clicked on? (1=e, 0=d)
|
|
var hidemenu_onclick=1 //hide menu when user clicks within menu? (1=yes, 0=no)
|
|
|
|
var ie5=document.all
|
|
var ns6=document.getElementById && !document.all
|
|
|
|
function getposOffset(what, offsettype)
|
|
{
|
|
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
|
|
var parentEl=what.offsetParent;
|
|
while (parentEl!=null)
|
|
{
|
|
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
|
|
parentEl=parentEl.offsetParent;
|
|
}
|
|
return totaloffset;
|
|
}
|
|
|
|
function showhide(obj, e, visible, hidden)
|
|
{
|
|
if (ie5||ns6)
|
|
dropmenuobj.style.left=dropmenuobj.style.top=-500
|
|
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
|
|
obj.visibility=visible
|
|
else if (e.type=="click")
|
|
obj.visibility=hidden
|
|
}
|
|
|
|
function iecompattest()
|
|
{
|
|
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
|
|
}
|
|
|
|
function clearbrowseredge(obj, whichedge)
|
|
{
|
|
var edgeoffset=0
|
|
if (whichedge=="rightedge")
|
|
{
|
|
var windowedge=ie5 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
|
|
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
|
|
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
|
|
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
|
|
}
|
|
else
|
|
{
|
|
var windowedge=ie5 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
|
|
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
|
|
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
|
|
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
|
|
}
|
|
return edgeoffset
|
|
}
|
|
|
|
function dropdownmenu(obj, e, dropmenuID)
|
|
{
|
|
if (window.event) event.cancelBubble=true
|
|
else if (e.stopPropagation) e.stopPropagation()
|
|
if (typeof dropmenuobj!="undefined") //hide previous menu
|
|
dropmenuobj.style.visibility="hidden"
|
|
clearhidemenu()
|
|
if (ie5||ns6)
|
|
{
|
|
obj.onmouseout=delayhidemenu
|
|
dropmenuobj=document.getElementById(dropmenuID)
|
|
if (hidemenu_onclick) dropmenuobj.onclick=function(){dropmenuobj.style.visibility='hidden'}
|
|
dropmenuobj.onmouseover=clearhidemenu
|
|
dropmenuobj.onmouseout=ie5? function(){ dynamichide(event)} : function(event){ dynamichide(event)}
|
|
showhide(dropmenuobj.style, e, "visible", "hidden")
|
|
dropmenuobj.x=getposOffset(obj, "left")
|
|
dropmenuobj.y=getposOffset(obj, "top")
|
|
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")-3+"px"
|
|
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+3+"px"
|
|
}
|
|
return clickreturnvalue()
|
|
}
|
|
|
|
function clickreturnvalue()
|
|
{
|
|
if ((ie5||ns6) && !enableanchorlink) return false
|
|
else return true
|
|
}
|
|
|
|
function contains_ns6(a, b)
|
|
{
|
|
while (b.parentNode)
|
|
if ((b = b.parentNode) == a)
|
|
return true;
|
|
return false;
|
|
}
|
|
|
|
function dynamichide(e)
|
|
{
|
|
if (ie5 && !dropmenuobj.contains(e.toElement))
|
|
delayhidemenu()
|
|
else if (ns6 && e.currentTarget!= e.relatedTarget && !contains_ns6(e.currentTarget, e.relatedTarget))
|
|
delayhidemenu()
|
|
}
|
|
|
|
function delayhidemenu()
|
|
{
|
|
delayhide=setTimeout("dropmenuobj.style.visibility='hidden'",disappeardelay)
|
|
}
|
|
|
|
function clearhidemenu()
|
|
{
|
|
if (typeof delayhide!="undefined")
|
|
clearTimeout(delayhide)
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="resizeGrid('mygrid_container_seai','gridContain','dvContainer',210);reInitJs();">
|
|
<div style=" width:100%; height:100%; position:relative;" oncontextmenu="return true" id="dvContainer">
|
|
<form id="form1" runat="server">
|
|
<div>
|
|
<table style="border:0; padding:0;">
|
|
<tr>
|
|
<td style="width:10px;" height="20px"></td>
|
|
<td style="width:50px;"><div style="width:50px; text-align:right;">编号:</div></td>
|
|
<td style="width:112px;">
|
|
<asp:TextBox ID="txt_no" runat="server" MaxLength="30" Width="120px" CssClass="txtTab"></asp:TextBox>
|
|
</td>
|
|
<td><div style="width:50px;text-align:right;" class="cssfont">客户:</div></td>
|
|
<td>
|
|
<select id="sel_customer" runat=server style="width:122px" class="txtTab"></select>
|
|
</td>
|
|
<td style="width:50px;"><div style="width:50px;text-align:right;" class="cssfont">船名:</div></td>
|
|
<td style="width:140px;">
|
|
<select id="sel_vessel" runat="server" class="txtTab" style="width: 122px"></select>
|
|
</td>
|
|
<td style="width:70px;" rowspan="2">
|
|
<div class="buttons" onclick="search()" style="float:left"><a href="javascript:void(0)" class="regular" ><img src="../images/icons/btnSearch.gif" title="查询"/>查询</a></div>
|
|
</td>
|
|
<td style="width:120px;" rowspan="2">
|
|
<div class="buttons" onclick="initSearch()" style="float:left"><a href="javascript:void(0)" class="regular" ><img src="../images/icons/btnDel.gif" title="清空条件"/>清空条件</a></div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:10px;"></td>
|
|
<td style="width:50px;"><div style="width:50px; text-align:right;">录入人:</div></td>
|
|
<td style="width:112px;">
|
|
<select id="sel_op" name="sel_op" runat="server" class="txtTab" style="width:122px"></select>
|
|
</td>
|
|
<td style="width:70px;"><div style="width:70px;text-align:right;">录入日期:</div></td>
|
|
<td style="width:110px;">
|
|
<asp:TextBox ID="txt_beginetd" runat="server" onclick="WdatePicker()" Width="120px" ReadOnly=true CssClass="txtTab"></asp:TextBox>
|
|
</td>
|
|
<td width="10px"><div style="width:50px;text-align:center;" class="cssfont">至</div></td>
|
|
<td style="width:110px;">
|
|
<asp:TextBox ID="txt_endetd" runat="server" onclick="WdatePicker()" Width="120px" ReadOnly=true CssClass="txtTab"></asp:TextBox>
|
|
</td>
|
|
<td style="width:50px;"></td>
|
|
<td style="width:112px;">
|
|
<div class="buttons" onclick="searchMultiple()" style="float:left"><a href="javascript:void(0)" class="regular">综合查询</a></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="btn-content">
|
|
<div class="btn-blank"></div>
|
|
<div class="xbtn-img" id=divadd runat=server onclick="addOrder()">
|
|
<div class="btnimg"><img src="../images/icons/new.gif" width="16px" height="16px" title="添加委托" class="cssfont"/></div>
|
|
</div>
|
|
<div class="xbtn-img" id=divcopyadd runat=server onclick="addFullOrder()">
|
|
<div class="btnimg"><img src="../images/cmd-copy.gif" width="16px" height="16px" title="复制添加委托" class="cssfont"/></div>
|
|
</div>
|
|
<div class="xbtn-img" id=divdel runat=server onclick="deleteOrder()">
|
|
<div class="btnimg"><img src="../images/icons/delete.gif" width="16px" title="删除委托" class="cssfont"/></div>
|
|
</div>
|
|
<div class="xbtn-img" id=divfresh runat=server onclick="refreshOrder()">
|
|
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表" class="cssfont"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="editOpseai()">
|
|
<div class="btnimg"><img src="../images/icons/example.gif" width="16px" title="编辑海运进口委托信息"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="editGridSetting()">
|
|
<div class="btnimg"><img src="../images/icons/SET.gif" width="16px" title="设置列表信息"/></div>
|
|
</div>
|
|
<div class="xbtn2" style="width:70px; visibility:hidden;">
|
|
<div class="btncss" style=" width:60px; height:16px;text-decoration: none; font-size:12px; color:Black; text-align:center;" visibility:hidden;>
|
|
<a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'anylinkmenu1')" style="text-decoration: none; font-size:12px; color:Black;">EDI导出</a>
|
|
</div>
|
|
<div id="anylinkmenu1" class="anylinkcss" style=" width:64px;" visibility:hidden;>
|
|
<a href="javascript:void(0);" style="text-decoration: none; font-size:12px; color:Black;" id="btNpsesa" onclick="setNpsesa();">东南船代</a>
|
|
<a href="javascript:void(0);" style="text-decoration: none; font-size:12px; color:Black;" id="btINTTRA" onclick="setINTTRA();">INTTRA</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="grid-ie7" id="gridContain"><div id="mygrid_container_seai" style="width:6200px; height:430px;" runat="server"></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="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>
|
|
<input id="h_customer" type="hidden" runat="server" />
|
|
<input id="h_vessel" type="hidden" runat="server" />
|
|
<input id="h_operator" type="hidden" runat="server" />
|
|
<input id="h_uid" type="hidden" runat="server" />
|
|
<input id="h_searchcache" type="hidden" runat="server"/>
|
|
<input id="h_op" type="hidden" runat="server"/>
|
|
|
|
<input id="hdRangeV" type="hidden" runat="server"/>
|
|
<input id="hdRangeO" type="hidden" runat="server"/>
|
|
<input id="hdRange" type="hidden" runat="server"/>
|
|
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div id="progressBar" class="progressBar">数据正在加载中……</div>
|
|
</body>
|
|
</html>
|