123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- @model EMIS.ViewModel.ChargeManage.ChargeSituation.ChargeStandardView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- //年级专业
- ComboGridOptions cgopGrademajor = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "GrademajorID",
- OnSelect = "reload",
- IsEnabled = false,
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="Code", HeaderText="年级专业代码", Width=0.1, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="年级专业名称", Width=0.2, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Grademajor/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
-
- //院系所
- ComboGridOptions cgopCollege = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- OnSelect = "reload",
- IsEnabled = false,
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.2 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
-
- //收费项目
- ComboGridOptions cgopChargeProject = new ComboGridOptions
- {
- TextField = "ChrageProjectName",
- ValueField = "ChargeProjectID",
- Name = "ChargeProjectComboGrid",
- ID = "ChargeProjectComboGrid",
- OnSelect = "reload",
- IsEnabled = false,
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="ChrageProjectName", HeaderText="收费项目", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ChargeProject/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/ChargeManage/ChargeSituation/ChargeStandardEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- <div class="p_title" style=" min-width:0px">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
- </div>
- <div class="search_list" style=" min-width:0px">
- @Html.HiddenFor(x => x.ChargeStandardID)
- <table cellpadding="0" cellspacing="0" id="chargestandardtable">
- <tr>
- <td>
- @Html.LabelFor(x => x.GrademajorStr):
- </td>
- <td colspan="3">
- @*@Html.ComboGridFor(x => x.GrademajorID, cgopGrademajor, new Dictionary<string, string> { { "style", "width:85%;" } })*@
- @Html.TextBoxFor(x => x.GrademajorStr, new TextBoxOptions()
- {
- IsEnabled = false
- }, new Dictionary<string, string> { { "style", "width:85%;" } })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.GradeStr):
- </td>
- <td>
- @Html.SchoolYearDropDownListFor((x => x.GradeStr), new DropdownListOptions() { IsEnabled = false })
- </td>
- <td>
- @Html.LabelFor(x => x.MajorStr):
- </td>
- <td>
- @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Standard, x => x.StandardID, DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.EducationName):
- </td>
- <td>
- @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Education, x => x.EducationID, DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = false })
- </td>
- <td>
- @Html.LabelFor(x => x.LearningformStr):
- </td>
- <td>
- @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Learningform, x => x.LearningformID, DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.LearnSystem):
- </td>
- <td>
- @Html.TextBoxFor(x => x.LearnSystem, new TextBoxOptions() { IsEnabled = false })
- </td>
- <td>
- @Html.LabelFor(x => x.CollegeStr):
- </td>
- <td>
- @Html.ComboGridFor(x => x.CollegeID, cgopCollege)
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.ChargeYear):
- </td>
- <td>
- @Html.SchoolYearDropDownListFor((x => x.ChargeYear), new DropdownListOptions() { IsEnabled = false })
- <td>
- @Html.LabelFor(x => x.ChargeProjectStr):
- </td>
- <td>
- @Html.ComboGridFor(x => x.ChargeProjectID, cgopChargeProject)
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Amount):
- </td>
- <td colspan="3">
- @Html.TextBoxFor(x => x.Amount)
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|