<%@ Page language="c#" Codebehind="OrderNumberRule.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.Admin.OrderNumberRule" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
	    <!--#include file="inc/head.inc"-->
		<title>OrderNumberRule</title>
	</HEAD>
	<body>
	    <div class="container">
		<div class="sub_container">
		<div class="sub_container_title"><a href="../default.aspx" target="_blank">桌面</a><img src="images/admin_title.jpg" height=9px width=8px align="absmiddle" />生成规则</div>
		<div class="sub_container_content">
		<form id="Form1" method="post" runat="server">
		    <div class="frame">
		        <div class="frame_title">订单编号生成规则</div>
		        <div class="frame_content">
					<table class="tableBorder" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
						<tr>
							<td align="left">
								订单编号生成规则：
							</td>
							<td>
								<asp:TextBox id="txtOrderNumberRule" runat="server" Width="200px">{Area}{Time}{Number}</asp:TextBox><FONT face="宋体"><BR>
								</FONT><FONT face="宋体">{Time}代表订单时间,具体时间格式按下面的时间设置<BR>
									{Area}代表顾客所在一级地区编码,此编码从系统自动获取<BR>
									{Number}代表订单流水号,具体位数可于下面设置</FONT>
							</td>
						</tr>
						<tr>
							<td align="left" valign="top">
								时间格式：
							</td>
							<td>
								<P>
									<asp:TextBox id="txtTimeFormat" runat="server" Width="150px">yyyyMMdd</asp:TextBox><FONT face="宋体">y代表年,M代表月份,d代表日期,h代表小时,m代表分钟,s代表秒</FONT></P>
							</td>
						</tr>
						<tr>
							<td align="left">
								流水号位数：
							</td>
							<td>
								<asp:TextBox id="txtOrderNum" runat="server" Width="50px">6</asp:TextBox>
							</td>
						</tr>
						<tr>
							<td align="center" colspan="2"><br>
								<asp:Button id="btnSave" runat="server" Text="保存"></asp:Button>
								<asp:Button id="btnCancel" runat="server" Text="取消" CausesValidation="False"></asp:Button></td>
						</tr>
					</table>
		        </div>
	        </div>
		</form>
		</div>
		</div>
		</div>
	</body>
</HTML>
