tender_info.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. startAdvance: 0,
  70. materialAdvance: 0,
  71. },
  72. // 显示设置
  73. display: {
  74. ledger: {
  75. dgnQty : false,
  76. }
  77. }
  78. };
  79. module.exports = {
  80. parseInfo,
  81. defaultInfo,
  82. }