123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- @model EMIS.ViewModel.ChargeManage.ChargeSituation.ChargeDelayView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "Edit";
- var isEdit = (Request["ChargeDelayID"] ?? "") == "";
- //收费项目
- ComboGridOptions cgopChargeProject = new ComboGridOptions
- {
- TextField = "ChrageProjectName",
- ValueField = "ChargeProjectID",
- ID = "ChargeProjectComboGrid",
- Name = "ChargeProjectComboGrid",
- IsEnabled = isEdit,
- OnSelect = "queryStudentChargeDelayStandard",
- 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/StudentChargeDelayEdit.js" type="text/javascript"></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;">
- @if (Request["Type"] != "1")
- {
- @Html.ContextMenuBar("Edit")
- }
- </div>
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.ChargeDelayID)
- @Html.HiddenFor(x => x.UserID)
- @Html.HiddenFor(x => x.RecordStatus)
- <table cellpadding="0" cellspacing="0" id="studentchargedelaytable">
- <tr>
- <td>
- @Html.LabelFor(x => x.ChargeYear):
- </td>
- <td>
- @Html.SchoolYearDropDownListFor(x => x.ChargeYear, new DropdownListOptions
- {
- OnSelect = "queryStudentChargeDelayStandard",
- 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>
|