12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- /**
- * Created by zhang on 2018/8/14.
- */
- if(typeof gljType !== 'undefined'){
- gljType = {
- LABOUR: 1,// 人工
- GENERAL_MATERIAL: 201, // 普通材料
- CONCRETE: 202,// 混凝土
- MORTAR: 203,// 砂浆
- MIX_RATIO: 204,// 配合比
- COMMERCIAL_CONCRETE: 205, // 商品混凝土
- COMMERCIAL_MORTAR: 206, // 商品砂浆
- OTHER_MATERIAL: 207, // 其它材料
- GENERAL_MACHINE: 301,// 机械台班
- MACHINE_LABOUR: 303, // 机上人工
- INSTRUMENT: 304,// 仪器仪表
- FUEL_POWER_FEE:305,//燃料动力费
- DEPRECIATION_FEE:306,//折旧费
- INSPECTION_FEE:307,//检修费
- MAINTENANCE:308,//维护费
- DISMANTLING_FREIGHT_FEE:309,//安拆费及场外运费
- VERIFICATION_FEE:310,//校验费
- OTHER_FEE:311,//其他费用
- MAIN_MATERIAL: 4// 主材
- };
- }
- if(typeof projectGljObject !== 'undefined'){
- projectGljObject.displayTypeMap=[
- {ID:'LABOUR',text:'人工'},
- {ID:'GENERAL_MATERIAL',text:'材料'},
- {ID:'GENERAL_MACHINE',text:'施工机具'},//重庆2018定额中去掉了主材,机械的显示改为了施工机具
- {ID:'MAIN_MATERIAL',text:'主材'}
- ];
- }
- if(typeof gljUtil !== 'undefined'){
- gljUtil.hasCompMachine = [301,304];//有组成物的机械
- gljUtil.machineComposition = [302,303,305,306,307,308,309,310,311];//可以做为机械组成物的类型
- }
- //允许使用的工料机类型:人工、普通材料、混凝土、砂浆、配合比、商品混凝土、商品砂浆、其他材料费、机械台班、机上人工、机械组成物、仪器仪表、燃料动力费、折旧费、
- // 检修费、维护费、安拆费及场外运费、校验费、其他费用、主材、企业管理费、利润、一般风险费
- if(typeof allowGljType !== 'undefined'){
- allowGljType = [1, 201, 202, 203, 204, 205, 206, 207, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 4, 6, 7, 8];
- }
- if(typeof allowComponent !== 'undefined'){
- //允许含有组成物的工料机类型:混凝土、砂浆、配合比、机械台班、仪器仪表、主材
- allowComponent = [202, 203, 204, 301, 304, 4];
- }
- if(typeof componentType !== 'undefined'){
- //可以作为组成物的工料机类型:普通材料、机械组成物、机上人工、燃料动力费、折旧费、检修费、维护费、安拆费及场外运费、校验费、其他费用、主材
- componentType = [201, 302, 303, 305, 306, 307, 308, 309, 310, 311, 4];
- }
- if(typeof machineAllowComponent !== 'undefined'){
- //允许含有组成物的机械工料机类型:机械台班、仪器仪表
- machineAllowComponent = [301, 304];
- }
- if(typeof machineComponent !== 'undefined'){
- //可以作为机械工料机组成物的工料机类型:机械组成物、机上人工、燃料动力费、折旧费、检修费、维护费、安拆费及场外运费、校验费、其他费用
- machineComponent = [302, 303, 305, 306, 307, 308, 309, 310, 311];
- }
- if(typeof materialAllowComponent !== 'undefined'){
- //允许含有组成物的材料工料机类型:混凝土、砂浆、配合比
- materialAllowComponent = [202, 203, 204];
- }
- if(typeof materialComponent !== 'undefined'){
- //可以作为材料工料机组成物的工料机类型:普通材料
- materialComponent = [201];
- }
|