<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="OrderNumRule.aspx.cs" Inherits="web.admin.OrderNumRule" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>OrderNumberRule</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet">
		<style type="text/css">
body {margin:0px; height:768px}
</style>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
			<script language="JavaScript">
<!--
//By Dicky 2005-2-17 11:16:49
function Window_Load(Flag)
{

if (Flag == 0)
{

  parent.document.all['Loading'].style.display = 'block';
  parent.document.all['Loading'].style.width = '500';
   parent.document.all['Loading'].style.height = '60';
  //show the window
}
else
{
  parent.document.all['Loading'].style.display = 'none';
  
  //hide the window
}
}
//-->
</script>
	</HEAD>
	
	<body rightmargin="0" leftmargin="0" topmargin="0" onload="Window_Load(1);">
	
		<form id="Form2" method="post" runat="server" onsubmit="Window_Load(0);">
<table width="100%" height="550" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" background="img/labelbg.gif" bgcolor="#EDF6FF">
            <tr>
		      <td width="4%" height="38" class="tl"></td>
		<td width="93%" class="tm"><span class="tt">平台基础设置管理 &gt;&gt; 食单编号生成规则设置</span></td>
		      <td width="1%" class="tm2"><span class="tt"></span></td>
		<td width="2%" class="tr"></td>
	</tr>
</table>
</div>
        <div class="mframe"><br>
          <table width="95%" border="0" align="center" cellPadding="0" cellSpacing="1" bgcolor="#CCCCCC" >
            <tr bgcolor="#FFFFFF"> 
              <td height="126" align="left"> 
                <div align="center">食单编号生成规则： </div></td>
              <td style="line-height:30px"> &nbsp;&nbsp;&nbsp; 
                <asp:TextBox id="txtOrderNumberRule" CssClass="input" runat="server" Width="200px">{Area}{Time}{Number}</asp:TextBox>
                <FONT face="宋体"><BR>
                </FONT><FONT face="宋体">&nbsp;&nbsp;&nbsp;{Time}代表食单时间,具体时间格式按下面的时间设置</FONT> <FONT face="宋体"><BR>
               
                &nbsp;&nbsp;&nbsp;{Number}代表食单流水号,具体位数可于下面设置</FONT> </td>
            </tr>
            <tr bgcolor="#FFFFFF" height="30"> 
              <td height="45" align="left" valign="middle"> 
                <div align="center">时间格式： </div></td>
              <td> 
                <P> 
                 &nbsp;&nbsp;&nbsp;<asp:TextBox id="txtTimeFormat" CssClass="input" runat="server" Width="150px">yyyyMMdd</asp:TextBox>
                  <FONT face="宋体">y代表年,M代表月份,d代表日期,h代表小时,m代表分钟,s代表秒</FONT></P></td>
            </tr>
            <tr bgcolor="#FFFFFF" height="30"> 
              <td height="37" align="left"> 
                <div align="center">流水号位数： </div></td>
              <td> &nbsp;&nbsp;&nbsp; 
                <asp:TextBox id="txtOrderNum" CssClass="input" runat="server" Width="50px">6</asp:TextBox> 
              </td>
            </tr>
            <tr valign="middle" bgcolor="#FFFFFF" height="35"> 
              <td height="45" colspan="2" align="center"> <asp:Button id="btnSave" runat="server" CssClass="btn" Text="保存"></asp:Button>
                &nbsp;&nbsp; 
                <asp:Button id="btnCancel" runat="server" CssClass="btn" Text="取消" CausesValidation="False"></asp:Button></td>
            </tr>
          </table>
		</div>
    </td>
  </tr>
</table>
		</form>
	</body>
</HTML>
