tender_info.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Mai
  6. * @date
  7. * @version
  8. */
  9. const parseInfo = ['deal_info', 'construction_unit', 'tech_param', 'decimal', 'deal_param', 'display'];
  10. const defaultInfo = {
  11. // 合同信息
  12. deal_info: {
  13. buildName: '',
  14. dealCode: '',
  15. dealName: '',
  16. },
  17. // 参建单位
  18. construction_unit: {
  19. build: {
  20. company: '',
  21. corporation: '',
  22. date: '',
  23. },
  24. contract1: {
  25. company: '',
  26. corporation: '',
  27. date: '',
  28. },
  29. contract2: {
  30. company: '',
  31. corporation: '',
  32. date: '',
  33. },
  34. supervision1: {
  35. company: '',
  36. corporation: '',
  37. date: '',
  38. },
  39. supervision2: {
  40. company: '',
  41. corporation: '',
  42. date: '',
  43. },
  44. },
  45. // 技术参数
  46. tech_param: {
  47. loadLevel: 0,
  48. loadLength: 0,
  49. startPeg: '',
  50. endPeg: '',
  51. laneCount: 0,
  52. dealPeriod: '',
  53. startDate: '',
  54. planEndDate: '',
  55. },
  56. // 小数位数
  57. decimal: {
  58. qty: 3,
  59. tp: 2,
  60. deal: false,
  61. dealQty: 3,
  62. dealTp: 2,
  63. pay: false,
  64. payTp: 0,
  65. },
  66. // 合同参数
  67. deal_param: {
  68. contractPrice: 0,
  69. zanLiePrice: 0,
  70. startAdvance: 0,
  71. materialAdvance: 0,
  72. },
  73. // 显示设置
  74. display: {
  75. ledger: {
  76. dgnQty : false,
  77. }
  78. }
  79. };
  80. module.exports = {
  81. parseInfo,
  82. defaultInfo,
  83. }