@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
string teachersOrderID = ViewData["TeachersOrderID"].ToString();
}
@section scripts{
}
教师征订明细列表
@Html.ContextMenuBar("DetailList")
@Html.Hidden("hid_ApprovalStatusName")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
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
})