material.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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_calc = [
  30. {
  31. code: 'bqht',
  32. text: '本期合同计量金额',
  33. value: '',
  34. select: false,
  35. },
  36. {
  37. code: 'bqbg',
  38. text: '本期变更计量金额',
  39. value: '',
  40. select: false,
  41. },
  42. {
  43. code: 'bqwc',
  44. text: '本期完成计量金额',
  45. value: '',
  46. select: true,
  47. },
  48. ];
  49. const is_summary = {
  50. yes: 1,
  51. no: 2,
  52. };
  53. module.exports = {
  54. t_type,
  55. m_type,
  56. ex_type,
  57. is_summary,
  58. ex_calc,
  59. };