standard.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Mai
  6. * @date
  7. * @version
  8. */
  9. const nodeType = [
  10. {text: '', value: 0},
  11. {text: '建安费', value: 1},
  12. {text: '设备及工(器)具费', value: 2},
  13. {text: '工程建设其他费', value: 3},
  14. {text: '土地拆迁补偿', value: 4},
  15. {text: '预备费', value: 5},
  16. {text: '暂列金额', value: 6},
  17. {text: '尾工工程', value: 18},
  18. {text: '计日工', value: 7},
  19. {text: '材料调差', value: 15},
  20. {text: '价差调整', value: 8},
  21. {text: '索赔', value: 9},
  22. {text: '零星工程', value: 16},
  23. {text: '报废工程', value: 17},
  24. {text: '代付代扣', value: 19},
  25. {text: '新增费用', value: 10},
  26. {text: '其他费用', value: 11},
  27. {text: '回收金额', value: 12},
  28. {text: '建设期贷款利息', value: 13},
  29. {text: '其他建安工程', value: 14},
  30. ];
  31. const jrg = nodeType.find(x => {
  32. return x.text === '计日工';
  33. });
  34. const zlj = nodeType.find(x => {
  35. return x.text === '暂列金额';
  36. });
  37. const jafTypeName = ['', '计日工', '材料调差', '价差调整', '索赔', '零星工程', '保费工程'];
  38. const jafType = nodeType.filter(x => {
  39. return jafTypeName.indexOf(x.text) >= 0;
  40. });
  41. const zljTypeName = ['', '暂列金额', '尾工工程'];
  42. const zljType = nodeType.filter(x => {
  43. return zljTypeName.indexOf(x.text) >= 0;
  44. });
  45. module.exports = {
  46. nodeType,
  47. jafType,
  48. zljType,
  49. jrg,
  50. zlj,
  51. };