- 注册时间
- 2015-11-10
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 积分
- 59
- 精华
- 0
- 帖子
- 15
|
function LoadeGrid2(recordId) {
Grid2.set({
url: Url,
style: "width:100%;height:" + ($(document).height() - 68) * 0.5 + "px",
allowAlternating: true,
allowUnselect: true,
multiSelect: true,
pageSize: 10,
idField: "id",
ondrawsummarycell: "onDrawSummaryCell",
showSummaryRow: "true",
allowResize: "true",
allowCellEdit: "true",
allowCellSelect:"true",
columns: [
{ type: "checkcolumn", width: "30px" },
{ header: "客户平台问题号", field: "PlatformID", width: "100px", align: "center", headerAlign: "center", editor: { type: "textbox", width: "100%"} },
{ header: "月份", field: "MontInfo", width: "100px", align: "center", headerAlign: "center", dateFormat: "yyyy-MM-dd", editor: { type: "datepicker", width: "100%"} },
{ header: "系统名称", field: "SysID", displayField: "SysName", width: "80px", align: "center", headerAlign: "center", editor: { type: "combobox", id: "SysName", showNullItem: "true", onbeforeshowpopup: SetSysNameData, width: "100%"} },
{ header: "项目经理", field: "ProjectManagerID", displayField: "ProjectManager", width: "80px", align: "center", headerAlign: "center", editor: { type: "combobox", id: "ProjectManager", onbeforeshowpopup: SetProjectManagerData, showNullItem: "true", width: "100%"} },
{ header: "开始开发时间", field: "BeginDate", width: "100px", align: "center", headerAlign: "center", dateFormat: "yyyy-MM-dd", editor: { type: "datepicker", width: "100%", onvaluechanged: changedate} },
{ header: "提交发布时间", field: "SubDate", width: "100px", align: "center", headerAlign: "center", dateFormat: "yyyy-MM-dd", editor: { type: "datepicker", width: "100%", onvaluechanged: changedate} },
{ header: "开发工作量", field: "WorkDay", width: "80px", align: "center", headerAlign: "center", editor: { type: "textbox", vtype:"int", width: "100%"} },
{ header: "应发金额", field: "SumMoney", numberFormat: "¥#,0.00", width: "80px", align: "center", headerAlign: "center", editor: { type: "textbox", width: "100%"} },
{ header: "评估工作量", field: "EvaluationDay", width: "80px", align: "center", headerAlign: "center", editor: { type: "textbox", vtype: "int", width: "100%"} },
{ header: "延迟工作量", field: "DelayDay", width: "80px", align: "center", headerAlign: "center", editor: { type: "textbox", vtype: "int", width: "100%"} },
{ header: "备注", field: "Remark", width: "250px", align: "center", headerAlign: "center", editor: { type: "textbox", width: "100%"} }
]
});
Grid2.render($("#detailGrid_Form")[0]);
Grid2.load({ method: "GetReportDetailList", RecordID: recordId });
}//生成方法
|
|