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.
392 lines
21 KiB
Plaintext
392 lines
21 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FeeManagement.aspx.cs" Inherits="DSWeb.Shipping.FeeManagement" %>
|
|
|
|
<!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 runat="server">
|
|
<title>无标题页</title>
|
|
<link href="../../theme/fee.css" type="text/css" rel="stylesheet" />
|
|
<style type="text/css">
|
|
#nav_receive,#nav_pay{font-family: Arial, Helvetica, sans-serif;font-size: 12px;}
|
|
#nav_receive ul {list-style: none;margin: 0;padding: 0;padding-top: 4px;}
|
|
#nav_receive li {display: inline;background-image:url(../../images/blue.png)}
|
|
#nav_receive li img { margin:0px; width:15px; height:15px;}
|
|
#nav_receive li a { text-decoration:none; padding-left:10px;}
|
|
#nav_receive li a:hover{color: #576d07; background: url(images/green.png) no-repeat top right;}
|
|
|
|
#nav_pay ul {list-style: none;margin: 0;padding: 0;padding-top: 4px;}
|
|
#nav_pay li {display: inline; background: url(../../images/blue.png);}
|
|
#nav_pay li img { margin:0px; width:15px; height:15px;}
|
|
#nav_pay li a { text-decoration:none; padding-left:10px;}
|
|
#nav_pay li a:hover{color: #576d07; background: url(images/green.png) no-repeat top right;}
|
|
</style>
|
|
<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">
|
|
window.dhx_globalImgPath="../images/";
|
|
</script>
|
|
</head>
|
|
<body style="background-color:#ecf2ff">
|
|
<form id="form1" runat="server">
|
|
<script type="text/jscript" src="../js/dhtmlxcommon.js"></script>
|
|
<script type="text/jscript" src="../js/dhtmlxcombo.js"></script>
|
|
<script type="text/jscript" src="../js/dhtmlxcombo_whp.js"></script>
|
|
|
|
<div>
|
|
<table width="100%">
|
|
<tr>
|
|
<td width="13%"><div id="dvOrderNumText" class="feeTitle">委托编号:</div></td>
|
|
<td width="12%"><div id="dvOrderNumVal"></div></td>
|
|
<td width="12%"><div id="dvOrderPrimaryText">主提单号:</div></td>
|
|
<td width="12%"><div id="dvOrderPrimaryVal"></div></td>
|
|
<td width="12%"><div id="dvContainerText">箱型箱量:</div></td>
|
|
<td width="12%"><div id="dvContainerVal"></div></td>
|
|
<td width="15%"><div id="dvPaymentText">付费方式:</div></td>
|
|
<td width="12%"><div id="dvPaymentVal"></div></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div id="dvChannelSaleText">揽货人:</div>
|
|
</td>
|
|
<td>
|
|
<div id="dvChannelSaleVal"></div>
|
|
</td>
|
|
<td>
|
|
<div id="dvOrderCellText">委托单位:</div>
|
|
</td>
|
|
<td>
|
|
<div id="dvOrderCellVal"></div>
|
|
</td>
|
|
<td>
|
|
<div id="dvDischargePortText">卸货港:</div>
|
|
</td>
|
|
<td>
|
|
<div id="dvDischargePortVal"></div>
|
|
</td>
|
|
<td>
|
|
<div id="dvPaymentMBLText">MBL 付费方式:</div>
|
|
</td>
|
|
<td>
|
|
<div id="dvPaymentMBLVAL"></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
<div id="nav_receive">
|
|
<ul>
|
|
<li><img src="../../images/add.gif"/><a href="#"><span></span>添加应收费用</a></li>
|
|
<li><img src="../../images/save.gif"/><a href="#"><span></span>保存修改</a></li>
|
|
<li><img src="../../images/delete.gif"/><a href="#"><span></span>删除费用</a></li>
|
|
<li><img src="../../images/abandon.gif"/><a href="#"><span></span>放弃修改</a></li>
|
|
<li><img src="../../images/audit.gif"/><a href="#"><span></span>提交审核</a></li>
|
|
<li><img src="../../images/order_modify.gif"/><a href="#"><span></span>申请修改</a></li>
|
|
<li><img src="../../images/order_delete.gif"/><a href="#"><span></span>申请删除</a></li>
|
|
<li><img src="../../images/printer.gif"/><a href="#"><span></span>费用打印</a></li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<asp:GridView ID="gv_receive" runat="server" AutoGenerateColumns="False"
|
|
Height="40%" Width="100%" onrowediting="gv_receive_RowEditing">
|
|
<RowStyle HorizontalAlign="Center" />
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="费用状态">
|
|
<EditItemTemplate>
|
|
<div id="dvFeeEditState" runat="server"></div>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvFeeItemState" runat="server"><%#DataBinder.Eval(Container.DataItem, "FEETYPE")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="费用名称">
|
|
<EditItemTemplate>
|
|
<select id="sel_FeeEditName" runat="server"></select>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvFeeItemName" runat="server"><%#DataBinder.Eval(Container.DataItem, "FEENAME")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="结算单位">
|
|
<EditItemTemplate>
|
|
<select id="sel_EditClearingUnit" runat="server"></select>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemClearingUnit" runat="server"><%#DataBinder.Eval(Container.DataItem, "CUSTOMERNAME")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="计费标准">
|
|
<EditItemTemplate>
|
|
<select id="sel_EditChargeLevel" runat="server"></select>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemChargeLevel" runat="server"><%#DataBinder.Eval(Container.DataItem, "UNIT")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="单价">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditPrice" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemPrice" runat="server"><%#DataBinder.Eval(Container.DataItem, "UNITPRICE")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="数量">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditQuantity" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemQuantity" runat="server"><%#DataBinder.Eval(Container.DataItem, "QUANTITY")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="佣金比例">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditCommissionRate" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemCommissionRate" runat="server"><%#DataBinder.Eval(Container.DataItem, "COMMISSIONRATE")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="金额">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditAmount" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemAmount" runat="server"><%#DataBinder.Eval(Container.DataItem, "AMOUNT")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="币别">
|
|
<EditItemTemplate>
|
|
<div id="combo_zone5" style="width:50px; height:30px;"></div>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemCurrencyType" runat="server"><%#DataBinder.Eval(Container.DataItem, "CURRENCY")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="汇率">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditExchangeRate" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemExchangeRate" runat="server"><%#DataBinder.Eval(Container.DataItem, "EXCHANGERATE")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="FRT">
|
|
<EditItemTemplate>
|
|
<select id="sel_EditFRT" runat="server">
|
|
<option id="PP" value="PP">PP</option>
|
|
<option id="CC" value="CC">CC</option>
|
|
</select>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemFRT" runat="server"></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="费用备注">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditFeeRemark" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemFeeRemark" runat="server"><%#DataBinder.Eval(Container.DataItem, "REMARK")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="是否垫付">
|
|
<EditItemTemplate>
|
|
<input type="checkbox" id="ckb_EditPayInstead" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<input type="checkbox" id="ckb_ItemPayInstead" runat="server" />
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
</asp:GridView>
|
|
</div>
|
|
<div id="nav_pay">
|
|
<ul>
|
|
<li><img src="../../images/add.gif"/><a href="#"><span></span>添加应收费用</a></li>
|
|
<li><img src="../../images/save.gif"/><a href="#"><span></span>保存修改</a></li>
|
|
<li><img src="../../images/delete.gif"/><a href="#"><span></span>删除费用</a></li>
|
|
<li><img src="../../images/abandon.gif"/><a href="#"><span></span>放弃修改</a></li>
|
|
<li><img src="../../images/audit.gif"/><a href="#"><span></span>提交审核</a></li>
|
|
<li><img src="../../images/order_modify.gif"/><a href="#"><span></span>申请修改</a></li>
|
|
<li><img src="../../images/order_delete.gif"/><a href="#"><span></span>申请删除</a></li>
|
|
<li><img src="../../images/printer.gif"/><a href="#"><span></span>费用打印</a></li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<asp:GridView ID="gv_pay" runat="server" AutoGenerateColumns="False"
|
|
Height="40%" Width="100%" onrowediting="gv_pay_RowEditing">
|
|
<RowStyle HorizontalAlign="Center" />
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="费用状态">
|
|
<EditItemTemplate>
|
|
<div id="dvFeeEditState" runat="server"></div>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvFeeItemState" runat="server"><%#DataBinder.Eval(Container.DataItem, "FEESTATUS")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="费用名称">
|
|
<EditItemTemplate>
|
|
<select id="sel_FeeEditName" runat="server"></select>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvFeeItemName" runat="server"><%#DataBinder.Eval(Container.DataItem, "FEEDESCRIPTION")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="结算单位">
|
|
<EditItemTemplate>
|
|
<select id="sel_EditClearingUnit" runat="server"></select>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemClearingUnit" runat="server"><%#DataBinder.Eval(Container.DataItem, "CUSTOMERNAME")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="计费标准">
|
|
<EditItemTemplate>
|
|
<select id="sel_EditChargeLevel" runat="server"></select>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemChargeLevel" runat="server"><%#DataBinder.Eval(Container.DataItem, "UNIT")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="单价">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditPrice" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemPrice" runat="server"><%#DataBinder.Eval(Container.DataItem, "UNITPRICE")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="数量">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditQuantity" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemQuantity" runat="server"><%#DataBinder.Eval(Container.DataItem, "QUANTITY")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="佣金比例">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditCommissionRate" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemCommissionRate" runat="server"><%#DataBinder.Eval(Container.DataItem, "COMMISSIONRATE")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="金额">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditAmount" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemAmount" runat="server"><%#DataBinder.Eval(Container.DataItem, "AMOUNT")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="币别">
|
|
<EditItemTemplate>
|
|
<select id="sel_EditCurrencyType" runat="server"></select>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemCurrencyType" runat="server"><%#DataBinder.Eval(Container.DataItem, "CURRENCY")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="汇率">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditExchangeRate" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemExchangeRate" runat="server"><%#DataBinder.Eval(Container.DataItem, "EXCHANGERATE")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="FRT">
|
|
<EditItemTemplate>
|
|
<select id="sel_EditFRT" runat="server">
|
|
<option id="PP" value="PP">PP</option>
|
|
<option id="CC" value="CC">CC</option>
|
|
</select>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemFRT" runat="server"></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="费用备注">
|
|
<EditItemTemplate>
|
|
<input type="text" id="txt_EditFeeRemark" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<div id="dvItemFeeRemark" runat="server"><%#DataBinder.Eval(Container.DataItem, "REMARK")%></div>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="是否垫付">
|
|
<EditItemTemplate>
|
|
<input type="checkbox" id="ckb_EditPayInstead" runat="server" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<input type="checkbox" id="ckb_ItemPayInstead" runat="server" />
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
</asp:GridView>
|
|
</div>
|
|
<div>
|
|
<table width="100%">
|
|
<tr>
|
|
<td width="13%"><div id="dvRMBText" runat="server" >人民币:</div></td>
|
|
<td width="12%"><div id="dvRMBValue" runat="server" ></div></td>
|
|
<td width="12%"><div id="dvRecvRMBText" runat="server" >应收人民币:</div></td>
|
|
<td width="12%"><div id="dvRecvRMBVale" runat="server"> </div></td>
|
|
<td width="12%"><div id="dvPayRMBText" runat="server">应付人民币:</div></td>
|
|
<td width="12%"><div id="dvPayRMBVal" runat="server"></div></td>
|
|
<td width="12%"><div id="dvRMBProfitText" runat="server">人民币利润:</div></td>
|
|
<td width="12%"><div id="dvRMBProfitVal" runat="server"></div></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><div id="dvUSText" runat="server">美元:</div></td>
|
|
<td><div id="dvUSVal" runat="server"></div></td>
|
|
<td><div id="dvUSRecvText" runat="server">应收美元:</div></td>
|
|
<td><div id="dvUSRecvVal" runat="server"></div></td>
|
|
<td><div id="dvUSPayText" runat="server">应付美元:</div></td>
|
|
<td><div id="dvUSPayVal" runat="server"></div></td>
|
|
<td><div id="dvUSProfitText" runat="server">美元利润:</div></td>
|
|
<td><div id="dvUSProfitVal" runat="server"></div></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><div id="dvOtherCurrencyText" runat="server">其他币别:</div></td>
|
|
<td><div id="dvOtherCurrencyVal" runat="server"></div></td>
|
|
<td><div id="dvOtherCurrencyRecvText" runat="server">应收美元:</div></td>
|
|
<td><div id="dvOtherCurrencyRecvVal" runat="server"></div></td>
|
|
<td><div id="dvOtherCurrencyPayText" runat="server">应付美元:</div></td>
|
|
<td><div id="dvOtherCurrencyPayVal" runat="server"></div></td>
|
|
<td><div id="dvOtherCurrencyProfitText" runat="server">美元利润:</div></td>
|
|
<td><div id="dvOtherCurrencyProfitVal" runat="server"></div></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><div id="dvRMBTotalText" runat="server">人民币合计:</div></td>
|
|
<td><div id="dvRMBTotalVal" runat="server"></div></td>
|
|
<td><div id="dvRecTotalvText" runat="server">应收合计:</div></td>
|
|
<td><div id="dvRecvTotalVal" runat="server"></div></td>
|
|
<td><div id="dvPayTotalText" runat="server">应付合计:</div></td>
|
|
<td><div id="dvPaySumVal" runat="server"></div></td>
|
|
<td><div id="dvProfitTotalText" runat="server">合计利润:</div></td>
|
|
<td><div id="dvProfitTotalVal" runat="server"></div></td>
|
|
<td><div id="dvProfitRateText" runat="server">利润率:</div></td>
|
|
<td><div id="dvProfitRateVal" runat="server"></div></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
var z = new dhtmlXCombo("combo_zone5","alfa5",50);
|
|
z.attachEvent("onOpen", function(){z.loadXML("../FeeCodes/CurrencyAdapter.aspx?pos=0&mask=0");z.fF(false);});
|
|
z.attachEvent("onBlur", function(){z.fF(true,"../FeeCodes/CurrencyAdapter.aspx",true);});
|
|
</script>
|
|
</form>
|
|
</body>
|
|
</html>
|