<%@ page language="C#" autoeventwireup="true" inherits="Shop_Auction_ProductEdit, HoWaveVGO" validaterequest="false" viewstateencryptionmode="Never" enableEventValidation="false" %>
<%@ Register TagPrefix="fckeditorv2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<html>
<head>
    <link href="css/ShopSaleProduct.css" rel="stylesheet" type="text/css" />
    <script src="../Js/HoWave_GlobalFunction.js" type="text/javascript"></script>
    <script src="../Js/HoWave_ShopSaleProduct.js" type="text/javascript"></script>
</head>
<body>
<div id="warp" align="center">
  <div id="head">
    <div id="menu">
		<ul id="menu_head">
		  <li><img src="../Images/Step_01_End.gif" align="absmiddle" hspace="10" />选择出售方式</li><li><img src="../Images/Step_02_End.gif" align="absmiddle" hspace="10" />选择商品分类</li><li class="li_now"><img src="../Images/Step_03.gif" align="absmiddle" hspace="10" />填写商品详情</li></ul>
	</div>
  </div>
    <form id="form1" runat="server">
        <table width="760px" border="0" align="center" cellpadding="0" cellspacing="0">
	      <tr>
	         <td width="300px" align="left" scope="col">
	            <asp:Image ID="SellProductPic"  runat="server" />	     
	         </td>
	         <td scope="col">
	             <div class="readtome">
	                <span style="color:#D63004;font-weight:bold;">温馨提醒：</span>请核对您发布的商品是否符合最新商品发布规则；没通过实名认证的会员,发布的商品将会暂时放入仓库，认证通过后即可上架。 
                    <a href="../Credit/identify_choose.aspx">认证请这边走</a>
	             </div>
		    </td>
	      </tr>
        </table>   
 
  <div id="content">
    <table  class="SellProductTable">		
		<tr>
			<td  class="HeadLeft"><img src="../Images/pen.gif" width="44" height="27" align="absmiddle">
                <span class="priceText" style="color:#999999 ">1</span> <span class="HidenmeStyle" onclick="Hidden('table1')">商品信息</span></td>
			<td class="HeadRight">&nbsp;</td>
		</tr>
	</table>	
	<table  class="SellProductDetail">	
		<tr> 
			<td class="p_title">类　　型：</td>
			<td colspan="2"  class="p_cnt">
              <asp:RadioButtonList ID="RadioButtonList_ProductType" runat="server" RepeatDirection="Horizontal" Enabled="false" RepeatLayout="Flow">
                    <asp:ListItem Text="一口价" Value="一口价" Enabled="False" />
                    <asp:ListItem Text="拍卖" Value="拍卖" Enabled="False" />
                    <asp:ListItem Text="团购" Value="团购" Enabled="False"/>
                </asp:RadioButtonList>
        </tr>		
		<tr> 
			<td class="p_title">类　　目：</td>
			<td colspan="2"  class="p_cnt">
			   <asp:Literal runat="server"   ID="ProductCategory"/>
			   <a href="#" id="ChangeClass" runat="server">[更改类目]</a>
			</td>   
		</tr>		
		<tr> 
			<td class="p_title">商品名称：</td>
			<td colspan="2" class="p_cnt">
                <asp:TextBox MaxLength="50" ID="ProductName" runat="server" Width="250px"/>
                <asp:RequiredFieldValidator ID="rfv_1" runat="server" ErrorMessage="请填写商品名称"  ControlToValidate="ProductName"/></td> 
        </tr>
        <tr>
            <td class="p_title">关键字：</td>
            <td colspan="2" class="p_cnt">
                <asp:TextBox ID="KeyWord" runat="server" Width="250px"/>
            </td>
        </tr>		
		<tr> 
			<td class="p_title">上传图片：</td>
			<td bgcolor="#F9F9F9" valign="top">
               <asp:FileUpload ID="FileUpload1" runat="server" />
                </td>
            <td bgcolor="#F9F9F9">  
               <div id="previewImage">
                  <div align="center">缩微图
                  <asp:Image runat="server" ID="ProductImg" Width="100px" Height="100px"  />           </div>
               </div>
            </td> 
        </tr>
		<tr> 
			<td height="1" bgcolor="#AADDFF"></td>
			<td height="1" colspan="2" bgcolor="#E1E1E1"></td>
		</tr>
		<tr> 
			<td class="p_title">商品描述：</td>
			<td colspan="2" class="p_cnt">
			   <fckeditorv2:FCKeditor ID="ProductDescripe" runat="server"  AutoDetectLanguage="true" BasePath="../../FCKEditor/"  Height="400px" EnableViewState="false"></fckeditorv2:FCKeditor>
               <asp:RequiredFieldValidator ID="rfv_2" runat="server" ErrorMessage="请填写商品的描述" ControlToValidate="ProductDescripe"/>
            </td>           
        </tr>	
	</table>
	<table class="SellProductTable">		
		<tr>
			<td  class="HeadLeft"><img src="../Images/pen.gif" width="44" height="27" align="absmiddle">
                <span class="priceText" style="color:#999999 ">2</span> <span class="HidenmeStyle" onclick="Hidden('table2')">商品基本信息</span></td>
			<td  class="HeadRight">&nbsp;</td>
		</tr>
	</table>
	<table  class="SellProductDetail" id="table2">		
        <tr>
            <td class="p_title">商品单位：</td>
            <td class="p_cnt">    
               <asp:TextBox ID="TxtPuint" runat="server" Width="40px" Text="件"/>  
                <select onchange='document.getElementById("ctl00_ContentPlaceHolder1_TxtPuint").value=this.value'  name="selectmsg">                         
                         <option value="件" selected >件</option>
                         <option value="个">个</option>
                         <option value="台">台</option>
                         <option value="批">批</option>
                         <option value="箱">箱</option>
                         <option value="本">本</option>
                         <option value="双">双</option>
                         <option value="瓶">瓶</option>
                         <option value="" >其它</option>
                 </select>        
              
            </td>
        </tr>    
		<tr> 
			<td class="p_title">商品数量：</td>
			<td class="p_cnt">
                <asp:TextBox ID="ProductStock" runat="server" Width="50px" Text="1"/>
                <asp:RequiredFieldValidator ID="rfv3" runat="server" ErrorMessage="请输入商品数量" ControlToValidate="ProductStock"/>              
                <asp:RangeValidator ID="rav_2" runat="server" ErrorMessage="输入数量必须为整数" Type="Integer" ControlToValidate="ProductStock" MaximumValue="99999999" MinimumValue="1"/>
                <asp:RequiredFieldValidator ID="rfv21" runat="server" ControlToValidate="ProductStock"
                    ErrorMessage="商品数量不能空"/></td>
        </tr>		
		<tr> 
			<td class="p_title">新旧程度：</td>
			<td class="p_cnt">
                <asp:RadioButtonList ID="ProductStandard" runat="server" RepeatDirection="Horizontal">
                   <asp:ListItem Text="全新" Value="1"  Selected="True"/>
                   <asp:ListItem Text="二手" Value="0" />
                </asp:RadioButtonList>
            </td> 
        </tr>		
        <tr>
            <td class="p_title">所 在 地：</td>
            <td class="p_cnt">
                <hl:HowaveProvinceCity ID="HowaveProvinceCity1" runat="server" />              
            </td>
        </tr>	
		<tr> 
			<td class="p_title">发 票：</td>
			<td class="p_cnt">
                <asp:RadioButtonList ID="NeedInvoice" runat="server" RepeatDirection="Horizontal">
                   <asp:ListItem Text="有" Value="true" />
                   <asp:ListItem Text="无" Value="false"  Selected="True"/>
                </asp:RadioButtonList>
            </td> 
        </tr>	
       <tr>
            <td class="p_title" style="width: 130px">
                发票税率：</td>
            <td class="p_cnt">
                <asp:TextBox ID="TxtTaxRate" runat="server" MaxLength="3" Width="53px">7</asp:TextBox>%<asp:RequiredFieldValidator
                    ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtTaxRate" ErrorMessage="发票税率不能空"></asp:RequiredFieldValidator>
                <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="TxtTaxRate"
                    ErrorMessage="必须为非负数" MaximumValue="1000" MinimumValue="0" Type="Integer"></asp:RangeValidator></td>
        </tr>
		<tr> 
			<td class="p_title">保 修：</td>
			<td class="p_cnt">
                <asp:RadioButtonList ID="Guarantee" runat="server" RepeatDirection="Horizontal">
                   <asp:ListItem Text="有" Value="true" />
                   <asp:ListItem Text="无" Value="false"  Selected="True"/>
                </asp:RadioButtonList>
        </tr>		
	</table>	
	<table class="SellProductTable">		
		<tr>
			<td class="HeadLeft"><img src="../Images/pen.gif" width="44" height="27" align="absmiddle">
                <span class="priceText" style="color:#999999 ">3</span> <span class="HidenmeStyle" onclick="Hidden('table3')">交易条件</span></td>
			<td class="HeadRight">&nbsp;</td>
		</tr>
	</table>
	<table  class="SellProductDetail" style="display:block" id="table3">
		<tr> 
			<td colspan="2">
			    <div id="display_productType_1" style="display:block">
			       <table width="100%" border="0" cellpadding="0" cellspacing="0">
			          <tr>
			            <td width="145" valign="top" bgcolor="#E1F9FF" align="center" >
			                一 口 价:</td>
			            <td bgcolor="#F9F9F9">
                           <asp:TextBox ID="StandPrice" runat="server" Width="50px"/>&nbsp;元                           
                           <asp:Label ID="StandPrice_Error" runat="server" CssClass="error_text"/></td>
			          </tr>
			          <tr id="auctionMemberCard1"  style="display:none" >
			             <td height="1" bgcolor="#AADDFF"></td>
			             <td height="1" bgcolor="#E1E1E1"></td>
		              </tr> 
			       </table>
			    </div>
			    <div id="display_productType_2" style="display:none">
			       <table width="100%" border="0" cellpadding="0" cellspacing="0">
                       <tr>
                           <td height="1" bgcolor="#AADDFF" >
                           </td>
                           <td height="1" bgcolor="#E1E1E1">
                           </td>
                       </tr>
			          <tr>
			            <td width="145" valign="top" bgcolor="#E1F9FF" align="center">
			              起 拍 价：
			            </td>
			            <td bgcolor="#F9F9F9">
                           <asp:TextBox ID="AuctionPrice" runat="server" Width="50px"/>&nbsp;元
                           <asp:Label ID="AuctionPrice_Error" runat="server" CssClass="error_text"/></td>
			          </tr>
                       <tr>
                           <td height="1" bgcolor="#AADDFF" >
                           </td>
                           <td height="1" bgcolor="#E1E1E1">
                           </td>
                       </tr>
			          <tr>
			            <td width="145" valign="top" bgcolor="#E1F9FF" align="center">
			               加价幅度：
			            </td>
			            <td bgcolor="#F9F9F9">
                           <asp:TextBox ID="AuctionAddPrice" runat="server" Width="50px"/>&nbsp;元
                            <asp:Label ID="AuctionAddPrice_Error" runat="server" CssClass="error_text"/></td>
			          </tr>
			       </table>
			    </div>
			    <div id="display_productType_3" style="display:none">			 
	             	<table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
			              <td class="p_title">
                               原始价:</td>
                          <td class="p_cnt">
                               <asp:TextBox ID="OriginallyPrice" runat="server" Width="57px" Text="0" />
                          </td>
                       </tr>                       
                   </table>
			       <table width="100%" border="0" cellpadding="0" cellspacing="0">
                     <tr>
			            <td class="p_title">
			              价格档次：
			            </td>
			            <td class="p_cnt">
                        <asp:DropDownList ID="DropTeamNum" runat="server"  >
                            <asp:ListItem Selected="True" Value="1">1个档次</asp:ListItem>
                            <asp:ListItem Value="2">2个档次</asp:ListItem>
                            <asp:ListItem Value="3">3个档次</asp:ListItem>
                            <asp:ListItem Value="4">4个档次</asp:ListItem>
                            <asp:ListItem Value="5">5个档次</asp:ListItem>
                        </asp:DropDownList>
                      </td>
			       </tr>
			       <tr id="team_1" >
			         <td class="p_title">
                            档次1：
			            </td>
			            <td class="p_cnt">
                            名称：<asp:TextBox ID="TeamName5" runat="server" Width="57px">豪巴价</asp:TextBox>
                            最低商品数：<asp:TextBox ID="TeamNumber5"  Text="0"  runat="server" Width="50px"/>                           
                            <asp:TextBox ID="TeamPrice5"  Text="0" runat="server" Width="50px"/>&nbsp;元/&nbsp;<span id="err_TeamName5"></span>
                        </td>
                   </tr>			  
                   <tr id="team_2" style="display:none">
			          <td class="p_title">
                            档次2：
			            </td>
			            <td class="p_cnt">
                            名称：<asp:TextBox ID="TeamName4" runat="server" Width="57px">大巴价</asp:TextBox>
                            最低商品数：<asp:TextBox ID="TeamNumber4"  Text="0"  runat="server" Width="50px"/>                         
                            <asp:TextBox ID="TeamPrice4" Text="0"  runat="server" Width="50px"/>&nbsp;元/&nbsp;<span id="err_TeamName4"></span>
                         </td>
			       </tr>						    
                   <tr id="team_3" style="display:none">
			          <td class="p_title">
                            档次3：
			            </td>
			            <td class="p_cnt">
                            名称：<asp:TextBox ID="TeamName3" runat="server" Width="57px">中巴价</asp:TextBox>
                            最低商品数：<asp:TextBox  Text="0" ID="TeamNumber3" runat="server" Width="50px"/>                           
                            <asp:TextBox ID="TeamPrice3" Text="0"  runat="server" Width="50px"/>&nbsp;元/&nbsp;<span id="err_TeamName3"></span>
                        </td>
			       </tr>			  
                   <tr id="team_4" style="display:none">
			           <td class="p_title"> 档次4：</td>
			           <td class="p_cnt">
			               名称：<asp:TextBox ID="TeamName2" runat="server" Width="57px">小巴价</asp:TextBox>
			               最低商品数：<asp:TextBox Text="0"  ID="TeamNumber2" runat="server" Width="50px"/>			              
			               <asp:TextBox ID="TeamPrice2"  Text="0" runat="server" Width="50px"/>&nbsp;元/&nbsp;<span id="err_TeamName2"></span>
                        </td>
			       </tr>			 		 
                   <tr id="team_5" style="display:none">
			          <td class="p_title">档次5：</td>
			          <td class="p_cnt">
			               名称：<asp:TextBox ID="TeamName1" runat="server" Width="57px">微巴价</asp:TextBox>
			               最低商品数：<asp:TextBox Text="0" ID="TeamNumber1" runat="server" Width="50px"/>
			               <asp:TextBox ID="TeamPrice1" Text="0"  runat="server" Width="50px"/>&nbsp;元/&nbsp;<span id="err_TeamName1"></span>
                       </td>
			          </tr>			   
			
			         <tr>
			            <td class="p_title">
                            预付诚意金：
			            </td>
			            <td class="p_cnt">
                            原始价的<asp:TextBox ID="OrderMoneyPercent"  Text="0"  runat="server"   Width="30px"/>%&nbsp;请填写1-100的数字，0表示不需预付诚意金 &nbsp;
                          
                        </td>
			      </tr> 
			  </table>
			 </div> 
           </td>
          </tr>       
			     
      </table>   
    <table class="SellProductTable">     
		<tr>
			<td class="HeadLeft"><img src="../Images/pen.gif" width="44" height="27" align="absmiddle"/>
                4 销售<span class="HidenmeStyle" onclick="Hidden('table4')">设置</span></td>
			<td class="HeadRight">&nbsp;</td>
		</tr>
	</table>
	<table  class="SellProductDetail" style="display:block" id="table1">
        <tr>
			<td class="p_title">支付方式：</td>
			<td class="p_cnt">   
			   <asp:CheckBoxList ID="CheckBoxList_OnlinePayType" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"/>
                <asp:HyperLink  ID="OnLinePay_Error" runat="server" CssClass="error_text"/>
                <asp:Label ID="LablePayTypeIntro" runat="server" />
            </td>   
        </tr> 
        <tr>
			<td class="p_title">运费支付：</td>
			<td class="p_cnt">
			    <asp:RadioButtonList ID="CheckBoxList_DeliverChargePay" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
			      <asp:ListItem Text="买家承担" Value="0"  Selected="True"/>
			      <asp:ListItem Text="卖家承担" Value="1" />
			    </asp:RadioButtonList>
                
            </td> 
        </tr>     
        <tr>
			<td class="p_title">送货方式：</td>
			<td class="p_cnt">
			    <asp:CheckBoxList ID="CheckBoxList_DeliverType" runat="server" RepeatDirection="Horizontal"  RepeatLayout="Flow" />
                <asp:Label ID="DeliverType_Error" runat="server" CssClass="error_text"/>
                <asp:Label ID="LableDeleverTypeIntro" runat="server" />
            </td> 
        </tr>     
		<tr> 
			<td class="p_title">促销设置：</td>
			<td class="p_cnt"><asp:RadioButtonList ID="PromoteSet" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
			       <asp:ListItem Text="无" Value="-1"  Selected="True"/>
			       <asp:ListItem Text="会员卡默认优惠" Value="0" />
			       <asp:ListItem Text="自定义优惠" Value="1" />
			   </asp:RadioButtonList></td>
		</tr>
      </table>
	<table class="SellProductDetail" id="memberCard_set" style="display:none;"> 
		<tr> 
			<td class="p_title">折扣：</td>
            <td class="p_cnt">
                <asp:TextBox ID="TxtDiscount" runat="server"  Text="100"/>%
                <asp:RequiredFieldValidator ID="rfv4" runat="server" ControlToValidate="TxtDiscount"
                    ErrorMessage="不能空"/>
                    <asp:RangeValidator ID="rav_1" runat="server" ControlToValidate="TxtDiscount" ErrorMessage="０～１００" MaximumValue="100" MinimumValue="0" Type="Integer"/>
            </td>
        </tr>		
		<tr> 
			<td class="p_title">返回积分</td>
            <td class="p_cnt">
                <asp:TextBox ID="TxtPresentExp" runat="server"  Text="0"/>
                <asp:RequiredFieldValidator  ID="rfv_5" runat="server" ControlToValidate="TxtPresentExp"  ErrorMessage="不能空"/>
                    <asp:RangeValidator ID="rav_3"  runat="server" ControlToValidate="TxtPresentExp" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer"/></td> 
        </tr>		
		<tr> 
		
			<td class="p_title"> 返回点数：</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentPoint" runat="server"  Text="0"/>
                <asp:RequiredFieldValidator  ID="rfv_6" runat="server" ControlToValidate="TxtPresentPoint" ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_18" runat="server" ControlToValidate="TxtPresentPoint"
                    ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer"/></td> 
        </tr>        
		<tr> 
			<td class="p_title">返回现金：</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentMoney" runat="server"  Text="0"/>
                <asp:RequiredFieldValidator ID="rfv_7" runat="server" ControlToValidate="TxtPresentMoney" ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_4" runat="server" ControlToValidate="TxtPresentMoney" ErrorMessage="非负数" MaximumValue="999999999" MinimumValue="0" Type="Double"/></td> 
        </tr>
        <tr>
            <td class="p_title">普通会员折扣：</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtDiscount1" runat="server"  Text="0" />%
                <asp:RequiredFieldValidator ID="rfv_8" runat="server" ControlToValidate="TxtDiscount1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_6" runat="server" ControlToValidate="TxtDiscount1"
                    ErrorMessage="０～１００" MaximumValue="100" MinimumValue="0" Type="Integer"/>
            </td>
        </tr>       
        <tr>
           <td class="p_title">普通会员返回积分</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentExp1" runat="server"  Text="100" /><asp:RequiredFieldValidator
                    ID="rfv_9" runat="server" ControlToValidate="TxtPresentExp1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_5" runat="server" ControlToValidate="TxtPresentExp1"
                    ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer"/></td>
        </tr>      
        <tr>
            <td class="p_title">普通会员返回点数：</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentPoint1" runat="server"  Text="0" />
                <asp:RequiredFieldValidator  ID="rfv_10" runat="server" ControlToValidate="TxtPresentPoint1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_7" runat="server" ControlToValidate="TxtPresentPoint1"
                    ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer"/></td>
        </tr>       
        <tr>
            <td class="p_title">普通会员返回现金：</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentMoney1" runat="server"  Text="0" /><asp:RequiredFieldValidator
                    ID="rfv_11" runat="server" ControlToValidate="TxtPresentMoney1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_8" runat="server" ControlToValidate="TxtPresentMoney1"
                    ErrorMessage="非负数" MaximumValue="999999999" MinimumValue="0" Type="Double"/></td>
        </tr>
        <tr>
            <td class="p_title">ＶＩＰ折扣：</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtDiscount2" runat="server"  Text="100" />%
                <asp:RequiredFieldValidator ID="rfv_12" runat="server" ControlToValidate="TxtDiscount2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_10" runat="server" ControlToValidate="TxtDiscount2"
                    ErrorMessage="０～１００" MaximumValue="100" MinimumValue="0" Type="Integer"/>
            </td>
        </tr>       
        <tr>
            <td class="p_title">ＶＩＰ返回积分 </td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentExp2" runat="server"  Text="0" /><asp:RequiredFieldValidator
                    ID="rfv_13" runat="server" ControlToValidate="TxtPresentExp2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_11" runat="server" ControlToValidate="TxtPresentExp2"
                    ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer"/></td>
        </tr>      
        <tr>
            <td class="p_title">ＶＩＰ返回点数： </td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentPoint2" runat="server"  Text="0" /><asp:RequiredFieldValidator
                    ID="rfv_14" runat="server" ControlToValidate="TxtPresentPoint2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_12" runat="server" ControlToValidate="TxtPresentPoint2"
                    ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer"/></td>
        </tr>      
        <tr>
            <td class="p_title"> ＶＩＰ返回现金：</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentMoney2" runat="server"  Text="0" />
                <asp:RequiredFieldValidator
                    ID="rfv_15" runat="server" ControlToValidate="TxtPresentMoney2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_9" runat="server" ControlToValidate="TxtPresentMoney2"
                    ErrorMessage="非负数" MaximumValue="999999999" MinimumValue="0" Type="Double"/></td>
        </tr>
        <tr>
            <td class="p_title">高级会员折扣：</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtDiscount3" runat="server"  Text="100" />%
                <asp:RequiredFieldValidator ID="rfv_16" runat="server" ControlToValidate="TxtDiscount3"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="rav_14" runat="server" ControlToValidate="TxtDiscount3"
                    ErrorMessage="０～１００" MaximumValue="100" MinimumValue="0" Type="Integer"/>
            </td>
        </tr>     
        <tr>
            <td class="p_title">高级会员返回积分</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentExp3" runat="server"  Text="0"/>
                <asp:RequiredFieldValidator ID="Rq7" runat="server" ControlToValidate="TxtPresentExp3" ErrorMessage="不能空"/>
                <asp:RangeValidator ID="Rg15" runat="server" ControlToValidate="TxtPresentExp3"
                 ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer"/></td>
        </tr>       
        <tr>
            <td class="p_title">高级会员返回点数：</td>
             <td class="p_cnt">
                <asp:TextBox ID="TxtPresentPoint3" runat="server" Text="0" />
                <asp:RequiredFieldValidator  ID="Rq18" runat="server" ControlToValidate="TxtPresentPoint3"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="Rg16" runat="server" ControlToValidate="TxtPresentPoint3"
                    ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer"/></td>
        </tr>       
        <tr>
            <td class="p_title">高级会员返回现金：</td>
            <td class="p_cnt">
                <asp:TextBox ID="TxtPresentMoney3" runat="server" Text="0" /> 
                <asp:RequiredFieldValidator ID="Rq19" runat="server" ControlToValidate="TxtPresentMoney3"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="Rg13" runat="server" ControlToValidate="TxtPresentMoney3"
                    ErrorMessage="非负数" MaximumValue="999999999" MinimumValue="0" Type="Double"/></td>
        </tr>       
	</table>
	<table class="SellProductTable">		
		<tr>
			<td class="HeadLeft"><img src="../Images/pen.gif" width="44" height="27" align="absmiddle"/>
                5 <span class="HidenmeStyle" onclick="Hidden('table4')">其它信息</span></td>
			<td class="HeadRight">&nbsp;</td>
		</tr>
	</table>
	<table  class="SellProductDetail" id="table4">	
		<tr> 
			<td class="p_title">有 效 期：</td>
			<td class="p_cnt">
              <asp:DropDownList ID="ValidDay" runat="server"/>&nbsp;天</td>
        </tr>	
		<tr> 
			<td class="p_title">开始时间：</td>
			<td class="p_cnt">
               <asp:RadioButtonList ID="ProductPublishTime" runat="server" RepeatDirection="Horizontal">
                 <asp:ListItem Text="不变" Value="-1"  Selected="True"/>
                 <asp:ListItem Text="设定时间" Value="2" />
                 <asp:ListItem Text="立即" Value="1" />                 
                 <asp:ListItem Text="放入仓库" Value="0" />
               </asp:RadioButtonList>
               <asp:DropDownList ID="PublishStartDay" runat="server" />
               <asp:DropDownList ID="PublishStartHour" runat="server" >
                   <asp:ListItem Text="0" Value="0" />
                   <asp:ListItem Text="1" Value="1" />
                   <asp:ListItem Text="2" Value="2" />
                   <asp:ListItem Text="3" Value="3" />
                   <asp:ListItem Text="4" Value="4" />
                   <asp:ListItem Text="5" Value="5" />
                   <asp:ListItem Text="6" Value="6" />
                   <asp:ListItem Text="7" Value="7" />
                   <asp:ListItem Text="8" Value="8" />
                   <asp:ListItem Text="9" Value="9" />
                   <asp:ListItem Text="10" Value="10" />
                   <asp:ListItem Text="11" Value="11" />
                   <asp:ListItem Text="12" Value="12" />
                   <asp:ListItem Text="13" Value="13" />                
                   <asp:ListItem Text="14" Value="14" />
                   <asp:ListItem Text="15" Value="15" />
                   <asp:ListItem Text="16" Value="16" />
                   <asp:ListItem Text="17" Value="17" />
                   <asp:ListItem Text="18" Value="18" />
                   <asp:ListItem Text="19" Value="19" />
                   <asp:ListItem Text="20" Value="20" />
                   <asp:ListItem Text="21" Value="21" />
                   <asp:ListItem Text="22" Value="22" />
                   <asp:ListItem Text="23" Value="23" />
               </asp:DropDownList>时
               <asp:DropDownList ID="PublishStartMin" runat="server" >
                  <asp:ListItem Text="0" Value="0" />
                  <asp:ListItem Text="5" Value="5" />
                  <asp:ListItem Text="10" Value="10" />
                  <asp:ListItem Text="15" Value="15" />
                  <asp:ListItem Text="20" Value="20" />
                  <asp:ListItem Text="25" Value="25" />
                  <asp:ListItem Text="30" Value="30" />
                  <asp:ListItem Text="35" Value="35" />
                  <asp:ListItem Text="40" Value="40" />
                  <asp:ListItem Text="45" Value="45" />
                  <asp:ListItem Text="50" Value="50" />
                  <asp:ListItem Text="55" Value="55" />
               </asp:DropDownList>分
            </td> 
        </tr>	
		<tr> 
			<td class="p_title"> 自动重发：</td>
			<td class="p_cnt">
               <asp:CheckBox ID="AutoPostBack" runat="server"  Text="是" Checked="true"/>系统会帮您自动重发1次，到期未卖出的商品，您可以在仓库里找到并重新发布
            </td> 
        </tr> 
		<tr style="display:none;"> 
			<td class="p_title"> 显示模板：</td>
			<td class="p_cnt">
                <asp:DropDownList ID="TemplateID" runat="server" AppendDataBoundItems="True"/>
               </td> 
        </tr>       
		<tr  style="display:none;"> 
			<td class="p_title"> 显示风格：</td>
			<td class="p_cnt">
                <asp:DropDownList ID="SkinID" runat="server" AppendDataBoundItems="True"/>
            </td> 
        </tr>		
		<tr> 
			<td class="p_title">橱窗推荐：</td>
			<td class="p_cnt">
                <asp:CheckBox ID="IsElite" runat="server" Text="是"/>
            </td>     
        </tr>		
		<tr> 
			<td class="p_title">心情故事：</td>
			<td class="p_cnt">
                <asp:TextBox ID="UserRemark" runat="server" TextMode="MultiLine" Height="131px" Width="354px"/>
            </td> 
        </tr>		
	</table>
  <asp:Literal ID="err_sum" runat="server" />
  <div id="submit_button" align="center">
      <p>
          <asp:Label ID="Edit_Err" runat="server" /><br />
          <input type="button" onclick="preview()" value="预览"/>&nbsp;&nbsp;&nbsp;&nbsp;
          <asp:Button ID="SaveEditButton" runat="server" Text="保存修改结果"  CommandName="SaveEdit" OnCommand="Button_Submit_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
          <asp:Button ID="Button_Submit" runat="server" Text="添加为新商品" CommandName="AddNew" OnCommand="Button_Submit_Click" />       
          <asp:HiddenField ID="H_ClassID" runat="server" />
          <asp:HiddenField ID="H_ProductID" runat="server" />
      </p>
  </div>
  <script type="text/javascript">
        GetProductType(<%=Cs_SelectProductType %>);
        var SelTeamvalue=document.getElementById('DropTeamNum').value;
        changeTeam(SelTeamvalue);
   </script>
   </div>
  </form>
  
 </div>  
</body>
</html>

