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.
435 lines
20 KiB
Plaintext
435 lines
20 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WmsWmsrateTestList.aspx.cs" Inherits="DSWeb.WMS.WmsWmsrateTestList" %>
|
|
|
|
<!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;}
|
|
.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;
|
|
}
|
|
.btn-content0{
|
|
width:100%;
|
|
height:30px;
|
|
background:url("../images/content-header.gif");
|
|
cursor:default;
|
|
}
|
|
</style>
|
|
<!--Grid-->
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
|
|
<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>
|
|
<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/jsGridWmsWmsrateTestList.js" type="text/javascript"></script>
|
|
<script src="../js/jsGridWmsWmsrateTestList_2.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">
|
|
window.dhx_globalImgPath = "../images/";
|
|
</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;}
|
|
.style1
|
|
{
|
|
width: 70px;
|
|
}
|
|
.style2
|
|
{
|
|
width: 90px;
|
|
}
|
|
.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>
|
|
<style type="text/css">
|
|
*{ margin:0; padding:0;}
|
|
html,body{ width:100%; height:100%; overflow:hidden;}
|
|
.containercss{ position:relative; width:100%; height:100%; overflow-y:scroll; overflow-x:auto;}
|
|
.topcss{ width:100%; position:absolute; top:0; left:0;}
|
|
.boxcss{ height:610px;}
|
|
</style>
|
|
<!--下拉菜单-->
|
|
<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:80px;
|
|
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;
|
|
}
|
|
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
|
|
</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>
|
|
<!--下拉菜单 End-->
|
|
<script type="text/javascript"> //回车键控制
|
|
document.onkeypress = function () {
|
|
if (event.keyCode == 13) {
|
|
ShowDetailFresh();
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="initCombo();createGrid();initLog2();" style=" overflow:hidden;border:0px; width:100%; height:100%">
|
|
<form id="form1" runat="server">
|
|
<p class="topcss">
|
|
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
|
|
<div class="btn-blank"></div>
|
|
<div class="xbtn-img" onclick="printFee()">
|
|
<div class="btnimg"><img src="../images/icons/print.gif" width="16px" title="打印"/></div>
|
|
</div>
|
|
<div class="xbtn2" style="width:40px;">
|
|
<div class="btncss" style=" width:30px; height:16px; text-decoration: none; text-align:center; font-size:12px; color:Black;">
|
|
<a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'anylinkmenu2')" style="text-decoration: none; font-size:12px; color:Black;">导出</a>
|
|
</div>
|
|
<div id="anylinkmenu2" class="anylinkcss" style=" width:50px;" runat="server">
|
|
<a href="#" style="text-decoration: none; font-size:12px; color:Black;" id="imgAdd" onclick="setExcel();" runat="server">列表</a>
|
|
<a href="#" style="text-decoration: none; font-size:12px; color:Black;" id="imgAdd2" onclick="setExcel2();" runat="server">明细(收)</a>
|
|
<a href="#" style="text-decoration: none; font-size:12px; color:Black;" id="imgAdd3" onclick="setExcel3();" runat="server">明细(付)</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</p>
|
|
<table>
|
|
<tr>
|
|
<td style="width:10px;"></td>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">计费日期:</div></td>
|
|
<td style="width:110px;"><input runat=server type="text" id="txt_outDate" onclick="WdatePicker()" style="width:100px" class="txtTab"/></td>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">货主名称:</div></td>
|
|
<td style="width:110px;"><select id="sel_customer" runat="server" style="width:100px;" class="txtTab"></select></td>
|
|
<td style="width:55px;"><div style="width:55px; text-align:right;">提单号:</div></td>
|
|
<td style="width:110px;"><input type="text" id="txt_blno" runat="server" class="txtTab" style="width:100px;"/></td>
|
|
<td style="width:80px;"><div style="width:80px; text-align:right;">备案清单号:</div></td>
|
|
<td style="width:110px;"><input type="text" id="txt_customno" runat="server" class="txtTab" style="width:100px;"/></td>
|
|
|
|
<td style="width:10px;"><input type="checkbox" id="ck_isout" runat="server" style="width:10px; display:none;"/><div style="width:90px; display:none; text-align:right;">是否包括已出库</div></td>
|
|
|
|
<td style="width:50px;">
|
|
<input id="btislock" runat="server" type="button" value="查询" onclick="search();" style="width:40px; height:20px;" class="btncss"/>
|
|
</td>
|
|
<td style="width:40px;">
|
|
<input id="btnotislock" runat="server" type="button" value="清空" onclick="initGrid();" style="width:40px; height:20px;" class="btncss"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div id=divTier class="containercss" style="float:left; width:100%;height:550px; overflow-y:scroll; overflow-x:hidden;">
|
|
<!-- 内容开始 -->
|
|
<div style=" width:100%; overflow:hidden;" oncontextmenu="return false">
|
|
<div id="mygrid_container_log" style="width:100%; height:420px;" runat="server" class="cssfont"></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" />
|
|
<input type="hidden" id="hid_associatedno" 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>
|
|
<div id="divfee">
|
|
<div style="font-size:large; font-weight:bold; color:#96B3DD; width:120px;" >
|
|
仓储费用明细
|
|
<hr color="#96B3DD" />
|
|
</div>
|
|
<div class="btn-content">
|
|
<div class="btn-blank"></div>
|
|
<div id="divrefresh2" runat=server class="xbtn-img" onclick="refreshRecv2();">
|
|
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新"/></div>
|
|
</div>
|
|
</div>
|
|
<div oncontextmenu="return false">
|
|
<div id="mygrid_container_log2" style="width:100%; height:420px;" runat="server" class="cssfont"></div></div>
|
|
<div id="pager2" style="width: 100%; margin: 0px; padding: 4px; border: 0px solid #999;text-align: center;"></div>
|
|
<div id="info2" style="text-align: center; width: 100%; margin: 0 2px; padding: 4px; border: 1px solid #999; display: none;"></div>
|
|
<div>
|
|
<input type="hidden" id="hid_setting2" runat="server" />
|
|
<input type="hidden" id="hid_header2" runat="server" />
|
|
<div id="dvSaveState2" runat="server"></div>
|
|
<div id="divh2" style="display: none;">
|
|
<div class="box">
|
|
<div id="tit2"></div>
|
|
<div id="bod2"></div>
|
|
<div id="bot2"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 内容结束 -->
|
|
</div>
|
|
<div>
|
|
<input type="hidden" id="h_searchJson" runat="server"/>
|
|
<input type="hidden" id="h_customer" runat="server"/>
|
|
<input type="hidden" id="h_outDate" runat="server" />
|
|
<input type="hidden" id="h_blno" runat="server"/>
|
|
<input type="hidden" id="h_issearch" runat="server"/>
|
|
<input type="hidden" id="hid_strSel" runat="server" />
|
|
<input type="hidden" id="hdSQL" runat="server" />
|
|
<asp:ImageButton ID="ibExcel" runat="server" ImageUrl="../images/icons/excel.gif" ToolTip="导出" class="cssfont" style="display:none; visibility:hidden" onclick="ibExcel_Click"/>
|
|
<asp:ImageButton ID="ibExcel2" runat="server" ImageUrl="../images/icons/excel.gif" ToolTip="导出" class="cssfont" style="display:none; visibility:hidden" onclick="ibExcel2_Click"/>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|