<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="DeliveryEdit.aspx.cs" Inherits="LMN.Web.Admin.Config.DeliveryEdit" %>
<%@ Import Namespace="LMN.Common" %>

<!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>
<link href="../css/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Scripts/jquery-1.4.1.min.js"></script>
<script src="../../ckeditor/fckeditor.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server" target="iframe">
    <div style="padding: 20px;">
        <h4 class="title">配送方式</h4>
        <div class="division">
            <table width="100%">
                <tr>
                    <th class="w120">默认物流：</th>
                    <td>
                        <asp:DropDownList name="express" ID="express" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <th>支付方式：</th>
                    <td>
                        <asp:DropDownList name="payment" ID="payment" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <th>配送名称：</th>
                    <td><input type="text" name="name" id="name" runat="server" maxlength="20" /></td>
                </tr>
                <tr>
                    <th>配送设置：</th>
                    <td><label><input type="checkbox" id="enable" name="enable" runat="server" value="1" />启用</label> <label><input type="checkbox" id="isdef" name="isdef" runat="server" value="1" />默认</label> 排序：<input type="text" name="sort" id="sort" value="0" size="5" runat="server" /></td>
                </tr>
                <tr>
                    <th>重量单位：</th>
                    <td>首重重量：<asp:DropDownList runat="server" ID="firstunit" name="firstunit">
                        <asp:ListItem Value="500">500克</asp:ListItem>
                        <asp:ListItem Value="1000" Selected="True">1公斤</asp:ListItem>
                        <asp:ListItem Value="1200">1.2公斤</asp:ListItem>
                        <asp:ListItem Value="2000">2公斤</asp:ListItem>
                        <asp:ListItem Value="5000">5公斤</asp:ListItem>
                        <asp:ListItem Value="10000">10公斤</asp:ListItem>
                        <asp:ListItem Value="20000">20公斤</asp:ListItem>
                        <asp:ListItem Value="50000">50公斤</asp:ListItem>
                    </asp:DropDownList>
                        续重单位：<asp:DropDownList runat="server" ID="addunit" name="addunit">
                            <asp:ListItem Value="500">500克</asp:ListItem>
                            <asp:ListItem Value="1000" Selected="True">1公斤</asp:ListItem>
                            <asp:ListItem Value="1200">1.2公斤</asp:ListItem>
                            <asp:ListItem Value="2000">2公斤</asp:ListItem>
                            <asp:ListItem Value="5000">5公斤</asp:ListItem>
                            <asp:ListItem Value="10000">10公斤</asp:ListItem>
                            <asp:ListItem Value="20000">20公斤</asp:ListItem>
                            <asp:ListItem Value="50000">50公斤</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr id="protectrate">
                    <th>物流保价：</th>
                    <td><label><input type="checkbox" name="isprot" id="isprot" runat="server" value="1" />支持物流保价，费率</label> <input type="text" name="protrate" id="protrate" value="0" style="width: 25px;" runat="server" />%，最低保价 <input type="text" name="protmin" id="protmin" style="width: 25px;" runat="server" value="0" /> 元</td>
                </tr>
                <tr>
                    <th>配送费用：</th>
                    <td>首重费用：<input type="text" name="firstprice" id="firstprice" value="20" size="5" runat="server" /> 续重费用：<input type="text" name="addprice" id="addprice" value="9" size="5" runat="server" /></td>
                </tr>
                <tr>
                    <th>配送说明：</th>
                    <td>
                        <textarea id="remarks" name="remarks" rows="5" cols="1" runat="server" style="width: 80%;"></textarea></td>
                </tr>
                <tr>
                    <th>&nbsp;</th>
                    <td><b class="submitBtn"><input type="submit" value="保存" /></b></td>
                </tr>
            </table>
        </div>
    </div>
</form>
<iframe id="iframe" name="iframe" src="about:blank" style="display: ;"></iframe>
<script type="text/javascript">
<!--
    $(document).ready(function() {
        // ckeditor
        var oFcKeditor = new FCKeditor('remarks');
        oFcKeditor.Config['ToolbarStartExpanded'] = false;
        oFcKeditor.BasePath = "<%=Config.SitePath %>ckeditor/";
        oFcKeditor.Height = 80;
        oFcKeditor.ToolbarSet = 'Desc';
        oFcKeditor.ReplaceTextarea();
    });
//-->
</script>
</body>
</html>
