main_consts.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /**
  2. * Created by jimiz on 2017/4/19.
  3. */
  4. const ModuleNames = {
  5. bills: 'bills',
  6. ration: 'ration',
  7. GLJ: 'GLJ',
  8. feeRate: 'feeRate',
  9. projectGLJ: 'projectGLJ',
  10. ration_glj:'ration_glj',
  11. ration_coe:'ration_coe',
  12. ration_ass:'ration_ass',
  13. quantity_detail:'quantity_detail',
  14. volume_price: 'volume_price',
  15. projectGLJ: 'project_glj',
  16. labour_coe: 'labour_coe',
  17. calc_program: 'calc_program'
  18. };
  19. const feeRate_consts={
  20. decimal:3
  21. };
  22. const CP_Col_Width = { // 多处计算程序界面的列宽统一设置
  23. rowHeader: 30,
  24. colHeader: 30, // 这个是标题栏高度不是宽度,也写在一起
  25. code: 70,
  26. serialNo: 50,
  27. name: 200,
  28. dispExprUser: 180,
  29. feeRate: 60,
  30. displayFieldName: 120,
  31. statement: 380,
  32. memo: 110,
  33. unitFee: 90,
  34. totalFee: 90
  35. };
  36. const CP_GatherType = {
  37. rations: 'rations',
  38. bills: 'bills'
  39. };
  40. const childrenType = {
  41. ration: 'ration',
  42. bill: 'bill',
  43. volumePrice: 'volumePrice',
  44. formula: 'formula'
  45. };