DS7/DSWeb/SeaiInfo/WmsInfoCBM.aspx

447 lines
23 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WmsInfoCBM.aspx.cs" Inherits="DSWeb.SeaiInfo.WmsInfoCBM" %>
<!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="Head2" runat="server">
<title>入库信息_CBM</title>
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.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>
<!--按钮条-->
<style type="text/css">
.btn-content0{
width:100%;
height:30px;
background:url("../images/content-header.gif");
cursor:default;
}
.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>
<!--Grid-->
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
<script>_css_prefix="styles/"; _js_prefix="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/json2.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/dhtmlxcalendar.js" type="text/javascript"></script>
<script src="../js/TGridCommon.js" type="text/javascript"></script>
<script src="../js/jsGridWmsInfoCBM.js" type="text/javascript"></script>
<script src="../js/jsGridWmsRate.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;}
</style>
<!--按钮条-->
<script type="text/javascript">
function $(id)
{
return document.getElementById(id);
}
function divdadd()
{
document.getElementById('divadd').style.display = "";
document.getElementById('divsave').style.display = "";
document.getElementById('divrefresh').style.display = "";
document.getElementById('divdel').style.display = "none";
document.getElementById('divrollback').style.display = "none";
}
function divdisplay()
{
document.getElementById('divadd').style.display = "";
document.getElementById('divsave').style.display = "";
document.getElementById('divrefresh').style.display = "";
document.getElementById('divdel').style.display = "";
document.getElementById('divrollback').style.display = "";
}
</script>
</head>
<body onload="getOnload();" style="border:0px; width:100%; height:100%;">
<form id="form1" runat="server">
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div id="divadd" runat=server class="xbtn-img" onclick="addRecvRow();" style="display:block">
<div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加"/></div>
</div>
<div id="divsave" runat=server class="xbtn-img" onclick="saveRecvChange();getCTNNUM();getFPK();">
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改"/></div>
</div>
<div id="divdel" runat=server class="xbtn-img" onclick="deleteRecvRow();getCTNNUM();getFPK();">
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除"/></div>
</div>
<div id="divrollback" runat=server class="xbtn-img" onclick="recoverRecvChange();">
<div class="btnimg"><img src="../images/icons/rollback.gif" width="16px" title="放弃修改"/></div>
</div>
<div id="divrefresh" runat=server class="xbtn-img" onclick="refreshRecv();getCTNNUM();getFPK();">
<div class="btnimg"><img src="../images/icons/refresh.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="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>
<div id="dvtable_outtj" style="display:none;">
<table >
<tr>
<td style="width:60px;"><div style="width:60px; text-align:right;">主提单号:</div></td>
<td style="width:100px;"><input type="text" id="txt_blno2" runat="server" class="txtTab" style="width:100px;"/></td>
<td style="width:80px;"><div style="width:80px; text-align:right;">报关单号:</div></td>
<td style="width:100px;"><input type="text" id="txt_customno2" runat="server" class="txtTab" style="width:100px"/></td>
<td style="width:160px;"><div style="width:160px; color:Red; text-align:right;">(注意:请输入完整的单号)</div></td>
<td style="width:40px; height:100%;">
<asp:Button ID="Button2" runat="server" Text="查询" onclick="Button2_Click" CssClass="btncss" Width="40px"/>
</td>
<td style="width:40px;height:100%;">
<asp:Button ID="Button1" runat="server" Text="清空" onclick="Button1_Click" CssClass="btncss" Width="40px"/>
</td>
</tr>
</table>
</div>
<div>
<table style=" width:auto;">
<tr>
<td colspan=10 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="入库单号" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbWMSNO" runat="server" Width="100px" CssClass="txtTab"></asp:TextBox>
</td>
<td>
<asp:Label ID="Label2" runat="server" Text="客户名称" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<select id="ddlCUSTOMERNAME" name="sel_sale" runat="server" class="txtTab" style="width:102px"></select>
</td>
<td>
<asp:Label ID="Label4" runat="server" Text="提单号" CssClass="cssfont" Width="40px"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbBLNO" runat="server" CssClass="txtTab" MaxLength="30" Width="100px"></asp:TextBox>
</td>
<td>
<asp:Label ID="Label5" runat="server" Text="合同号" CssClass="cssfont" Width="40px"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCONTRACTNO" runat="server" CssClass="txtTab" MaxLength=20 Width="100px"></asp:TextBox>
</td>
<td><asp:Label runat="server" ID="label16" CssClass="cssfont" Width="60px" Text="备案清单号"></asp:Label></td>
<td><asp:TextBox ID="tbCUSTOMNO" runat="server" CssClass="txtTab" Width="100px" MaxLength="20" ></asp:TextBox></td>
<td>
<asp:Label ID="Label13" runat="server" Text="委托编号" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCUSTNO" runat="server" CssClass="txtTab" MaxLength=30 Width="100px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label7" runat="server" Text="所属仓库" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<select id="ddlSTORAGENAME" runat=server class="txtTab" style="width:102px"></select>
</td>
<td>
<asp:Label ID="Label1" runat="server" Text="入库日期" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbWMSDATE" runat="server" onclick="WdatePicker()" onblur="setSTARTBILLINGDATE();" Width="100px" CssClass="txtTab"></asp:TextBox>
</td>
<td>
<asp:Label ID="Label10" runat="server" Text="应收客户" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<select id="ddlARCLIENT" runat=server class="txtTab" style="width:102px"></select>
</td>
<td>
<asp:Label ID="Label6" runat="server" Text="应收免仓储期" CssClass="cssfont" Width="80px"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbFREESTORAGEPERIOD" runat="server" onblur="setSTARTBILLINGDATE();" CssClass="txtTab" MaxLength=10 Width="100px"></asp:TextBox>
</td>
<td>
<asp:Label ID="Label12" runat="server" Text="应收开始计费日期" CssClass="cssfont" Width="100px"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbSTARTBILLINGDATE" runat="server" onclick="WdatePicker()" onblur="setFREESTORAGEPERIOD();" Width="100px" CssClass="txtTab"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label9" runat="server" Text="品名" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<select id="ddlGOODSNAME" runat="server" class="txtTab" style="width:102px"></select>
</td>
<td>
<asp:Label ID="Label8" runat="server" Text="计费单位" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<asp:DropDownList ID="ddlCHARGEUNIT" runat="server" Width="102px" CssClass="txtTab12" Height="22px">
<asp:ListItem Selected="True" Value="CBM">CBM</asp:ListItem>
</asp:DropDownList>
</td>
<td>
<asp:Label ID="Label11" runat="server" Text="应付客户" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<select id="ddlTRUCKNAME" runat=server class="txtTab" style="width:102px"></select>
</td>
<td>
<asp:Label ID="Label25" runat="server" Text="应付免仓储期" CssClass="cssfont" Width="80px"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbFREESTORAGEPERIODAP" runat="server" onblur="setSTARTBILLINGDATEAP();" CssClass="txtTab" MaxLength=10 Width="100px"></asp:TextBox>
</td>
<td>
<asp:Label ID="Label26" runat="server" Text="应付开始计费日期" CssClass="cssfont" Width="100px"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbSTARTBILLINGDATEAP" runat="server" onclick="WdatePicker()" onblur="setFREESTORAGEPERIODAP();" Width="100px" CssClass="txtTab"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label15" runat="server" Text="业务件数" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:Label ID="lbPKGS" runat="server" Text="" CssClass="cssfont" Width="100px"></asp:Label>
</td>
<td>
<asp:Label ID="Label17" runat="server" Text="BALES" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:Label ID="lbBALES" runat="server" Text="" CssClass="cssfont" Width="100px"></asp:Label>
</td>
<td>
<asp:Label ID="Label18" runat="server" Text="业务毛重" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<asp:Label ID="lbKGS" runat="server" Text="" CssClass="cssfont" Width="100px"></asp:Label>
</td>
<td>
<asp:Label ID="Label19" runat="server" Text="业务净重" CssClass="cssfont" Width="50px"></asp:Label>
</td>
<td>
<asp:Label ID="lbNETWEIGHT" runat="server" Text="" CssClass="cssfont" Width="100px"></asp:Label>
</td>
<td>
<asp:Label ID="Label20" runat="server" Text="业务尺码" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:Label ID="lbCBM" runat="server" Text="" CssClass="cssfont" Width="100px"></asp:Label>
</td>
</tr>
</table>
</div>
<div oncontextmenu="return false" style="width:1100px; height:250px; overflow-x:auto; overflow-y:auto; position:relative;">
<div id="mygrid_recv" style="width:2000px; height:1000px; overflow-x:hidden; overflow-y:hidden;" runat="server" class="cssfont"></div>
<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="addCache" />
<div id="allDoc"></div>
</div>
<div oncontextmenu="return false">
<br />
<h5 color="#96B3DD">仓储费率设置</h5>
</div>
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div id="divadd2" runat=server class="xbtn-img" onclick="addRecvRow2();">
<div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加"/></div>
</div>
<div id="divsave2" runat=server class="xbtn-img" onclick="saveRecvChange3();">
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改"/></div>
</div>
<div id="divdel2" runat=server class="xbtn-img" onclick="deleteRecvRow2();">
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除"/></div>
</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 style=" width:100%; height:100%; overflow-x:hidden;">
<div id="mygrid_recv_2" style="width:100%; height:160px; overflow-x:hidden;" runat="server" class="cssfont"></div>
<input type="hidden" id="payContainer_2" runat="server" />
<input type="hidden" id="recvContainer_2" runat="server" />
<input type="hidden" id="gainContainer_2" runat="server" />
<input type="hidden" id="addCache_2" />
<div id="allDoc_2"></div>
</div>
<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="70px"><div id="dvGOODSPACKText" runat="server" class="feeTitle">件数:</div></td>
<td width="80px"><div id="dvGOODSPACKVal" runat="server" class="feePayAmount"></div></td>
<td width="60px"><div id="dvProfitTotalText" runat="server" class="feeTitle">立方米:</div></td>
<td width="80px"><div id="dvProfitTotalVal" runat="server" class="feePayAmount"></div></td>
<td width="40px"><div id="dvRecTotalvText" runat="server" class="feeTitle">应收:</div></td>
<td width="80px"><div id="dvRecvTotalVal" runat="server" class="feePayAmount"></div></td>
<td width="40px"><div id="dvPayTotalText" runat="server" class="feeTitle">应付:</div></td>
<td width="80px"><div id="dvPaySumVal" runat="server" class="feePayAmount"></div></td>
</tr>
<tr>
<td width="100px"><div id="Div1" runat="server" class="feeTitle"></div></td>
<td width="70px"><div id="Div2" runat="server" class="feeTitle">箱型箱量:</div></td>
<td width="500px" colspan=7><div id="dvCNTRTOTAL" runat="server" class="feePayAmount"></div></td>
</tr>
</table>
</div>
<div>
<input id="hdRangeV" type="hidden" runat=server/>
<input id="hdRangeO" type="hidden" runat=server/>
<input id="hdGID" type="hidden" runat=server/>
<input id="hdHandle" type="hidden" runat=server/>
<input id="hdCompanyID" type="hidden" runat=server/>
<input id="hd_comboCUSTOMERNAME" type="hidden" runat=server/>
<input id="hd_comboSTORAGENAME" type="hidden" runat="server"/>
<input id="hd_comboARCLIENT" type="hidden" runat="server"/>
<input id="hd_comboTRUCKNAME" type="hidden" runat="server"/>
<input id="hd_comboGOODSNAME" type="hidden" runat="server"/>
<input id="hdUserID" type="hidden" runat=server/>
<input id="hdEnabled" type="hidden" runat=server/>
<input id="hid_associatedno" type="hidden" runat=server/>
<input id="hdSelect" type="hidden" runat=server/>
<input id="hdISCHANGE" type="hidden" runat=server/>
</div>
</form>
</body>
</html>