<%@ Page Language="C#" MasterPageFile="~/admin/admin_page.master" AutoEventWireup="true" CodeBehind="product_type_edit.aspx.cs" Inherits="YXShop.Web.admin.product.product_type_edit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="../style/validator.css" type="text/css" />
    <script type="text/javascript" src="../../scripts/validate.js"></script>
    <script src="../scripts/public.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagetitle" runat="server">商品类型
    <asp:HyperLink ID="HyperLink1" runat="server"  CssClass="inputbutton" NavigateUrl="product_type_list.aspx" Width="65px" Height="24px" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'">返回列表</asp:HyperLink>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="pageinfo" runat="server">添加或编辑商品类型
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="workspace" runat="server">
    <asp:Panel ID="pnlMsg" runat="server" Visible="false" CssClass="pnlReturnMessageErr">
        <asp:Literal ID="ltlMsg" runat="server"></asp:Literal>
    </asp:Panel>
    <!--第一步-->
     <asp:Panel ID="oneProductType" runat="server">
     <table  class="form_table_input" border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
             <td class="form_table_input_info" style="width: 175px">类型名称：</td>
             <td>
                 <asp:TextBox ID="txtTypeName" runat="server"></asp:TextBox>
                 <span style="color:Red">*</span>
             </td>
         </tr>
         <tr>
		    <td class="form_table_input_info" style="width: 175px">类型别名：</td>
		    <td>
                <asp:TextBox ID="txtAliasName" runat="server"></asp:TextBox>
                （以"|"分隔，以"|"开头与结尾，如：“|衣服|小西服|”）
            </td>
	    </tr>
	    <tr>
	        <td colspan="4" align="center">
                    <asp:Button ID="button1" runat="server" CssClass="inputbutton" Text="下一步" 
                        onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" 
                        onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'" 
                        onclick="button1_Click"/>
	        </td>
	    </tr>
	</table>
	</asp:Panel>
	<!--第二步-->
	<asp:Panel ID="towProductType" runat="server" Visible="false">
	<table class="form_table_input" border="0" width="100%" cellspacing="0" cellpadding="0">
	    <tr>
		    <td class="form_table_input_info" style="width: 174px">此类型下为实体商品：</td>
		    <td>
                <asp:RadioButtonList ID="rblEntityProduct" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1" Text="是"  Selected="True"/>
                    <asp:ListItem Value="0" Text="否" />
                </asp:RadioButtonList>
            </td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info" style="width: 174px">此类型关联品牌：</td>
		    <td>
                <asp:RadioButtonList ID="rblRelevanceBrand" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1" Text="是"  Selected="True"/>
                    <asp:ListItem Value="0" Text="否" />
                </asp:RadioButtonList>
            </td>
	    </tr>
        <tr>
		    <td class="form_table_input_info" style="width: 174px">此类型下商品拥有属性：</td>
		    <td>
                <asp:RadioButtonList ID="rblProductPropery" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1" Text="是"  Selected="True"/>
                    <asp:ListItem Value="0" Text="否" />
                </asp:RadioButtonList>
            </td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info" style="width: 174px">此类型下商品拥有参数：</td>
		    <td>
                <asp:RadioButtonList ID="rblProperyParameter" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1" Text="是" Selected="True" />
                    <asp:ListItem Value="0" Text="否" />
                </asp:RadioButtonList>
            </td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info" style="width: 174px">购买商品时,需要用户提供一定信息：</td>
		    <td>
                <asp:RadioButtonList ID="brlBuySet" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1" Text="是" />
                    <asp:ListItem Value="0" Text="否" Selected="True" />
                </asp:RadioButtonList>
            </td>
	    </tr>
	    <tr>
		    <td colspan="4" align="center">
                <asp:Button ID="button2" runat="server" CssClass="inputbutton" Text="上一步" 
                    onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" 
                    onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'" 
                    onclick="button2_Click"/>
                <asp:Button ID="button4" runat="server" CssClass="inputbutton" Text="下一步" 
                    onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" 
                    onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'" 
                    onclick="button4_Click"/>
            </td>
	    </tr>
    </table>
    </asp:Panel>
</asp:Content>
<asp:Content ContentPlaceHolderID="pagebottom" runat="server" ID="ContentBottom">
</asp:Content>