<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DeliveryEdit.aspx.cs" Inherits="LMN.Web.Admin.Order.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" />
<link href="../Scripts/wbox/wbox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Scripts/jquery-1.4.1.min.js"></script>
<script src="../Scripts/wbox.js" type="text/javascript"></script>
<script src="../Scripts/common.js" type="text/javascript"></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 ID="express" runat="server">
                        </asp:DropDownList>
                        <em><span class="red">*</span></em></td>
                </tr>
                <tr>
                    <th>支付方式：</th>
                    <td>
                        <asp:DropDownList ID="payment" runat="server">
                        </asp:DropDownList>
                        <em><span class="red">*</span></em></td>
                </tr>
                <tr>
                    <th>配送名称：</th>
                    <td><input runat="server" autocomplete="off" type="text" id="name" name="name" required="true" /> <input type="checkbox" id="isdef" name="isdef" value="1" runat="server" /><label for="isdef">默认</label> <input type="checkbox" id="enable" name="enable" value="1" runat="server" /><label for="isdef">启用</label> <em><span class="red">*</span></em></td>
                </tr>
                <tr>
                    <th>费用单位：</th>
                    <td>首重：<input runat="server" style="width: 50px;" autocomplete="off" type="text" id="firstunit" name="firstunit" required="true" />克 = ￥<input runat="server" style="width: 50px;" autocomplete="off" type="text" id="firstprice" name="firstprice" required="true" /> 续重：<input runat="server" style="width: 50px;" autocomplete="off" type="text" id="addunit" name="addunit" required="true" /> 克/￥<input runat="server" style="width: 50px;" autocomplete="off" type="text" id="addprice" name="addprice" required="true" /> <em><span class="red">*</span></em></td>
                </tr>
                <tr>
                    <th>保价设置：</th>
                    <td><input type="checkbox" id="protect" name="protect" value="1" runat="server" /><label for="protect">是</label> 费率 <input runat="server" style="width: 50px;" autocomplete="off" type="text" id="protrate" name="protrate" required="true" />% 最低 <input runat="server" style="width: 50px;" autocomplete="off" type="text" id="protmin" name="protmin" required="true" />￥</td>
                </tr>
                <tr>
                    <th>显示排序：</th>
                    <td><input runat="server" style="width: 50px;" autocomplete="off" type="text" name="sort" id="sort" value="0" /></td>
                </tr>
                <tr>
                    <th>备注信息：</th>
                    <td>
                        <textarea id="remarks" name="remarks" rows="2" cols="60" runat="server"></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: none;"></iframe>
<script type="text/javascript">
<!--
    var wBox;
    $(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>
