material.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. 'use strict';
  2. /**
  3. * 材料调差
  4. *
  5. * @author ELlisran
  6. * @date 2019/10/20
  7. * @version
  8. */
  9. // 调差类型
  10. const t_type = [
  11. { text: '消耗量', value: 1 },
  12. { text: '费用', value: 2 },
  13. ];
  14. // 工料分类
  15. const m_type = [
  16. { text: '分类', value: 1 },
  17. { text: '钢材', value: 2 },
  18. { text: '地材', value: 3 },
  19. { text: '油料', value: 4 },
  20. { text: '水泥', value: 5 },
  21. { text: '半成品', value: 6 },
  22. { text: '其他', value: 7 },
  23. ];
  24. // 指数调差类型
  25. const ex_type = [
  26. { text: '定值', value: 1 },
  27. { text: '变值', value: 2 },
  28. ];
  29. const ex_basic_text = {
  30. bqht: '所选期合同计量金额',
  31. bqbg: '所选期变更计量金额',
  32. bqwc: '所选期完成计量金额',
  33. }
  34. const ex_calc = [
  35. {
  36. code: 'bqht',
  37. text: '所选期合同计量金额',
  38. value: '',
  39. select: false,
  40. },
  41. {
  42. code: 'bqbg',
  43. text: '所选期变更计量金额',
  44. value: '',
  45. select: false,
  46. },
  47. {
  48. code: 'bqwc',
  49. text: '所选期完成计量金额',
  50. value: '',
  51. select: true,
  52. },
  53. ];
  54. const is_summary = {
  55. yes: 1,
  56. no: 2,
  57. };
  58. module.exports = {
  59. t_type,
  60. m_type,
  61. ex_type,
  62. is_summary,
  63. ex_calc,
  64. ex_basic_text,
  65. };