123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FC3DInfoEdit.aspx.cs" Inherits="CB.Admin.Plugins.OpenCode.FC3DInfoEdit" %>
- <!DOCTYPE html >
- <html >
- <head runat="server">
- <title>编辑福彩3D开奖信息</title>
- <link href="../../static/css/main.css" rel="stylesheet" type="text/css" />
- <script src="../../static/js/jquery.js" type="text/javascript"></script>
- <script src="../../Static/js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
- <script type="text/javascript">
- //窗体加载
- $(function () {
- $("#txtOpenTime").click(WdatePicker);
- });
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div class="box">
- <div class="title">
- <span>
- <%=title %>福彩3D开奖信息</span>
- </div>
- <div class="content">
- <div class="listtable">
- <table style="margin-top: 3px" width="98%" border="0" align="center" cellpadding="0"
- cellspacing="0">
- <tr>
- <td width="100">
- 期号:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txtTerm" runat="server" Enabled="False"></asp:TextBox> <span style="color: Red;">(必填)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 开机号:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txtKJH1" runat="server" Width="35"></asp:TextBox> <asp:TextBox
- ID="txtKJH2" runat="server" Width="35"></asp:TextBox> <asp:TextBox ID="txtKJH3"
- runat="server" Width="35"></asp:TextBox> <span style="color: Red;">(必填:号码在0-9中取值)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 试机号:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txtShiJiHao1" runat="server" Width="35"></asp:TextBox> <asp:TextBox
- ID="txtShiJiHao2" runat="server" Width="35"></asp:TextBox> <asp:TextBox
- ID="txtShiJiHao3" runat="server" Width="35"></asp:TextBox> <span style="color: Red;">(必填:号码在0-9中取值)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 特殊:
- </td>
- <td>
- <div class="left">
- 金码:<asp:TextBox ID="txtJm" runat="server" Width="35"></asp:TextBox> 关注码:<asp:TextBox
- ID="txtGzm1" runat="server" Width="35"></asp:TextBox> <asp:TextBox
- ID="txtGzm2" runat="server" Width="35"></asp:TextBox> <asp:TextBox
- ID="txtGzm3" runat="server" Width="35"></asp:TextBox> 对应码:<asp:TextBox ID="txtDym1"
- runat="server" Width="35"></asp:TextBox> <asp:TextBox ID="txtDym2"
- runat="server" Width="35"></asp:TextBox> <asp:TextBox ID="txtDym3"
- runat="server" Width="35"></asp:TextBox> <span style="color: Red;">(必填:号码在0-9中取值)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 开奖号:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txtOpenCode1" runat="server" Width="35"></asp:TextBox> <asp:TextBox
- ID="txtOpenCode2" runat="server" Width="35"></asp:TextBox> <asp:TextBox
- ID="txtOpenCode3" runat="server" Width="35"></asp:TextBox> <span style="color: Red;">(必填:号码在0-9中取值)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 开奖日期:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txtOpenTime" runat="server" class="Wdate"></asp:TextBox><span style="color: Red;">(必填)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 本期投注:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txttzmoney" runat="server" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onblur="this.value=this.value.replace(/[^0-9]/g,'')"></asp:TextBox><span style="color: Red;">(必填)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 直选注数:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txtZX" runat="server" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onblur="this.value=this.value.replace(/[^0-9]/g,'')"></asp:TextBox><span style="color: Red;">(必填)</span>
- 直选金额:
- <asp:TextBox ID="txtZXmoney" runat="server" Text="1040" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onblur="this.value=this.value.replace(/[^0-9]/g,'')"></asp:TextBox><span style="color: Red;">(必填)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 组三注数:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txtZS" runat="server" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onblur="this.value=this.value.replace(/[^0-9]/g,'')"></asp:TextBox><span style="color: Red;">(必填)</span>
- 组三金额:
- <asp:TextBox ID="txtZSmoney" runat="server" Text="346" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onblur="this.value=this.value.replace(/[^0-9]/g,'')"></asp:TextBox><span style="color: Red;">(必填)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 组六注数:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txtZL" runat="server" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onblur="this.value=this.value.replace(/[^0-9]/g,'')"></asp:TextBox><span style="color: Red;">(必填)</span>
- 组六金额:
- <asp:TextBox ID="txtZLmoney" runat="server" Text="173" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onblur="this.value=this.value.replace(/[^0-9]/g,'')"></asp:TextBox><span style="color: Red;">(必填)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 操作:
- </td>
- <td>
- <div class="left">
- <asp:Button ID="btnEdit" runat="server" Text=" 保 存 " OnClick="btnEdit_Click" /><span
- style="margin-left: 5px">
- <asp:Button ID="btnClear" runat="server" Text=" 清 除 " OnClick="btnClear_Click" />
- </span>
- </div>
- <asp:Label ID="labID" runat="server" Text="" Visible="false"></asp:Label>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </form>
- </body>
- </html>
- <script type="text/javascript">
- var chi = new Array();
- chi[0] = "txtKJH1";
- chi[1] = "txtKJH2";
- chi[2] = "txtKJH3";
- chi[3] = "txtShiJiHao1";
- chi[4] = "txtShiJiHao2";
- chi[5] = "txtShiJiHao3";
- chi[6] = "txtJm";
- chi[7] = "txtGzm1";
- chi[8] = "txtGzm2";
- chi[9] = "txtGzm3";
- chi[10] = "txtDym1";
- chi[11] = "txtDym2";
- chi[12] = "txtDym3";
- chi[13]= "txtOpenCode1";
- chi[14]="txtOpenCode2";
- chi[15]="txtOpenCode3";
- $("input:text").keyup(function () {
- var a = $(this).val();
- var id = $(this).attr('id');
- var index = 17;
- for (var i = 0; i < chi.length; i++) {
- if (chi[i] == id) {
- if (i != chi.length - 1) {
- index = i + 1;
- }; break;
- }
- }
- if (index < 16) {
- if (a >= 0 && a <= 16 && a.length == 1) {
- $(this).blur();
- if (index != 16) {
- var nid = "#" + chi[index];
- $(nid).focus();
- }
- } else { $(this).val("") }
- }
- });
- </script>
|