@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() { 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() { 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{ }
@Html.Position()
@*
教师征订统计明细列表
*@
@Html.ContextMenuBar("Detail")
@Html.PositionCondition() @Html.Hidden("hid_ApprovalStatusName") @Html.Hidden("hid_teachingMaterialPoolID", teachingMaterialPoolIDs) @Html.Hidden("hid_schoolYearID", schoolYearIDs)
@Html.DataGrid(new DataGridOptions { Columns = new List() { 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 })