|
@@ -3,30 +3,30 @@
|
|
|
*/
|
|
|
//允许使用的工料机类型:人工、普通材料、混凝土、砂浆、配合比、商品混凝土、商品砂浆、其他材料费、机械台班、机上人工、机械组成物、仪器仪表、燃料动力费、折旧费、
|
|
|
// 检修费、维护费、安拆费及场外运费、校验费、其他费用、其他施工机具使用费、主材、企业管理费、利润、一般风险费
|
|
|
-if(allowGljType){
|
|
|
+if(typeof allowGljType !== 'undefined'){
|
|
|
allowGljType = [1, 201, 202, 203, 204, 205, 206, 207, 301, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 4, 6, 7, 8];
|
|
|
}
|
|
|
-if(allowComponent){
|
|
|
+if(typeof allowComponent !== 'undefined'){
|
|
|
//允许含有组成物的工料机类型:混凝土、砂浆、配合比、机械台班、仪器仪表、主材
|
|
|
allowComponent = [202, 203, 204, 301, 304, 4];
|
|
|
}
|
|
|
-if(componentType){
|
|
|
+if(typeof componentType !== 'undefined'){
|
|
|
//可以作为组成物的工料机类型:普通材料、机械组成物、机上人工、燃料动力费、折旧费、检修费、维护费、安拆费及场外运费、校验费、其他费用、主材
|
|
|
componentType = [201, 303, 305, 306, 307, 308, 309, 310, 311, 4];
|
|
|
}
|
|
|
-if(machineAllowComponent){
|
|
|
+if(typeof machineAllowComponent !== 'undefined'){
|
|
|
//允许含有组成物的机械工料机类型:机械台班、仪器仪表
|
|
|
machineAllowComponent = [301, 304];
|
|
|
}
|
|
|
-if(machineComponent){
|
|
|
+if(typeof machineComponent !== 'undefined'){
|
|
|
//可以作为机械工料机组成物的工料机类型:机械组成物、机上人工、燃料动力费、折旧费、检修费、维护费、安拆费及场外运费、校验费、其他费用
|
|
|
machineComponent = [303, 305, 306, 307, 308, 309, 310, 311];
|
|
|
}
|
|
|
-if(materialAllowComponent){
|
|
|
+if(typeof materialAllowComponent !== 'undefined'){
|
|
|
//允许含有组成物的材料工料机类型:混凝土、砂浆、配合比
|
|
|
materialAllowComponent = [202, 203, 204];
|
|
|
}
|
|
|
-if(materialComponent){
|
|
|
+if(typeof materialComponent !== 'undefined'){
|
|
|
//可以作为材料工料机组成物的工料机类型:普通材料
|
|
|
materialComponent = [201];
|
|
|
-}
|
|
|
+}
|