@model EMIS.ViewModel.ScoreManage.ScoreEditView
@using Bowin.Common.JSON;
@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@using EMIS.Web.Controls.Score;
@{
ViewBag.Title = "成绩录入信息";
}
@section scripts{
}
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "formSuccessReloadNoClose", OnBegin = "FormSubmit", OnComplete = "FormComplete" }))
{
@Html.HiddenFor(x => Model.FinalExaminationID)
@Html.Hidden("CustomScoreFormula", Model.CustomScoreFormula.ToJson())
@Html.Hidden("ExamsStateSetting", Model.ExamsStateSetting.ToJson())
@Html.Hidden("ResultType", Model.ResultType.ToJson())
成绩录入信息
@if ((Request["Isdisplay"] == "" || Request["Isdisplay"] == null) && (Model.ApprovalStatus == 1 || Model.ApprovalStatus == 3 || Model.ApprovalStatus == 5))
{
@Html.ContextMenuBar("Edit")
}
@if (Model.ApprovalStatus == 2 || Model.ApprovalStatus == 4||Model.ApprovalStatus==6)
{
@Html.ContextMenuBar("EditReport")
}
@Html.LabelFor(x => x.SchoolyearID): |
@Html.TextBoxFor(x => x.SchoolyearCode, new TextBoxOptions { IsEnabled = false }) |
@Html.LabelFor(x => x.CourseName): |
@Html.TextBoxFor(x => x.CourseName, new TextBoxOptions { IsEnabled = false }) |
|
|
|
|
|
@Model.ExamsCategoryName |
@Html.ScoreFormularListFor(x => x.ScoreFormulaID, x => x.IsTotalFormula, new DropdownListOptions { Width = 230 }) |
@Html.CreditFormularListFor(x => x.CreditFormulaID, x => x.IsCreditFormula, new DropdownListOptions { Width = 230 }) |
@Html.GradePointFormularListFor(x => x.GradePointFormulaID, x => x.IsGradePointFormula, new DropdownListOptions { Width = 230 }) |
|
@Html.ScoreEditGrid("dgScoreDetailList", (Request["Isdisplay"] == "" || Request["Isdisplay"] == null), false, Model.FinalExaminationID.Value)
|
|
@Html.TextAreaFor(x => x.Comment, new Dictionary { { "style", "width:90%; height:12px;" } }) |
自动保存中……
}