chongqing_2018.js 3.3 KB

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