@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="StudentDistributeID" },
new BoundFieldColumn { FieldName="StudentNo", HeaderText="学号", Align=AlignStyle.Center, Width=0.12 },
new BoundFieldColumn { FieldName="StudentName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.05 },
//new BoundFieldColumn { FieldName="", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.08, OverflowLength=6 },
//new BoundFieldColumn { FieldName="", HeaderText="班级名称", Align=AlignStyle.Center, Width=0.08, OverflowLength=6 },
new BoundFieldColumn { FieldName="TeachingMaterialCode", HeaderText="教材编号", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="TeachingMaterialName", HeaderText="教材名称", Align=AlignStyle.Center, Width=0.08, OverflowLength=6 },
//new BoundFieldColumn { FieldName="StudentDistributeNo", HeaderText="出库编号", Align=AlignStyle.Center, Width=0.08 },
new BoundFieldColumn { FieldName="Price", HeaderText="单价", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="DistributeQty", HeaderText="数量", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="DiscountStr", HeaderText="折扣率", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="DiscountPriceStr", HeaderText="折合价", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="TotalPriceStr", HeaderText="码洋",Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="TotalDollarStr", HeaderText="总价", Align=AlignStyle.Center, Width=0.04 },
//new BoundFieldColumn { FieldName="RecipientUser", HeaderText="签收人", Align=AlignStyle.Center, Width=0.04 },
//new BoundFieldColumn { FieldName="ModifyTime", HeaderText="签收日期", Align=AlignStyle.Center,Formatter= Formatter.OnlyYearMonthDay, Width=0.08 },
//new BoundFieldColumn { FieldName="StockOutUserName", HeaderText="出库人", Align=AlignStyle.Center, Width=0.04 },
//new BoundFieldColumn { FieldName="CreateTime", HeaderText="出库日期", Align=AlignStyle.Center,Formatter= Formatter.OnlyYearMonthDay, Width=0.08 },
new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.05, OverflowLength=3 }
},
PageSize =50,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/StudentDistribute/StudentDistributeDetail?studentDistributeID=" + ViewBag.StudentDistributeID),
IsPostBack = true,
ID = "dgStudentDistributeDetail",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})