rationGLJ.js 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * Created by Tony on 2017/4/28.
  3. */
  4. var rationGLJOprObj = {
  5. sheet: null,
  6. setting: {
  7. header:[
  8. {headerName:"编码",headerWidth:160},
  9. {headerName:"名称",headerWidth:400},
  10. {headerName:"单位",headerWidth:160},
  11. {headerName:"单位基价",headerWidth:160, dataType: "Number", precision: 2},
  12. {headerName:"定额消耗",headerWidth:160, dataType: "Number", precision: 3},
  13. {headerName:"类型",headerWidth:160},
  14. {headerName:"操作",headerWidth:130}
  15. ],
  16. view:{
  17. comboBox:[],
  18. lockedCells:[
  19. {row:-1,col:1,rowCount:-1, colCount:1},
  20. {row:-1,col:2,rowCount:-1, colCount:1},
  21. {row:-1,col:3,rowCount:-1, colCount:1},
  22. {row:-1,col:5,rowCount:-1, colCount:1},
  23. {row:-1,col:6,rowCount:-1, colCount:1}
  24. ]
  25. }
  26. },
  27. buildSheet: function(container) {
  28. var me = this;
  29. me.sheet = sheetCommonObj.buildSheet(container, me.setting, 30);
  30. }
  31. }