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.
268 lines
15 KiB
Plaintext
268 lines
15 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WmsZXOutEdit.aspx.cs" Inherits="DSWeb.WMS_ZX.WmsZXOutEdit" %>
|
|
|
|
<!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;}
|
|
html,body{font-size:12px;margin:0px;height:100%;}
|
|
.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
|
|
}
|
|
.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;
|
|
background:url("../images/content-header.gif");
|
|
cursor:default;
|
|
}
|
|
.checkbox
|
|
{
|
|
background:url("../images/content-header.gif");
|
|
cursor:default;
|
|
}
|
|
</style>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxmenu.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/progressbar.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/dhtmlxmenu.js" type="text/javascript"></script>
|
|
<script src="../js/dhtmlxmenu_ext.js" type="text/javascript"></script>
|
|
<script src="../js/TGridCommon.js" type="text/javascript"></script>
|
|
<script src="../js/TCombo.js" type="text/javascript"></script>
|
|
<script src="../js/json2.js" type="text/javascript"></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 src="../js/jsGridWmsZXOutEdit.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
window.dhx_globalImgPath="../images/";
|
|
function $(id){
|
|
return document.getElementById(id);
|
|
}
|
|
function document.onkeydown(){
|
|
if(event.keyCode == 8){
|
|
if(document.selection){
|
|
var range = document.selection.createRange();;
|
|
if(range.parentElement().name == null){
|
|
return false;
|
|
}else{
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
function initLoading(){
|
|
$("progressBar").style.display = "";
|
|
}
|
|
function finishLoading(){
|
|
$("progressBar").style.display = "none";
|
|
}
|
|
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 = dhtmlxAjax.getSync("WmsRateGridSource.aspx?handle=wmsoutexcel&cur_page=1&show_page=15&val=" + newGuid() + "&wmsgid="+$("h_bsno").value.trim()+"&wmsoutbsno=" + $("h_outbsno").value);
|
|
$("hdSQL").value = loader.xmlDoc.responseText;
|
|
document.getElementById("btExcel1").click();
|
|
}
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
<body onload="initCombos();createOrder();">
|
|
<input type="hidden" id="h_wmsoutbsno" runat="server" />
|
|
<div oncontextmenu="return true" id="dvContainer">
|
|
<div id="dvContainerWmsin">
|
|
<div style="width:100%;vertical-align:text-bottom;" class="btn-content">
|
|
<div class="btn-blank"></div>
|
|
<div id="divadd" runat=server class="xbtn-img" onclick="AddWmsOut()" style="display:block">
|
|
<div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加"/></div>
|
|
</div>
|
|
<div id="btn_Out" runat=server class="xbtn-img" onclick="OutStorage()">
|
|
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改"/></div>
|
|
</div>
|
|
<div id="divdel" runat=server class="xbtn-img" onclick="DeleteWmsOut()">
|
|
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除"/></div>
|
|
</div>
|
|
<div class="xbtn-img">
|
|
<div class="btnimg">
|
|
<img id="ibPrint" runat="server" src="../images/icons/print.gif" style="width: 16px;"
|
|
title="报表打印" onclick="printAction()" class="cssfont" /></div>
|
|
</div>
|
|
<div class="xbtn">
|
|
<input id="btShifting" runat="server" type="button" value="库间移位" onclick="setShifting();" style="width:70px; height:20px;" class="btncss"/>
|
|
</div>
|
|
</div>
|
|
<div id="dvtable_outtj">
|
|
<table >
|
|
<tr>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">出库单号:</div></td>
|
|
<td style="width:100px;"><input type="text" id="txt_outbsno" runat="server" class="txtTab" style="width:100px;"/></td>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">客户单号:</div></td>
|
|
<td style="width:100px;"><input type="text" id="txt_clientbsno" runat="server" class="txtTab" style="width:100px;"/></td>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">出库客户:</div></td>
|
|
<td style="width:102px;"><select style="width:102px;" id="sel_customer" runat="server" class="txtTab"></select></td>
|
|
<td style="width:50px;"><div style="width:50px; text-align:right;">装卸队:</div></td>
|
|
<td style="width:102px;"><select style="width:102px;" id="sel_truck" runat="server" class="txtTab"></select></td>
|
|
<td style="width:200px; height:100%;" colspan=2>
|
|
|
|
<button class="btncss" onclick="search()" id="Div2" runat="server" style="width:50px; height:20px;">查询</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">出库日期:</div></td>
|
|
<td style="width:100px;"><input type="text" id="txt_outdate" onclick="WdatePicker()" style="width:100px" class="txtTab" runat="server"/></td>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">制表人:</div></td>
|
|
<td style="width:102px;">
|
|
<select id="ddlWMSOP" name="sel_sale" runat="server" class="txtTab" style="width:102px"></select>
|
|
</td>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">保管人:</div></td>
|
|
<td style="width:102px;">
|
|
<select id="ddlSTOREMAN" name="sel_sale" runat="server" class="txtTab" style="width:102px"></select>
|
|
</td>
|
|
<td style="width:50px;"><div style="width:50px; text-align:right;">备注:</div></td>
|
|
<td><input type="text" id="txt_remark" runat="server" class="txtTab" style="width:100px;"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">仓库名称:</div></td>
|
|
<td style="width:102px;"><select style="width:102px;" id="sel_storage" runat="server" class="txtTab"></select></td>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;">品名:</div></td>
|
|
<td style="width:102px;"><select style="width:102px;" id="sel_goods" runat="server" class="txtTab"></select></td>
|
|
<td style="width:50px;"><div style="width:50px; text-align:right;">型号:</div></td>
|
|
<td style="width:102px;"><select style="width:102px;" id="sel_goodsmodel" runat="server" class="txtTab"></select></td>
|
|
<td style="width:60px;"><div style="width:60px; text-align:right;"> 入库单号:</div></td>
|
|
<td style="width:100px;"><input type="text" id="txt_bsno" runat="server" class="txtTab" style="width:100px;"/></td>
|
|
<td style="width:200px; height:100%;" colspan=2>
|
|
|
|
<button class="btncss" onclick="initTj()" id="Div3" runat="server" style="width:50px; height:20px;">清空</button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div id="mygrid_container_wmsin" runat=server style="width:100%; height:300px;" class="grid-ie7"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<form id="form1" runat="server">
|
|
<input type="hidden" id="WoDetailContainer" runat="server" />
|
|
<input type="hidden" id="WoContainer" runat="server" />
|
|
<input type="hidden" id="h_addmode" runat="server" />
|
|
<%-- <input type="hidden" id="h_IsSetRate" runat="server" /> --%>
|
|
<input type="hidden" id="h_newcust" runat="server" />
|
|
<input type="hidden" id="h_oldcustFeedays" runat="server" />
|
|
<%-- 应收应付费用变量 --%>
|
|
<input type="hidden" id="h_Mode" runat="server" />
|
|
<%-- <input type="hidden" id="h_Ischange" runat="server" /> --%>
|
|
<input type="hidden" id="h_IsFeeGain" runat="server" />
|
|
<input type="hidden" id="payContainer" runat="server" />
|
|
<input type="hidden" id="recvContainer" runat="server" />
|
|
<input type="hidden" id="gainContainer" runat="server" />
|
|
<input type="hidden" id="h_post" runat="server" />
|
|
|
|
<input type="hidden" id="hdShifting" runat="server" />
|
|
<input type="hidden" id="hdWMSGID" 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 id="dvGain">
|
|
<table style="border-width:0 1px 1px 0;padding:2px;">
|
|
<tr>
|
|
<td width="100px"><div id="dvRMBTotalText" runat="server" class="feeTitle">【当前页合计】</div></td>
|
|
<td width="2%"><div id="dvRMBTotalVal" runat="server" class="feeAmount"></div></td>
|
|
<td width="90px"><div id="dvProfitTotalText" runat="server" class="feeTitle">计费数量:</div></td>
|
|
<td width="80px"><div id="dvProfitTotalVal" runat="server" class="feePayAmount"></div></td>
|
|
<td width="90px"><div id="dvRecTotalvText" runat="server" class="feeTitle">出库应收:</div></td>
|
|
<td width="80px"><div id="dvRecvTotalVal" runat="server" class="feePayAmount"></div></td>
|
|
<td width="90px"><div id="dvPayTotalText" runat="server" class="feeTitle">出库应付:</div></td>
|
|
<td width="80px"><div id="dvPaySumVal" runat="server" class="feePayAmount"></div></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
<input type="hidden" id="h_EditJson" runat="server"/>
|
|
<input type="hidden" id="h_customer" runat="server"/>
|
|
<input type="hidden" id="h_blno" runat="server"/>
|
|
<input type="hidden" id="h_storage" runat="server"/>
|
|
<input type="hidden" id="h_searchJson" runat="server"/>
|
|
<input type="hidden" id="h_outgid" runat="server" />
|
|
<input type="hidden" id="h_bsno" runat="server" />
|
|
<input type="hidden" id="h_outbsno" runat="server" />
|
|
<input type="hidden" id="h_clientbsno" runat="server" />
|
|
<input type="hidden" id="h_outdate" runat="server" />
|
|
<input type="hidden" id="h_goods" runat="server" />
|
|
<input type="hidden" id="h_goodsmodel" runat="server" />
|
|
<input type="hidden" id="h_goodspfsl" runat="server" />
|
|
<input type="hidden" id="h_remark" runat="server" />
|
|
<input type="hidden" id="h_outnum" runat="server" />
|
|
<input type="hidden" id="h_outfee" runat="server" />
|
|
<input type="hidden" id="h_count" runat="server" />
|
|
<input type="hidden" id="h_success" runat="server" />
|
|
<input type="hidden" id="h_nonum" runat="server" />
|
|
<input type="hidden" id="h_truckno" runat="server" />
|
|
<input type="hidden" id="h_truck" runat="server" />
|
|
<%-- <input type="hidden" id="hd_wmsgid" runat="server" /> --%>
|
|
<input type="hidden" id="h_packnum" runat="server" />
|
|
<input id="hd_comboWMSOP" type="hidden" runat=server/>
|
|
<input id="hd_comboSTOREMAN" type="hidden" runat=server/>
|
|
</div>
|
|
<input type="hidden" id="addCache" />
|
|
<input type="hidden" id="h_cachename" runat="server" />
|
|
<input type="hidden" id="h_cachetemplate" runat="server" />
|
|
<input type="hidden" id="h_importtype" runat="server" />
|
|
<input type="hidden" id="h_authority" runat="server" />
|
|
<input type="hidden" id="h_enable" runat="server" />
|
|
<input type="hidden" id="h_recvauthority" runat="server" />
|
|
<input type="hidden" id="h_payauthority" runat="server" />
|
|
<input type="hidden" id="h_feecache" runat="server" />
|
|
<input type="hidden" id="h_custcache" runat="server" />
|
|
<input type="hidden" id="h_cachehistory" runat="server" />
|
|
<input type="hidden" id="h_historytype" runat="server" />
|
|
<input type="hidden" id="h_historycachename" runat="server" />
|
|
<input type="hidden" id="h_historyoptype" runat="server" />
|
|
<input type="hidden" id="hdEnabled" runat="server" />
|
|
<input type="hidden" id="h_handle" runat="server" />
|
|
<div id="allDoc"></div>
|
|
</form>
|
|
<%--<div id="progressBar" class="progressBar">数据正在加载中……</div>--%>
|
|
</body>
|
|
</html>
|