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.
DS7/DSWeb/SeaiInfoLCL/WmsOutLCLList.aspx

199 lines
12 KiB
Plaintext

3 years ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WmsOutLCLList.aspx.cs" Inherits="DSWeb.SeaiInfoLCL.WmsOutLCLList" %>
<!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: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;
}
</style>
<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"/>
<link href="../theme/dhtmlxcombo.css" type="text/css" rel="Stylesheet" media="screen"/>
<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/TGridCommonWmsOutLCLList.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" src="../js/m97date/wdatepicker.js"></script>
<script src="../js/browser.js" type="text/javascript"></script>
<script type="text/javascript">
window.dhx_globalImgPath="../images/";
function document.onkeydown(){
if(event.keyCode==116){
event.keyCode = 0;
event.cancelBubble = true;
return false;
}
}
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 setExcel()
{
if(confirm('确定要导出报表吗?'))
{
var loader;
if($("h_curpage").value==null || $("h_curpage").value==""){
$("h_curpage").value="1";
}
if($("h_searchJson").value==null || $("h_searchJson").value==""){
loader = dhtmlxAjax.getSync("WmsRateLCLGridSource.aspx?handle=wmsoutlistexcel&cur_page="+$("h_curpage").value+"&show_page=15&val="+newGuid()+"&opseaibsno="+$("h_bsno").value);
}
else{
loader = dhtmlxAjax.getSync("WmsRateLCLGridSource.aspx?handle=wmsoutlistexcel&cur_page="+$("h_curpage").value+"&show_page=15&val="+newGuid()+"&search="+escape($("h_searchJson").value));
}
$("hdSQL").value = loader.xmlDoc.responseText;
document.getElementById("btExcel1").click();
}
}
</script>
<script src="../js/WmsOutLCLList.js" type="text/javascript"></script>
</head>
<body onload="resizeGrid('mygrid_container_invoiceapp','gridContain','dvContainer',230);createGrid();initCombo();" style="overflow:hidden;">
<div class="btn-content" oncontextmenu="return true" id="dvContainer">
<div class="btn-blank"></div>
<div style="float:left; font-size:9px; cursor:default;margin-top:5px; width:80px;">
<input type="button" class="btncss" id="btn_Out" value="出库管理" onclick="addApplication()" />
</div>
<div style="float:left; font-size:9px; cursor:default;margin-top:5px; width:80px;">
<input type="button" class="btncss" id="btn_Change" value="货权转移" onclick="changecustomer()" />
</div>
<div style="float:left; font-size:9px; cursor:default;margin-top:5px; width:80px;">
<input type="button" class="btncss" id="btn_Losses" value="盘亏处理" onclick="setLosses()" />
</div>
<div class="xbtn-img" onclick="deleteUnpostApplication()" >
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除出库单"/></div>
</div>
<div class="xbtn-img" id="divexcel" runat=server onclick="setExcel()" >
<div class="btnimg"><img src="../images/icons/excel.gif" width="16px" height="16px" title="导出" class="cssfont"/></div>
</div>
<div class="xbtn-img" onclick="printInvoice()">
<div class="btnimg"><img src="../images/icons/print.gif" width="16px" title="打印出库单"/></div>
</div>
<div class="xbtn-img" onclick="refreshList()">
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表"/></div>
</div>
<div class="xbtn">
<input id="btislock" runat="server" type="button" value="费用入账" onclick="setislock();" style="width:70px; height:20px;" class="btncss"/>
</div>
<div class="xbtn">
<input id="btnotislock" runat="server" type="button" value="取消入账" onclick="setnotlock();" style="width:70px; height:20px;" class="btncss"/>
</div>
</div>
<table style="width:100%" >
<tr>
<td style="width:20px;"></td>
<td style="width:60px;"><div style="width:60px; text-align:right;">出库日期:</div></td>
<td style="width:70px;"><input type="text" id="txt_beginDate" onclick="WdatePicker()" style="width:70px" class="txtTab"/></td>
<td style="width:8px;"><div style="width:8px;">~</div></td>
<td style="width:70px;"><input type="text" id="txt_endDate" onclick="WdatePicker()" style="width:70px" class="txtTab"/></td>
<td style="width:60px;"><div style="width:60px; text-align:right;">出库人:</div></td>
<td style="width:130px;"><select id="sel_customer" runat="server" style="width:100px;" class="txtTab"></select></td>
<td style="width:40px; display:none;" id="Pm1" ><div style="width:40px; text-align:right;">品名:</div></td>
<td style="width:130px; display:none;" id ="Pm2"><select id="sel_goods" runat="server" style="width:100px;" class="txtTab"></select></td>
<td style="width:40px; display:none;" id="Bh1"><div style="width:40px; text-align:right;">编号:</div></td>
<td style="width:110px; display:none;" id="Bh2"><input type="text" id="txt_bsno" runat="server" class="txtTab" style="width:100px;"/></td>
<td style="width:80px;">
<div onclick="search()" style="margin-left:5px;width:60px;">
<div style="width:20px; height:20px; float:left;margin-top:3px;"><img src="../images/icons/btnSearch.gif" title="查询"/></div>
<div style="float:left; font-size:12px; cursor:default;margin-top:5px; width:40px;">查询</div></div>
</td>
<td width="20px"></td>
<td style="width:60px;"><div style="float:left; font-size:12px; cursor:default;margin-top:2px; width:60px;" onclick="initGrid()">清空条件</div></td>
<td width="30%"></td>
</tr>
</table>
<div class="grid-ie7" id="gridContain" style="overflow:hidden;"><div id="mygrid_container_invoiceapp" style="width:100%; height:450px;" runat="server" oncontextmenu="return true"></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 style="width:99%" id="dvGain">
<table>
<tr>
<td><div id="div1" runat="server" class="feeTitle" style="width:100px;">【当前页合计】</div></td>
<td><div id="divFeeT" runat="server" class="feeTitle" style="width:100px;">仓储费应收:</div></td>
<td><div id="divFeeV" runat="server" class="feePayAmount" style="width:70px;"></div></td>
<td><div id="div5" runat="server" class="feeTitle" style="width:100px;">装卸费应收:</div></td>
<td><div id="divFeeV3" runat="server" class="feePayAmount" style="width:70px;"></div></td>
<td><div id="divPACKT" runat="server" class="feeTitle" style="width:100px;">出库件数:</div></td>
<td><div id="divPACKV" runat="server" class="feePayAmount" style="width:70px;"></div></td>
<td><div id="divKGST" runat="server" class="feeTitle" style="width:100px;">出库量:</div></td>
<td><div id="divKGSV" runat="server" class="feePayAmount" style="width:70px;"></div></td>
</tr>
<tr>
<td><div id="div8" runat="server" class="feeTitle" style="width:100px;"></div></td>
<td><div id="div4" runat="server" class="feeTitle" style="width:100px;">仓储费应付:</div></td>
<td><div id="divFeeV2" runat="server" class="feePayAmount" style="width:70px;"></div></td>
<td><div id="div6" runat="server" class="feeTitle" style="width:100px;">装卸费应付:</div></td>
<td><div id="divFeeV4" runat="server" class="feePayAmount" style="width:70px;"></div></td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td><div id="div2" runat="server" class="feeTitle" style="width:100px;">【全部页合计】</div></td>
<td><div id="divFeeTH" runat="server" class="feeTitle" style="width:100px;">仓储费应收合计:</div></td>
<td><div id="divFeeVH" runat="server" class="feePayAmount" style="width:70px;"></div></td>
<td><div id="div7" runat="server" class="feeTitle" style="width:100px;">装卸费应收合计:</div></td>
<td><div id="divFeeVH3" runat="server" class="feePayAmount" style="width:70px;"></div></td>
<td><div id="divPACKTH" runat="server" class="feeTitle" style="width:100px;">出库件数合计:</div></td>
<td><div id="divPACKVH" runat="server" class="feePayAmount" style="width:70px;"></div></td>
<td><div id="divKGSTH" runat="server" class="feeTitle" style="width:100px;">出库量合计:</div></td>
<td><div id="divKGSVH" runat="server" class="feePayAmount" style="width:70px;"></div></td>
</tr>
<tr>
<td><div id="div10" runat="server" class="feeTitle" style="width:100px;"></div></td>
<td><div id="div3" runat="server" class="feeTitle" style="width:100px;">仓储费应付合计:</div></td>
<td><div id="divFeeVH2" runat="server" class="feePayAmount" style="width:70px;"></div></td>
<td><div id="div9" runat="server" class="feeTitle" style="width:100px;">装卸费应付合计:</div></td>
<td><div id="divFeeVH4" runat="server" class="feePayAmount" style="width:70px;"></div></td>
</tr>
</table>
</div>
<form id="form1" runat="server">
<div>
<input type="hidden" id="h_customer" runat="server"/>
<input type="hidden" id="h_searchJson" runat="server"/>
<input type="hidden" id="h_beginetd" runat="server" />
<input type="hidden" id="h_endetd" runat="server" />
<input type="hidden" id="h_goods" runat="server" />
<input type="hidden" id="h_bsno" runat="server"/>
<input type="hidden" id="h_showPm" runat="server"/>
<input type="hidden" id="h_curpage" runat=server/>
<input type="hidden" id="hdSQL" runat=server/>
<input type="hidden" id="hdUserID" runat=server/>
<input type="hidden" id="hdNAMES" runat="server" />
<asp:Button ID="btExcel1" runat="server" Text="导出excel" Width=60px Height=20px CssClass="btncss" onclick="btExcel1_Click" style="display:none;"/>
</div>
</form>
</body>
</html>