@Html.Label("确认单号:")
|
@Html.TextBox(new TextBoxOptions { ID = "txtConfirmNo", Name = "txtConfirmNo" }, new Dictionary { { "data-condition", "dgStudentFeeDetailList" } })
|
@Html.Label("总金额:")
|
@*@Html.TextBox(new TextBoxOptions { ID = "txtTotal", Name = "txtTotal", IsEnabled = false }, new Dictionary { { "style", "color:red" } })*@
|
@Html.Label("明细:")
|
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center, Width=150 },
new BoundFieldColumn { FieldName="ExaminationProjectName", HeaderText="项目名称", Align=AlignStyle.Center, Width=200 },
new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=70 },
new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center, Width=40 },
new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号码", Align=AlignStyle.Center, Width=150 },
new BoundFieldColumn { FieldName="FeeTypeName", HeaderText="报名项目", Align=AlignStyle.Center, Width=100 },
new BoundFieldColumn { FieldName="Fee", HeaderText="应交金额", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit", Width=80 }
},
IsAutoLoad = false,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/StudentFee/StudentFeeDetail"),
ID = "dgStudentFeeDetailList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})
|