123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- @model EMIS.ViewModel.TeachingMaterial.TeachersOrderView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.ViewModel;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="~/Scripts/Business/TeachingMaterial/TeachersOrderEdit.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { Url = "/TeachersOrder/Edit", 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 (Model.ApproveStatus == BaseExtensions.GetStartFlowStatus(typeof(EMIS.Entities.ET_TeachersOrder).Name)
- || (BaseExtensions.GetBackpointStatus(typeof(EMIS.Entities.ET_TeachersOrder).Name).Contains(Model.ApproveStatus)))
- {
- @Html.ContextMenuBar("Edit")
- }
- </div>
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.TeachersOrderID)
- <table cellpadding="0" cellspacing="1">
- <tr>
- <td>@Html.LabelFor(x => x.SchoolyearID):
- </td>
- <td>@Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions { ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), TextField = "Text", ValueField = "Value" })
- </td>
- <td>@Html.LabelFor(x => x.Price):
- </td>
- <td>@Html.TextBoxFor(x => x.Price, new TextBoxOptions { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.OrderQty):
- </td>
- <td>@Html.TextBoxFor(x => x.OrderQty)
- </td>
- <td>@Html.LabelFor(x => x.Author):
- </td>
- <td>@Html.TextBoxFor(x => x.Author, new TextBoxOptions { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.TeachingMaterialCode):
- </td>
- <td>@Html.TextBoxFor(x => x.TeachingMaterialCode, new TextBoxOptions { IsEnabled = false })
- </td>
- <td>@Html.LabelFor(x => x.TeachingMaterialName):
- </td>
- <td>@Html.TextBoxFor(x => x.TeachingMaterialName, new TextBoxOptions { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.CollegeName):
- </td>
- <td>@Html.TextBoxFor(x => x.CollegeName, new TextBoxOptions { IsEnabled = false })
- </td>
- <td>@Html.LabelFor(x => x.ApproveStatus):
- </td>
- <td>@Html.DropdownListFor((x => x.ApproveStatus), new DropdownListOptions { ItemSourceUrl = Url.Content("~/Common/ApproveStatusDropDown?tableName=" + typeof(EMIS.Entities.ET_TeachersOrder).Name), IsEnabled = false })
- </td>
-
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.CoursematerialCode):
- </td>
- <td>@Html.TextBoxFor(x => x.CoursematerialCode, new TextBoxOptions { IsEnabled = false })
- </td>
- <td>@Html.LabelFor(x => x.CoursematerialName):
- </td>
- <td>@Html.TextBoxFor(x => x.CoursematerialName, new TextBoxOptions { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.OrderDesc):
- </td>
- <td colspan="3">@Html.TextAreaFor(x => x.OrderDesc, new Dictionary<string, string> { { "style", "width:500px;" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|