12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- string teachersOrderID = ViewData["TeachersOrderID"].ToString();
- }
- @section scripts{
- <script src="../../Scripts/Business/TeachingMaterial/TeachersOrder.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- <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("DetailList")</div>
- </div>
- <div class="search_list">
- @Html.Hidden("hid_ApprovalStatusName")
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="TeachersOrderID" },
- new BoundFieldColumn { FieldName="SchoolyearName", HeaderText="学年学期", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="TeachingMaterialCode", HeaderText="教材编号", Align=AlignStyle.Center},
- new BoundFieldColumn { FieldName="TeachingMaterialName", HeaderText="教材名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CoursematerialCode", HeaderText="课程代码", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CoursematerialName", HeaderText="课程名称", Align=AlignStyle.Center },
- //new BoundFieldColumn { FieldName="CoursematerialLevelName", HeaderText="课程级别", Align=AlignStyle.Center },
- //new BoundFieldColumn { FieldName="CoursematerialTypeName", HeaderText="课程科类", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ISBN", HeaderText="ISBN", Align=AlignStyle.Center },
-
- new BoundFieldColumn { FieldName="PublishTime", HeaderText="版本时间" },
- 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="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), 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="ApprovalStatus", HeaderText="审批状态", Align=AlignStyle.Center, IsHidden = true },
- new BoundFieldColumn { FieldName="ApproveStatusName", HeaderText="审核状态", Align=AlignStyle.Center}
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/TeachersOrder/DetailList?teachersOrderID=" + Request.Params["TeachersOrderID"]),
- ID = "dgTeachersOrderList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|