MVC基础版 4.0.0.0和5.0.0.0都存在这个问题。
生成的前端代码:
var f66 = new F.GridColumn({
id: 'f65',
text: '销售日期',
sortable: true,
sortField: 'SaleDate',
columnId: 'SaleDate',
index: 8,
width: 120,
editable: false,
field: 'SaleDate',
columnType: 'renderfield',
fieldType: 'date',
fieldFormat: 'yyyy-MM-dd'
});
var f114 = new F.Grid({
id: 'Grid_SearchResult',
height: 300,
header: false,
idField: 'ID',
textField: 'Name',
showSelectedCell: false,
multiSelect: false,
columns: [f50, f52, f54, f56, f58, f60, f62, f64, f66, f68, f70, f72, f74, f76, f78, f80, f82, f84, f86, f88, f90, f92],
fields: ["ID", "Name", "No", "Status.ToStringP", "CurProcUser.ToStringP", "Checker.ToStringP", "CheckOpinion", "Cust.ToStringP", "Seller.ToStringP", "Supervisor.ToStringP", "SaleDate", "IsInvoice", "Order.ToStringP", "Reserve.ToStringP", "Memo", "Cert.ToStringP", "CeramicsCert.ToStringP", "ToStringP", "Del", "Creator.ToStringP", "CreateTime", "Modifyer.ToStringP", "ModifyTime"],
data: [],
enableTextSelection: true,
sorting: true,
listeners: {
rowselect: onRowClick,
columnhide: postColumnHide,
columnshow: postColumnHide,
columnresize: postColumnHide
}
});
|