123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338 |
- @model CP.Admin.TcdltInfoModel
- @{
- Layout = null;
- Page.Title = "编辑大乐透开奖信息";
- }
- <link href="~/Static/css/bootstrap.min.css" rel="stylesheet" />
- <link href="~/Static/css/font-awesome.min.css" rel="stylesheet" />
- <link href="~/Static/css/style.css" rel="stylesheet" />
- <link href="~/Static/css/base.css" rel="stylesheet" />
- <style>
- .form-width {
- width: 60px;
- padding: 6px 6px;
- display: -webkit-inline-box;
- }
- </style>
- <script src="~/Static/custom/jquery.min.js"></script>
- <script src="~/Static/custom/jquery.easyui.min.js"></script>
- <script src="~/Static/custom/easyui-lang-zh_CN.js"></script>
- <link href="~/Static/custom/uimaker/easyui.css" rel="stylesheet" />
- <link href="~/Static/custom/uimaker/icon.css" rel="stylesheet" />
- <script src="~/Static/js/bootstrap.min.js"></script>
- <script src="~/static/js/jquery.form.js"></script>
- <script src="~/Static/js/validate/jquery.validate.min.js"></script>
- <script src="~/Static/js/validate/messages_zh.min.js"></script>
- <script src="~/Static/js/serializeObj.js"></script>
- <script src="~/Static/js/common.js?c=1"></script>
- <script src="~/Static/js/DateTimeOverFlowFormat.js"></script>
- <script src="~/Static/layer/layer.min.js"></script>
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>@Html.Raw(Page.Title)</h5>
- </div>
- <div class="ibox-content">
- @using (Html.BeginForm("Edit", "TcdltNum", FormMethod.Post, new { @id = "signupForm", @class = "form-horizontal" }))
- {
- @Html.AntiForgeryToken()
- @Html.ValidationSummary(true)
- @Html.HiddenFor(model => model.id);
- <div class="form-group">
- @Html.Label("期号", new { @class = "col-sm-2 control-label" })
- <div class="col-sm-2">
- @Html.TextBoxFor(model => model.qi, new { @class = "form-control" })
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left" })
- </div>
- <div class="form-group">
- @Html.Label("开机号", new { @class = "col-sm-2 control-label" })
- <div class="col-sm-4">
- <input class="form-width text-box single-line onlyNum_two_35" name="kjihlist" type="text" value="@(Model.kjih==null?"0":Model.kjih.Split(',', '+')[0])">
- <input class="form-width text-box single-line onlyNum_two_35" name="kjihlist" type="text" value="@(Model.kjih==null?"0":Model.kjih.Split(',', '+')[1])">
- <input class="form-width text-box single-line onlyNum_two_35" name="kjihlist" type="text" value="@(Model.kjih==null?"0":Model.kjih.Split(',', '+')[2])">
- <input class="form-width text-box single-line onlyNum_two_35" name="kjihlist" type="text" value="@(Model.kjih==null?"0":Model.kjih.Split(',', '+')[3])">
- <input class="form-width text-box single-line onlyNum_two_35" name="kjihlist" type="text" value="@(Model.kjih==null?"0":Model.kjih.Split(',', '+')[4])"> +
- <input class="form-width text-box single-line onlyNum_two_12" name="kjihlist" type="text" value="@(Model.kjih==null?"0":Model.kjih.Split(',', '+')[5])">
- <input class="form-width text-box single-line onlyNum_two_12" name="kjihlist" type="text" value="@(Model.kjih==null?"0":Model.kjih.Split(',', '+')[6])">
- </div>
- @Html.Label("(必填:在01-35取值)", new { @class = "col-sm-2 control-label", style = "color:red;text-align: left" })
- </div>
- <div class="form-group">
- @Html.Label("开奖号", new { @class = "col-sm-2 control-label" })
- <div class="col-sm-4">
- @Html.TextBoxFor(m => m.n1, new { @class = "form-width onlyNum_two_35" })
- @Html.TextBoxFor(m => m.n2, new { @class = "form-width onlyNum_two_35" })
- @Html.TextBoxFor(m => m.n3, new { @class = "form-width onlyNum_two_35" })
- @Html.TextBoxFor(m => m.n4, new { @class = "form-width onlyNum_two_35" })
- @Html.TextBoxFor(m => m.n5, new { @class = "form-width onlyNum_two_35" }) +
- @Html.TextBoxFor(m => m.n6, new { @class = "form-width onlyNum_two_12" })
- @Html.TextBoxFor(m => m.n7, new { @class = "form-width onlyNum_two_12" })
- </div>
- @Html.Label("(必填:在01-35取值)", new { @class = "col-sm-2 control-label", style = "color:red;text-align: left" })
- </div>
- <div class="form-group">
- @Html.Label("开奖日期", new { @class = "col-sm-2 control-label" })
- <div class="col-sm-2">
- <input id="date" name="date" type="text" class="easyui-datetimebox" style="height:31px;width:240px;">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left" })
- </div>
- <div class="form-group">
- @Html.Label("投注金额", new { @class = "col-sm-2 control-label" })
- <div class="col-sm-2">
- @Html.TextBoxFor(model => model.tzmoney, new { @class = "form-control" })
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- @Html.Label("滚动金额", new { @class = "col-sm-2 control-label" })
- <div class="col-sm-2">
- @Html.TextBoxFor(model => model.nextmoney, new { @class = "form-control" })
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- @Html.Label("一等奖注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="dj1" name="dj1" type="hidden" value="一等奖">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="djnum1" name="djnum1" type="number" value="@(Model.list==null?"0":Model.list[0].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="jj1" name="jj1" type="number" value="@(Model.list==null?"0":Model.list[0].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- @Html.Label("一等奖追加注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="zj1" name="zj1" type="hidden" value="一等奖追加">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjnum1" name="zjnum1" type="number" value="@(Model.list==null?"0":Model.list[1].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("追加奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjjj1" name="zjjj1" type="number" value="@(Model.list==null?"0":Model.list[1].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- @Html.Label("二等奖注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="dj2" name="dj2" type="hidden" value="二等奖">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="djnum2" name="djnum2" type="number" value="@(Model.list==null?"0":Model.list[2].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="jj2" name="jj2" type="number" value="@(Model.list==null?"0":Model.list[2].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- @Html.Label("二等奖追加注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="zj2" name="zj2" type="hidden" value="二等奖追加">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjnum2" name="zjnum2" type="number" value="@(Model.list==null?"0":Model.list[3].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("追加奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjjj2" name="zjjj2" type="number" value="@(Model.list==null?"0":Model.list[3].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- @Html.Label("三等奖注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="dj3" name="dj3" type="hidden" value="三等奖">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="djnum3" name="djnum3" type="number" value="@(Model.list==null?"0":Model.list[4].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="jj3" name="jj3" type="number" value="@(Model.list==null?"10000":Model.list[4].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- @*<div class="form-group">
- @Html.Label("三等奖追加注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="zj3" name="zj3" type="hidden" value="三等奖追加">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjnum3" name="zjnum3" type="number" value="@(Model.list==null?"0":Model.list[8].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("追加奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjjj3" name="zjjj3" type="number" value="@(Model.list==null?"0":Model.list[8].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>*@
- <div class="form-group">
- @Html.Label("四等奖注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="dj4" name="dj4" type="hidden" value="四等奖">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="djnum4" name="djnum4" type="number" value="@(Model.list==null?"0":Model.list[5].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="jj4" name="jj4" type="number" value="@(Model.list==null?"3000":Model.list[5].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- @*<div class="form-group">
- @Html.Label("四等奖追加注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="zj4" name="zj4" type="hidden" value="四等奖追加">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjnum4" name="zjnum4" type="number" value="@(Model.list==null?"0":Model.list[9].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("追加奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjjj4" name="zjjj4" type="number" value="@(Model.list==null?"0":Model.list[9].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>*@
- <div class="form-group">
- @Html.Label("五等奖注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="dj5" name="dj5" type="hidden" value="五等奖">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="djnum5" name="djnum5" type="number" value="@(Model.list==null?"0":Model.list[6].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="jj5" name="jj5" type="number" value="@(Model.list==null?"300":Model.list[6].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- @*<div class="form-group">
- @Html.Label("五等奖追加注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="zj5" name="zj5" type="hidden" value="五等奖追加">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjnum5" name="zjnum5" type="number" value="@(Model.list==null?"0":Model.list[10].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("追加奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjjj5" name="zjjj5" type="number" value="@(Model.list==null?"0":Model.list[10].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>*@
- <div class="form-group">
- @Html.Label("六等奖注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="dj6" name="dj6" type="hidden" value="六等奖">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="djnum6" name="djnum6" type="number" value="@(Model.list==null?"0":Model.list[7].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjjj6" name="jj6" type="number" value="@(Model.list==null?"200":Model.list[7].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- @Html.Label("七等奖注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="zj3" name="zj3" type="hidden" value="七等奖">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjnum3" name="zjnum3" type="number" value="@(Model.list==null?"0":Model.list[8].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjjj3" name="zjjj3" type="number" value="@(Model.list==null?"100":Model.list[8].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- @Html.Label("八等奖注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="zj4" name="zj4" type="hidden" value="八等奖">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjnum4" name="zjnum4" type="number" value="@(Model.list==null?"0":Model.list[9].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjjj4" name="zjjj4" type="number" value="@(Model.list==null?"15":Model.list[9].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- @Html.Label("九等奖注数", new { @class = "col-sm-2 control-label" })
- <input class="col-sm-1 text-box single-line" id="zj5" name="zj5" type="hidden" value="九等奖">
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjnum5" name="zjnum5" type="number" value="@(Model.list==null?"0":Model.list[10].wincount)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- @Html.Label("奖金", new { @class = "col-sm-1 control-label", style = "width:100px;" })
- <div class="col-sm-1">
- <input class="col-sm-1 text-box single-line" id="zjjj5" name="zjjj5" type="number" value="@(Model.list==null?"5":Model.list[10].winmoney)">
- </div>
- @Html.Label("(必填)", new { @class = "col-sm-1 control-label", style = "color:red;text-align: left;width:45px" })
- </div>
- <div class="form-group">
- <div class="col-sm-8" style="text-align:center">
- <a class="btn btn-info" href="@Url.Action("Index")"><i class="fa fa-list"></i>返回列表</a>
- <button class="btn btn-success" type="submit" style="margin-left:30px; "><i class="fa fa-check"></i>保存</button>
- </div>
- </div>
- }
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- $().ready(function () {
- var icon = "<i class='fa fa-times-circle'></i> ";
-
- $("#signupForm").validate({
- submitHandler: function () {
- formResult("signupForm", true, null, null, "/TcdltNum/index");
- },
- });
- $('#date').datetimebox('setValue', '@(Model.date)');
- });
- function funcall() {
-
-
-
-
-
-
- location.href = "/TcdltNum/index";
-
- }
- function clear() {
-
- }
- </script>
|