spread.js 912 B

1234567891011121314151617181920212223242526272829303132
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Mai
  6. * @date 2018/5/31
  7. * @version
  8. */
  9. const ledgerSpread = {
  10. cols: [
  11. {title: '项目节编号', field: 'code', width: 150, cellType: 'tree'},
  12. {title: '清单编号', field: 'b_code', width: 80},
  13. {title: '名称', field: 'name', width: 230},
  14. {title: '单位', field: 'unit', width: 50},
  15. {title: '单价', field: 'unit_price', width: 60, type: 'Number'},
  16. {title: '数量', field: 'quantity', width: 60, type: 'Number'},
  17. {title: '金额', field: 'total_price', width: 60, type: 'Number'},
  18. {title: '施工图原设计', field: 'design', width: 60},
  19. {title: '图(册)号', field: 'drawingCode', width: 80},
  20. {title: '备注', field: 'memo', width: 100}
  21. ],
  22. emptyRows: 3,
  23. headRows: 2,
  24. headRowHeight: [40, 40],
  25. defaultRowHeight: 21,
  26. };
  27. module.exports = {
  28. ledgerSpread,
  29. }