/** * Created by Tony on 2017/4/28. */ var rationGLJOprObj = { sheet: null, setting: { header:[ {headerName:"编码",headerWidth:160}, {headerName:"名称",headerWidth:400}, {headerName:"单位",headerWidth:160}, {headerName:"单位基价",headerWidth:160, dataType: "Number", precision: 2}, {headerName:"定额消耗",headerWidth:160, dataType: "Number", precision: 3}, {headerName:"类型",headerWidth:160}, {headerName:"操作",headerWidth:130} ], view:{ comboBox:[], lockedCells:[ {row:-1,col:1,rowCount:-1, colCount:1}, {row:-1,col:2,rowCount:-1, colCount:1}, {row:-1,col:3,rowCount:-1, colCount:1}, {row:-1,col:5,rowCount:-1, colCount:1}, {row:-1,col:6,rowCount:-1, colCount:1} ] } }, buildSheet: function(container) { var me = this; me.sheet = sheetCommonObj.buildSheet(container, me.setting, 30); } }