123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- @model EMIS.ViewModel.ChargeManage.ChargeSituation.ChargeDelayView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "ChangeDelay";
- var isEdit = (Request["StudentChargeID"] ?? "") == "";
- //学生信息
- ComboGridOptions cgopStudent = new ComboGridOptions
- {
- TextField = "LoginID",
- ValueField = "UserID",
- IsEnabled = isEdit,
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="LoginID", HeaderText="学号", Width=0.25, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Width=0.15, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Students/BaseStudentViewList"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- //收费项目
- ComboGridOptions cgopChargeProject = new ComboGridOptions
- {
- TextField = "ChrageProjectName",
- ValueField = "ChargeProjectID",
- ID = "ChargeProjectComboGrid",
- Name = "ChargeProjectComboGrid",
- IsEnabled = isEdit,
- 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/StudentChargeEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- @*$(document).ready(function () {
- var studentChargeIDs = top.$("#@(Request["WindowID"])").data("inputData");
- $("#studentChargeIDs").val(studentChargeIDs);//将json字符串赋值给隐藏域
- });*@
- </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">
- <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("DelayApply")</div>
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.StudentChargeID)
- <table cellpadding="0" cellspacing="0" id="chargedelaytable">
- <tr>
- <td>
- @Html.LabelFor(x => x.StudentNo):
- </td>
- <td>
- @Html.ComboGridFor(x => x.UserID, cgopStudent)
- </td>
- <td>
- @Html.LabelFor(x => x.UserName):
- </td>
- <td>
- @Html.TextBoxFor(x => x.UserName, new TextBoxOptions() { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.ChargeYear):
- </td>
- <td>
- @Html.SchoolYearDropDownListFor(x => x.ChargeYear, new DropdownListOptions
- {
- IsEnabled = isEdit
- })
- </td>
- <td>
- @Html.LabelFor(x => x.ChargeProjectStr):
- </td>
- <td>
- @Html.ComboGridFor((x => x.ChargeProjectID), cgopChargeProject)
- </td>
- </tr>
- <tr>
- <td style="color: red">
- @Html.LabelFor(x => x.Amount):
- </td>
- <td>
- @Html.TextBoxFor(x => x.Amount, new TextBoxOptions() { IsEnabled = false })
- </td>
- <td>
- @Html.LabelFor(x => x.ChargeTag):
- </td>
- <td>
- @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EC_ChargeTag, x => x.ChargeTag, new DropdownListOptions() { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td style="color: red">
- @Html.LabelFor(x => x.ChargeAmount):
- </td>
- <td>
- @Html.TextBoxFor(x => x.ChargeAmount, new TextBoxOptions() { IsEnabled = false })
- </td>
- <td style="color: red">
- @Html.LabelFor(x => x.ActualAmount):
- </td>
- <td>
- @Html.TextBoxFor(x => x.ActualAmount, new TextBoxOptions() { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td style="color: red">
- @Html.LabelFor(x => x.PaidAmount):
- </td>
- <td>
- @Html.TextBoxFor(x => x.PaidAmount, new TextBoxOptions() { IsEnabled = false })
- </td>
- <td style="color: red">
- @Html.LabelFor(x => x.PassDelayAmount):
- </td>
- <td>
- @Html.TextBoxFor(x => x.PassDelayAmount, new TextBoxOptions() { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td style="color: red; font-weight: bold;">
- @Html.LabelFor(x => x.CanDelayAmount):
- </td>
- <td>
- @Html.TextBoxFor(x => x.CanDelayAmount, new TextBoxOptions() { IsEnabled = false })
- </td>
- <td style="color: red">
- @Html.LabelFor(x => x.ApplyDelayAmount):
- </td>
- <td>
- @Html.TextBoxFor(x => x.ApplyDelayAmount, new TextBoxOptions() { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x=>x.DelayAmount):
- </td>
- <td>
- @*@Html.RadioButton("Delaychoose", true)*@
- @Html.TextBoxFor(x=>x.DelayAmount)
- </td>
- <td>
- @Html.LabelFor(x=>x.DelayPercent):
- </td>
- <td>
- @*@Html.RadioButton("Delaychoose", true)*@
- @Html.TextBoxFor(x => x.DelayPercent)%
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Reason):
- </td>
- <td colspan="3">
- @Html.TextAreaFor(x => x.Reason, new Dictionary<string, object> { { "style", "width: 90%;min-height: 60px" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|