1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="../../Scripts/Business/TeachingMaterial/TeachersOrder.js" type="text/javascript"></script>
- <script type="text/javascript">
- //发放学生明细信息Excel导出
- function StudentDistributeDetail_Export() {
- $("#formQuery").submit();
- }
- </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>*@
- <form id="formQuery" method="post" action="@Url.Content("~/StudentDistribute/StudentDistributeDetailExcel?studentDistributeID="+Request.Params["studentDistributeID"])">
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("StuDetail")</div>
- </form>
- </div>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- 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
- })
- </div>
- </div>
|