chongqing_2018.js 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /**
  2. * Created by zhang on 2018/8/14.
  3. */
  4. if(typeof projectGljObject !== 'undefined'){
  5. projectGljObject.displayTypeMap=[
  6. {ID:'LABOUR',text:'人工'},
  7. {ID:'GENERAL_MATERIAL',text:'材料'},
  8. {ID:'GENERAL_MACHINE',text:'施工机具'},//重庆2018定额中去掉了主材,机械的显示改为了施工机具
  9. {ID:'MAIN_MATERIAL',text:'主材'}
  10. ];
  11. }
  12. if(typeof gljUtil !== 'undefined'){
  13. gljUtil.hasCompMachine = [301,304];//有组成物的机械
  14. gljUtil.machineComposition = [303,305,306,307,308,309,310,311];//可以做为机械组成物的类型
  15. }
  16. //允许使用的工料机类型:人工、普通材料、混凝土、砂浆、配合比、商品混凝土、商品砂浆、其他材料费、机械台班、机上人工、仪器仪表、燃料动力费、折旧费、
  17. // 检修费、维护费、安拆费及场外运费、校验费、其他费用、主材、企业管理费、利润、一般风险费
  18. if(typeof allowGljType !== 'undefined'){
  19. allowGljType = [1, 201, 202, 203, 204, 205, 206, 207, 301, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 4, 6, 7, 8];
  20. }
  21. if(typeof allowComponent !== 'undefined'){
  22. //允许含有组成物的工料机类型:混凝土、砂浆、配合比、机械台班、仪器仪表、主材
  23. allowComponent = [202, 203, 204, 301, 304, 4];
  24. }
  25. if(typeof componentType !== 'undefined'){
  26. //可以作为组成物的工料机类型:普通材料、机上人工、燃料动力费、折旧费、检修费、维护费、安拆费及场外运费、校验费、其他费用、主材
  27. componentType = [201, 303, 305, 306, 307, 308, 309, 310, 311, 4];
  28. }
  29. if(typeof machineAllowComponent !== 'undefined'){
  30. //允许含有组成物的机械工料机类型:机械台班、仪器仪表
  31. machineAllowComponent = [301, 304];
  32. }
  33. if(typeof machineComponent !== 'undefined'){
  34. //可以作为机械工料机组成物的工料机类型:机械组成物、机上人工、燃料动力费、折旧费、检修费、维护费、安拆费及场外运费、校验费、其他费用
  35. machineComponent = [303, 305, 306, 307, 308, 309, 310, 311];
  36. }
  37. if(typeof materialAllowComponent !== 'undefined'){
  38. //允许含有组成物的材料工料机类型:混凝土、砂浆、配合比
  39. materialAllowComponent = [202, 203, 204];
  40. }
  41. if(typeof materialComponent !== 'undefined'){
  42. //可以作为材料工料机组成物的工料机类型:普通材料
  43. materialComponent = [201];
  44. }