123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- ComboGridOptions Psop = new ComboGridOptions
- {
- TextField = "UnitName",
- ValueField = "PublishID",
- ID = "PublishDropdown",
- Name = "PublishDropdown",
- OnSelect = "QueryPublishDropdownList",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="UnitName", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Publisher/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- ComboGridOptions Csop = new ComboGridOptions
- {
- TextField = "CourseName",
- ValueField = "CoursematerialID",
- ID = "CourseDropdown",
- Name = "CourseDropdown",
- OnSelect = "QueryCourseDropdownList",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="CourseName", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Coursematerial/ListForDropdown"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- var schoolYearIDs = ViewData["schoolYearID"] == null ? Request.Params["schoolYearID"] : ViewData["schoolYearID"].ToString();
- var teachingMaterialPoolIDs = ViewData["teachingMaterialPoolID"] == null ? Request.Params["teachingMaterialPoolID"] : ViewData["teachingMaterialPoolID"].ToString();
- }
- @section scripts{
- <script src="../../Scripts/Business/TeachingMaterial/TeachersConfirmOrder.js" type="text/javascript"></script>
- }
- <style type="text/css">
- .search_keyword
- {
- display: none; /*隐藏查询框*/
- }
- </style>
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <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("Detail")</div>
- </div>
- <form id="formQuery" method="post" action="@Url.Content("~/TeachersConfirmOrder/DetailExcel?schoolYearID=" + schoolYearIDs + "&teachingMaterialPoolID=" + teachingMaterialPoolIDs)">
- @Html.PositionCondition()
- @Html.Hidden("hid_ApprovalStatusName")
- @Html.Hidden("hid_teachingMaterialPoolID", teachingMaterialPoolIDs)
- @Html.Hidden("hid_schoolYearID", schoolYearIDs)
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="TeachersOrderID" },
- new BoundFieldColumn { FieldName="SchoolyearName", HeaderText="学年学期", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="TeachingMaterialCode", HeaderText="教材编号", Align=AlignStyle.Center},
- new BoundFieldColumn { FieldName="CoursematerialName", HeaderText="课程名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ISBN", HeaderText="ISBN", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="TeachingMaterialName", HeaderText="教材名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="PublishTime", HeaderText="版本时间", Align=AlignStyle.Center},
- new BoundFieldColumn { FieldName="PublishName", HeaderText="出版单位", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Author", HeaderText="作者", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="OrderQty", HeaderText="征订数量", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="OrderUserName", HeaderText="征订人", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="OrderDate", HeaderText="征订日期", Align=AlignStyle.Center,Formatter=Formatter.OnlyYearMonthDay},
- new BoundFieldColumn { FieldName="OrderDesc", HeaderText="征订说明", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Desc", HeaderText="备注", Align=AlignStyle.Center,IsHidden=true}
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/TeachersConfirmOrder/Detail?schoolYearID=" + schoolYearIDs + "&teachingMaterialPoolID=" + teachingMaterialPoolIDs),
- ID = "dgTeachersConfirmOrderList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </form>
- </div>
|