chongqing_2018.js 1.9 KB

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Created by Zhong on 2018/8/14.
  3. */
  4. //允许使用的工料机类型:人工、普通材料、混凝土、砂浆、配合比、商品混凝土、商品砂浆、其他材料费、机械台班、机上人工、机械组成物、仪器仪表、燃料动力费、折旧费、
  5. // 检修费、维护费、安拆费及场外运费、校验费、其他费用、其他施工机具使用费、主材、企业管理费、利润、一般风险费
  6. if(typeof allowGljType !== 'undefined'){
  7. allowGljType = [1, 201, 202, 203, 204, 205, 206, 207, 301, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 4, 6, 7, 8];
  8. }
  9. if(typeof allowComponent !== 'undefined'){
  10. //允许含有组成物的工料机类型:混凝土、砂浆、配合比、机械台班、仪器仪表、主材
  11. allowComponent = [202, 203, 204, 301, 304, 4];
  12. }
  13. if(typeof componentType !== 'undefined'){
  14. //可以作为组成物的工料机类型:普通材料、机械组成物、机上人工、燃料动力费、折旧费、检修费、维护费、安拆费及场外运费、校验费、其他费用、主材
  15. componentType = [201, 303, 305, 306, 307, 308, 309, 310, 311, 4];
  16. }
  17. if(typeof machineAllowComponent !== 'undefined'){
  18. //允许含有组成物的机械工料机类型:机械台班、仪器仪表
  19. machineAllowComponent = [301, 304];
  20. }
  21. if(typeof machineComponent !== 'undefined'){
  22. //可以作为机械工料机组成物的工料机类型:机械组成物、机上人工、燃料动力费、折旧费、检修费、维护费、安拆费及场外运费、校验费、其他费用
  23. machineComponent = [303, 305, 306, 307, 308, 309, 310, 311];
  24. }
  25. if(typeof materialAllowComponent !== 'undefined'){
  26. //允许含有组成物的材料工料机类型:混凝土、砂浆、配合比
  27. materialAllowComponent = [202, 203, 204];
  28. }
  29. if(typeof materialComponent !== 'undefined'){
  30. //可以作为材料工料机组成物的工料机类型:普通材料
  31. materialComponent = [201];
  32. }