<%@ Page Language="C#" AutoEventWireup="true" Inherits="WebPage_Youhui_XinjianDaijin" Codebehind="Youhui_XinjianDaijin.aspx.cs" %>
<%@ Register Src="../UserControls/HeaderControl.ascx" TagName="HeaderControl" TagPrefix="uc2" %>
<%@ Register src="../UserControls/FooterControl.ascx" tagname="FooterControl" tagprefix="uc3" %>
<%@ Register src="UserControls/Youhui.ascx" tagname="Youhui" tagprefix="uc1" %>
<!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 runat="server">
	<meta http-equiv="content-type" content="text/html" charset="UTF-8"/>
	<title>艾尚团购 - 管理后台</title>
    <script type="text/javascript" src="../upfile/js/calendar.js"></script>
	</head>
    <script type="text/javascript" src="../upfile/js/datePicker/WdatePicker.js"></script>
<body class="newbie">
    <form id="form1" runat="server">
   <div id="pagemasker"></div><div id="dialog"></div>
<div id="doc">
<uc2:HeaderControl ID="HeaderControl1" runat="server" />

<div class="sysmsgw" id="sysmsg-success" style="display:none;"><div class="sysmsg" style="left: 0px; top: 0px;"><p>10张代金券生成成功</p><span class="close">关闭</span></div></div> 

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<div class="dashboard" id="dashboard">
		<uc1:Youhui   ID="Youhui1" runat="server" />
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-content">
                <div class="head">
					<h2>新建代金券</h2>
				</div>
                <div class="sect">
					<input type="hidden" name="id" value="0" />
                        <div class="field">
                            <label>商户ID</label>
                            <input type="text"  name="partner_id" group="a"  class="number" value="0" require="true" datatype="number"  /><span class="inputtip">商户ID可以在商户菜单中查询复制出来</span>
							<span class="hint">0 表示站内所有商户通用代金券</span>
                        </div>
                        <div class="field">
                            <label>代金券面额</label>
                            <input type="text"  name="money" group="a" id="money" class="number" value="10" datatype="number" require="true" /><span class="inputtip">面额单位为元CNY（人民币元）</span>
                        </div>
                        <div class="field">
                            <label>生成数量</label>
                            <input type="text"    name="quantity" group="a" id="Quantity" class="number" value="10" datatype="number" require="true" /><span class="inputtip">一次最多生成1000张，可重复生成</span>
                        </div>
                        <div class="field">
                            <label>开始日期</label>
                            <input type="text"  group="a" name="begin_time" id="begintine" class="date"  datatype="date"  onclick="WdatePicker();"  /><span class="inputtip">时间格式：2010-05-05</span>
                            
						</div>
                        <div class="field">
                            <label>结束日期</label>
                            <input type="text"   group="a" name="end_time" id="endtime" class="date"  datatype="date"  onclick="WdatePicker();" />
						</div>
                        <div class="field">
                            <label>行动代号</label>
                            <input type="text"   group="a" require="true" name="code" id="code" class="number" value="<%=time %>"  datatype="require" require="true" " /><span class="inputtip">只是一个代号，可用于对代金券，归档、汇总、查询</span>
                        </div>
                        <div class="act">
                            <input type="submit" value="确定" name="commit" id="submit" group="a" class="formbutton validator" />
                        </div>
                </div>
            </div>
            
        </div>
	</div>

</div>
</div> <!-- bdw end -->
<uc3:FooterControl ID="FooterControl1" runat="server" />

</div>

    </form>

</body>
</html>
