📄 delivertype.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
Inherits="PowerEasy.WebSite.Admin.Shop.DeliverTypeUI" Title="添加送货方式" MaintainScrollPositionOnPostback="true"
Codebehind="DeliverType.aspx.cs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="Server">
<pe:ExtendedSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="border">
<tr align="center">
<td colspan="2" class="spacingtitle">
<b>
<asp:Label ID="LblTitle" runat="server" Text="Label"></asp:Label></b></td>
</tr>
<tr class="tdbg">
<td align="right">
<b>送货方式名称:</b></td>
<td>
<asp:TextBox ID="TxtTypeName" runat="server" MaxLength="30"></asp:TextBox>
<pe:RequiredFieldValidator ID="ValrTypeName" runat="server" ControlToValidate="TxtTypeName"
Display="Dynamic" ErrorMessage="请指定送货方式名称" SetFocusOnError="True"></pe:RequiredFieldValidator>
</td>
</tr>
<tr class="tdbg">
<td align="right">
<b>送货方式简介:</b></td>
<td>
<asp:TextBox ID="TxtIntro" runat="server" Width="213px" MaxLength="50" Height="43px"
TextMode="MultiLine"></asp:TextBox></td>
</tr>
<tr class="tdbg">
<td align="right">
<b>运费:</b></td>
<td>
<asp:RadioButtonList ID="RadlChargeType" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"
Width="427px" AutoPostBack="True" OnSelectedIndexChanged="RadlChargeType_SelectedIndexChanged">
<asp:ListItem Selected="True" Value="0">免费</asp:ListItem>
<asp:ListItem Value="1">按重量计算运费</asp:ListItem>
<asp:ListItem Value="2">按订单金额的百分比计算运费</asp:ListItem>
<asp:ListItem Value="3">固定值</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tbody id="TbodyTaxRateSetting" runat="server">
<tr class="tdbg">
<td align="right">
<strong>税率设置:</strong></td>
<td>
<pe:TaxRateSetting ID="TaxRateSet" runat="server" />
</td>
</tr>
</tbody>
<tbody id="TbodyTaxRate" runat="server">
<tr class="tdbg">
<td align="right">
<strong>税率:</strong></td>
<td>
<asp:TextBox ID="TxtTaxRate" runat="server" Width="48px">0</asp:TextBox>%
<asp:RangeValidator ID="ValrTaxRate" runat="server" ControlToValidate="TxtTaxRate"
Display="Dynamic" ErrorMessage="请输入 0 ~ 100 的数值!" MaximumValue="100" MinimumValue="0"
SetFocusOnError="True" Type="Double"></asp:RangeValidator></td>
</tr>
</tbody>
<tbody id="TbodyFixMoney" runat="server" visible="false">
<tr class="tdbg">
<td align="right">
<strong>固定值:</strong></td>
<td>
<asp:TextBox ID="TxtFixMoney" runat="server" MaxLength="12"></asp:TextBox>
元
<asp:CompareValidator ID="ValcFixMoney" runat="server" ControlToValidate="TxtFixMoney"
Display="Dynamic" ErrorMessage="请输入非负的有效数值!" Operator="GreaterThanEqual" Type="Double"
ValueToCompare="0"></asp:CompareValidator></td>
</tr>
</tbody>
<tr class="tdbg">
<td align="right">
</td>
<td>
<asp:CheckBox ID="ChkIsDefault" runat="server" Text="设为默认送货方式" /></td>
</tr>
</table>
<div id="div1" class="tdbg border" style="padding-right: 3px; padding-left: 3px;
padding-bottom: 5px; padding-top: 5px;">
<asp:Panel ID="PnlChargeType1" runat="server" Width="100%" Visible="False">
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="border" id="ChargeSetting"
style="margin-top: 5px;">
<tr class="title">
<td colspan="2">
<b>同一城市间运费标准:</b></td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>基本运费:</b></td>
<td style="width: 652px">
<asp:TextBox ID="TxtCharge_Min1" runat="server" Width="70px" MaxLength="10">8</asp:TextBox>
元</td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>基本运费的起算重量:</b></td>
<td style="width: 652px">
<asp:TextBox ID="TxtWeight_Min1" runat="server" Width="70px" MaxLength="10">1</asp:TextBox>千克(Kg)<br />
当商品重量不超过上述指定起算重量时,实际运费按基本运费计算。</td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>浮动运费:</b></td>
<td style="width: 652px">
当商品总重量超过基本运费的起算重量后,除了收取基本运费外,每<asp:TextBox ID="TxtWeightPerUnit1" runat="server"
Width="70px" MaxLength="10">1</asp:TextBox>
千克的商品增加运费
<asp:TextBox ID="TxtChargePerUnit1" runat="server" Width="70px" Rows="10">3</asp:TextBox>元</td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>最高运费:</b></td>
<td style="width: 652px">
<asp:TextBox ID="TxtCharge_Max1" runat="server" Width="70px" MaxLength="10">100</asp:TextBox>元(当基本运费+浮动运费超过最高运费时,实际运费按最高运费计算)</td>
</tr>
<tr class="title">
<td colspan="2">
<b>同一区域间(比如珠江三角州、长江三角州等特别区域)的运费标准:</b></td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>区域范围:</b></td>
<td style="width: 652px">
<asp:TextBox ID="TxtarrArea" runat="server" ReadOnly="true" Width="400px"></asp:TextBox>
<asp:HiddenField ID="HdnArrArea" runat="server" />
<input type="button" name="SelectArea" onclick="SelectCity()" value="选择城市" />
</td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>基本运费:</b></td>
<td style="width: 652px">
<asp:TextBox ID="TxtCharge_Min2" runat="server" Width="70px" MaxLength="10">10</asp:TextBox>元</td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>基本运费的起算重量:</b></td>
<td style="width: 652px">
<asp:TextBox ID="TxtWeight_Min2" runat="server" Width="70px" MaxLength="10">1</asp:TextBox>千克(Kg)<br />
当商品重量不超过上述指定起算重量时,实际运费按基本运费计算。</td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>浮动运费:</b></td>
<td style="width: 652px">
当商品总重量超过基本运费的起算重量后,除了收取基本运费外,每<asp:TextBox ID="TxtWeightPerUnit2" runat="server"
Width="70px" MaxLength="10">1</asp:TextBox>
千克的商品增加运费
<asp:TextBox ID="TxtChargePerUnit2" runat="server" Width="70px" MaxLength="10">5</asp:TextBox>元</td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>最高运费:</b></td>
<td style="width: 652px">
<asp:TextBox ID="TxtCharge_Max2" runat="server" Width="70px" MaxLength="10">100</asp:TextBox>元(当基本运费+浮动运费超过最高运费时,实际运费按最高运费计算)</td>
</tr>
<tr class="title">
<td colspan="2">
<b>同一省份间运费标准:</b></td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>基本运费:</b></td>
<td style="width: 652px">
<asp:TextBox ID="TxtCharge_Min3" runat="server" Width="70px" MaxLength="10">18</asp:TextBox>元</td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>基本运费的起算重量:</b></td>
<td style="width: 652px">
<asp:TextBox ID="TxtWeight_Min3" runat="server" Width="70px" MaxLength="10">1</asp:TextBox>千克(Kg)<br />
当商品重量不超过上述指定起算重量时,实际运费按基本运费计算。</td>
</tr>
<tr class="tdbg">
<td style="width: 150" align="right">
<b>浮动运费:</b></td>
<td style="width: 652px">
当商品总重量超过基本运费的起算重量后,除了收取基本运费外,每<asp:TextBox ID="TxtWeightPerUnit3" runat="server"
Width="70px" MaxLength="10">1</asp:TextBox>
千克的商品增加运费<asp:TextBox ID="TxtChargePerUnit3" runat="server" Width="70px" MaxLength="10">15</asp:TextBox>
元</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -