<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="CodeRuleConfig.aspx.cs"
    Inherits="OAWeb.Sys.CodeRuleConfig" Theme="Default" EnableViewState="true" %>

<%@ Register Src="/UserControls/SystemLeft.ascx" TagName="TaskNav" TagPrefix="uc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlace" runat="server">
    <table id="plc_profile" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td class="main_left">
                <uc1:TaskNav ID="TaskNav1" runat="server" />
            </td>
            <td class="main_center">
                <div class="page_main">
                    <div class="page_content" align="center">
                        <style>
                            .dataFiled
                            {
                                text-align: right;
                            }
                            .dataValue
                            {
                                text-align: left;
                            }
                        </style>
                        <div style="padding-top: 20px; padding-bottom: 30px;">
                            业务对象
                            <asp:DropDownList ID="ddlModule" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlModule_SelectedIndexChanged">
                                <asp:ListItem>请选择</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;&nbsp; 状态
                            <asp:Label ID="lblState" runat="server" Text=""></asp:Label>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" CssClass="btn_77px" />
                            <asp:Button ID="btnView" runat="server" Text="预览" OnClick="btnView_Click" CssClass="btn_77px" />
                            <asp:Button ID="btnDelete" runat="server" Text="禁用" OnClick="btnDelete_Click"  CssClass="btn_77px" />
                            <asp:Button ID="btnUses" runat="server" Text="启用" OnClick="btnUses_Click" CssClass="btn_77px" />
                        </div>
                        <table width="70%" cellspacing="8" cellpadding="3" border="0" style="border-width: 0px;">
                            <tr>
                                <td class="dataFiled">
                                    前缀
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtBeforeChar" runat="server"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    连接字符
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtBeforeCharContact" runat="server" Width="20px"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    顺序
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtBeforeCharSort" runat="server" Width="20px" Text="0"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="dataFiled">
                                    日期
                                </td>
                                <td class="dataValue">
                                    <asp:DropDownList ID="ddlDateType" runat="server">
                                        <asp:ListItem Value="">请选择</asp:ListItem>
                                        <asp:ListItem Value="ymd">年月日</asp:ListItem>
                                        <asp:ListItem Value="year">年</asp:ListItem>
                                        <asp:ListItem Value="month">月</asp:ListItem>
                                        <asp:ListItem Value="day">日</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="dataFiled">
                                    连接字符
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtDateContact" runat="server" Width="20px"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    顺序
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtDateSort" runat="server" Width="20px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="dataFiled">
                                    字段1
                                </td>
                                <td class="dataValue">
                                    <asp:DropDownList ID="ddlField1" runat="server">
                                        <asp:ListItem>请选择</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="dataFiled">
                                    连接字符
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField1Contact" runat="server" Width="20px"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    顺序
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField1Sort" runat="server" Width="20px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="dataFiled">
                                    字段2
                                </td>
                                <td class="dataValue">
                                    <asp:DropDownList ID="ddlField2" runat="server">
                                        <asp:ListItem>请选择</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="dataFiled">
                                    连接字符
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField2Contact" runat="server" Width="20px"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    顺序
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField2Sort" runat="server" Width="20px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="dataFiled">
                                    字段3
                                </td>
                                <td class="dataValue">
                                    <asp:DropDownList ID="ddlField3" runat="server">
                                        <asp:ListItem>请选择</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="dataFiled">
                                    连接字符
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField3Contact" runat="server" Width="20px"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    顺序
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField3Sort" runat="server" Width="20px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="dataFiled">
                                    字段4
                                </td>
                                <td class="dataValue">
                                    <asp:DropDownList ID="ddlField4" runat="server">
                                        <asp:ListItem>请选择</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="dataFiled">
                                    连接字符
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField4Contact" runat="server" Width="20px"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    顺序
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField4Sort" runat="server" Width="20px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="dataFiled">
                                    字段5
                                </td>
                                <td class="dataValue">
                                    <asp:DropDownList ID="ddlField5" runat="server">
                                        <asp:ListItem>请选择</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="dataFiled">
                                    连接字符
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField5Contact" runat="server" Width="20px"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    顺序
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtField5Sort" runat="server" Width="20px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="dataFiled">
                                    序列号位数
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtCodeCount" runat="server"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    连接字符
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtCodeCountContact" runat="server" Width="20px"></asp:TextBox>
                                </td>
                                <td class="dataFiled">
                                    顺序
                                </td>
                                <td class="dataValue">
                                    <asp:TextBox ID="txtCodeCountSort" runat="server" Width="20px" Text="7"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" style="padding-top: 10px;">
                                    <input id="Radio1" type="radio" name="AddType" runat="server" checked="true" />不按字段分类&nbsp;
                                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    &nbsp;&nbsp;&nbsp;&nbsp; 按字段分类：
                                    <input id="rdoField1" type="radio" name="AddType" runat="server" />字段1
                                    <input id="rdoField2" type="radio" name="AddType" runat="server" />字段2
                                    <input id="rdoField3" type="radio" name="AddType" runat="server" />字段3
                                    <input id="rdoField4" type="radio" name="AddType" runat="server" />字段4
                                    <input id="rdoField5" type="radio" name="AddType" runat="server" />字段5
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" style="padding-top: 10px;">
                                    预览结果： <font color="green">
                                        <asp:Label ID="lblView" runat="server" Text="无"></asp:Label></font>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
