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.
184 lines
11 KiB
Plaintext
184 lines
11 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CrmOrderFee.aspx.cs" Inherits="DSWeb.Shipping.CrmOrderFee" %>
|
|
|
|
<!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">
|
|
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
|
|
}
|
|
</style>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.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/json2.js" type="text/javascript"></script>
|
|
<script src="../js/CrmOrderFeeGrid.js" type="text/javascript"></script>
|
|
|
|
</head>
|
|
<body onload="initDownFeeName();initGrid()">
|
|
<div>
|
|
<table width="90%" style="border-width:0 1px 1px 0;padding:1px;">
|
|
<tr>
|
|
<td width="10px"></td>
|
|
<td width="60px"><div id="dvOrderNumText" class="toplab">委托编号:</div></td>
|
|
<td width="120px"><div id="dvCUSTNO" runat="server" class="toplab"></div><input type="hidden" id="dvOrderNumVal" runat="server"/></td>
|
|
<td width="60px"><div id="dvOrderPrimaryText" class="toplab">主提单号:</div></td>
|
|
<td width="120px"><div id="dvOrderPrimaryVal" runat="server" class="toplab"></div></td>
|
|
<td width="60px"><div id="dvContainerText" class="toplab">箱型箱量:</div></td>
|
|
<td width="120px"><div id="dvContainerVal" runat="server" class="toplab"></div></td>
|
|
<td width="95px"><div id="dvPaymentText" class="toplab">付费方式:</div></td>
|
|
<td width="120px"><div id="dvPaymentVal" runat="server" class="toplab"></div></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="10px"></td>
|
|
<td width="60px"><div id="dvChannelSaleText" class="toplab">揽货人:</div></td>
|
|
<td width="120px"><div id="dvChannelSaleVal" runat="server" class="toplab"></div></td>
|
|
<td width="60px"><div id="dvOrderCellText" class="toplab">委托单位:</div></td>
|
|
<td width="120px"><div id="dvOrderCellVal" runat="server" class="toplab"></div></td>
|
|
<td width="60px"><div id="dvDischargePortText" class="toplab">卸货港:</div></td>
|
|
<td width="120px"><div id="dvDischargePortVal" runat="server" class="toplab"></div></td>
|
|
<td width="95px"><div id="dvPaymentMBLText" class="toplab">MBL 付费方式:</div></td>
|
|
<td width="120px"><div id="dvPaymentMBLVAL" runat="server" class="toplab"></div></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="btn-content">
|
|
<div class="btn-blank"></div>
|
|
<div class="xbtn-img" onclick="addRecvRow()" id="btn_addrecv">
|
|
<div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加应收费用"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="saveAction()" id="btn_saverecv">
|
|
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="deleteRecvRow()" id="btn_delrecv">
|
|
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除费用"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="recoverRecvChange()" id="btn_abanrecv">
|
|
<div class="btnimg"><img src="../images/icons/rollback.gif" width="16px" title="放弃修改"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="refreshRecv()" id="btn_refreshrecv">
|
|
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表"/></div>
|
|
</div>
|
|
<div class="xbtnnull" onclick="refreshRecv()" id="btn_refreshrecv">
|
|
<div><input type="button" id="btn_audit" class="btn" onclick="postCrmOrderAudit()" value="提交审核" runat="server"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="print_recv()" id="btn_printrecv" style="display:none;">
|
|
<div class="btnimg"><img src="../images/icons/print.gif" width="16px" title="费用打印"/></div>
|
|
</div>
|
|
</div>
|
|
<div style="width:98%; overflow-x:scroll; position:relative;"><div id="mygrid_container_recv" style="width:1200px; height:160px;" runat="server"></div></div>
|
|
|
|
<div class="btn-content">
|
|
<div class="btn-blank"></div>
|
|
<div class="xbtn-img" onclick="addPayRow()" id="btn_addpay">
|
|
<div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加应收费用"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="saveAction()" id="btn_savepay">
|
|
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="deletePayRow()" id="btn_delpay">
|
|
<div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除费用"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="recoverPayChange()" id="btn_abanpay">
|
|
<div class="btnimg"><img src="../images/icons/rollback.gif" width="16px" title="放弃修改"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="refreshPay()" id="btn_refreshpay">
|
|
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表"/></div>
|
|
</div>
|
|
<div class="xbtn-img" onclick="print_pay()" id="btn_printpay" style="display:none;">
|
|
<div class="btnimg"><img src="../images/icons/print.gif" width="16px" title="费用打印"/></div>
|
|
</div>
|
|
</div>
|
|
<div style="width:98%; overflow-x:scroll; position:relative;"><div id="mygrid_container_pay" style="width:1200px; height:160px;" runat="server"></div></div>
|
|
|
|
|
|
|
|
<form id="form1" 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_authority" runat="server" />
|
|
<input type="hidden" id="h_post" runat="server" />
|
|
</form>
|
|
<br />
|
|
<div style="width:100%">
|
|
<table width="100%" style="border-width:0 1px 1px 0;padding:2px;">
|
|
<tr>
|
|
<td width="80px"><div id="dvRMBText" runat="server" class="feeTitle">人民币</div></td>
|
|
<td width="2%"><div id="dvRMBValue" runat="server" class="feeAmount"></div></td>
|
|
<td width="90px"><div id="dvRecvRMBText" runat="server" class="feeTitle">应收人民币:</div></td>
|
|
<td width="80px"><div id="dvRecvRMBVal" runat="server" class="feeAmount"> </div></td>
|
|
<td width="90px"><div id="dvPayRMBText" runat="server" class="feeTitle">应付人民币:</div></td>
|
|
<td width="80px"><div id="dvPayRMBVal" runat="server" class="feePayAmount"></div></td>
|
|
<td width="90px"><div id="dvRMBProfitText" runat="server" class="feeTitle">人民币利润:</div></td>
|
|
<td width="80px"><div id="dvRMBProfitVal" runat="server" class="feeAmount"></div></td>
|
|
<td width="80px"></td>
|
|
<td width="80px"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><div id="dvUSText" runat="server" class="feeTitle">美元</div></td>
|
|
<td><div id="dvUSVal" runat="server" class="feeAmount"></div></td>
|
|
<td><div id="dvUSRecvText" runat="server" class="feeTitle">应收美元:</div></td>
|
|
<td><div id="dvUSRecvVal" runat="server" class="feeAmount"></div></td>
|
|
<td><div id="dvUSPayText" runat="server" class="feeTitle">应付美元:</div></td>
|
|
<td><div id="dvUSPayVal" runat="server" class="feePayAmount"></div></td>
|
|
<td><div id="dvUSProfitText" runat="server" class="feeTitle">美元利润:</div></td>
|
|
<td><div id="dvUSProfitVal" runat="server" class="feeAmount"></div></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><div id="dvOtherCurrencyText" runat="server" class="feeTitle">其他币别</div></td>
|
|
<td><div id="dvOtherCurrencyVal" runat="server" class="feeAmount"></div></td>
|
|
<td><div id="dvOtherCurrencyRecvText" runat="server" class="feeTitle">应收其他:</div></td>
|
|
<td><div id="dvOtherCurrencyRecvVal" runat="server" class="feeAmount"></div></td>
|
|
<td><div id="dvOtherCurrencyPayText" runat="server" class="feeTitle">应付其他:</div></td>
|
|
<td><div id="dvOtherCurrencyPayVal" runat="server" class="feePayAmount"></div></td>
|
|
<td><div id="dvOtherCurrencyProfitText" runat="server" class="feeTitle">其他利润:</div></td>
|
|
<td><div id="dvOtherCurrencyProfitVal" runat="server" class="feeAmount"></div></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><div id="dvRMBTotalText" runat="server" class="feeTitle">人民币合计</div></td>
|
|
<td><div id="dvRMBTotalVal" runat="server" class="feeAmount"></div></td>
|
|
<td><div id="dvRecTotalvText" runat="server" class="feeTitle">应收合计:</div></td>
|
|
<td><div id="dvRecvTotalVal" runat="server" class="feeAmount"></div></td>
|
|
<td><div id="dvPayTotalText" runat="server" class="feeTitle">应付合计:</div></td>
|
|
<td><div id="dvPaySumVal" runat="server" class="feePayAmount"></div></td>
|
|
<td><div id="dvProfitTotalText" runat="server" class="feeTitle">合计利润:</div></td>
|
|
<td><div id="dvProfitTotalVal" runat="server" class="feeAmount"></div></td>
|
|
<td><div id="dvProfitRateText" runat="server" class="feeTitle" onclick="totalDynamicFeeGain()">利润率:</div></td>
|
|
<td><div id="dvProfitRateVal" runat="server" class="feeAmount"></div></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<input type="hidden" id="addCache" />
|
|
<input type="hidden" id="h_bsno" runat="server" />
|
|
<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_crmstatus" runat="server" />
|
|
<input type="hidden" id="h_feecache" runat="server" />
|
|
<input type="hidden" id="h_custcache" runat="server" />
|
|
<div id="allDoc"></div>
|
|
</body>
|
|
</html> |