|
@@ -135,16 +135,16 @@ let cbTools = {
|
|
|
mapObj['TAX'] = Object.create(null);
|
|
|
mapObj['OTHERS'] = Object.create(null);
|
|
|
mapObj['ENGINEERINGCOST'] = Object.create(null);
|
|
|
- let filter = ['CSXMF', 'ZZCSXMF', 'ZZCSXMDEJJZJGCF', 'ZZCSXMDEJJRGF', 'ZZCSXMDEJJCLF', 'ZZCSXMDEJJJXF', 'QTXMF', 'GF', 'SJ', 'SQGCZJ', 'AQWMSGZXFY'];
|
|
|
+ let filter = ['CSXMF', 'ZZCSXMF', 'ZZCSXMDEJJZJGCF', 'ZZCSXMDEJJRGF', 'ZZCSXMDEJJCLF', 'ZZCSXMDEJJJXF', 'QTXMF', 'GF', 'SJ', 'SQGCZJ', 'AQWMSGZXF'];
|
|
|
//安全文明施工专项费用只有税金和工程造价能用
|
|
|
for(let figure in baseFigures){
|
|
|
if(filter.indexOf(baseFigures[figure]['base']) === -1){
|
|
|
mapObj['CONSTRUCTION_ORGANIZATION'][figure] = baseFigures[figure];
|
|
|
}
|
|
|
- if(baseFigures[figure]['base'] !== 'QTXMF' && baseFigures[figure]['base'] !== 'SQGCZJ' && baseFigures[figure]['base'] !== 'AQWMSGZXFY'){
|
|
|
+ if(baseFigures[figure]['base'] !== 'QTXMF' && baseFigures[figure]['base'] !== 'SQGCZJ' && baseFigures[figure]['base'] !== 'AQWMSGZXF'){
|
|
|
mapObj['OTHER'][figure] = baseFigures[figure];
|
|
|
}
|
|
|
- if(baseFigures[figure]['base'] !== 'GF' && baseFigures[figure]['base'] !== 'SQGCZJ' && baseFigures[figure]['base'] !== 'AQWMSGZXFY'){
|
|
|
+ if(baseFigures[figure]['base'] !== 'GF' && baseFigures[figure]['base'] !== 'SQGCZJ' && baseFigures[figure]['base'] !== 'AQWMSGZXF'){
|
|
|
mapObj['CHARGE'][figure] = baseFigures[figure];
|
|
|
}
|
|
|
if(baseFigures[figure]['base'] !== 'SJ' && baseFigures[figure]['base'] !== 'SQGCZJ'){
|
|
@@ -153,7 +153,7 @@ let cbTools = {
|
|
|
if(baseFigures[figure]['base'] !== 'SQGCZJ'){
|
|
|
mapObj['ENGINEERINGCOST'][figure] = baseFigures[figure];
|
|
|
}
|
|
|
- if(baseFigures[figure]['base'] !== 'SQGCZJ' && baseFigures[figure]['base'] !== 'AQWMSGZXFY'){
|
|
|
+ if(baseFigures[figure]['base'] !== 'SQGCZJ' && baseFigures[figure]['base'] !== 'AQWMSGZXF'){
|
|
|
mapObj['OTHERS'][figure] = baseFigures[figure];
|
|
|
}
|
|
|
if(baseFigures[figure]['base'] === 'SQGCZJ'){
|
|
@@ -553,7 +553,7 @@ let baseFigureTemplate = {
|
|
|
if(cbTools.isUnDef(bill.feesIndex) || Object.keys(bill.feesIndex).length === 0) return 0;
|
|
|
return cbTools.isDef(bill.feesIndex.common) && cbTools.isDef(bill.feesIndex.common[totalFeeType]) ? bill.feesIndex.common[totalFeeType] : 0;
|
|
|
},
|
|
|
- 'AQWMSGZXFY': function (tender) {
|
|
|
+ 'AQWMSGZXF': function (tender) {
|
|
|
const totalFeeType = tender ? 'tenderTotalFee' : 'totalFee';
|
|
|
let bill = calcBase.fixedBills[calcBase.fixedFlag.SAFETY_CONSTRUCTION]['bill'];
|
|
|
if(cbTools.isUnDef(bill) || cbTools.isUnDef(bill.ID)) return 0;
|
|
@@ -1041,7 +1041,7 @@ let baseFigureMap = {
|
|
|
'其他项目费': {base: 'QTXMF', fixedFlag: fixedFlag.OTHER, class: 'QTXM'},
|
|
|
'规费': {base: 'GF', fixedFlag: fixedFlag.CHARGE, class: 'GF'},
|
|
|
'税金': {base: 'SJ', fixedFlag: fixedFlag.TAX, class: 'SJ'},
|
|
|
- '安全文明施工专项费用': {base: 'AQWMSGZXFY', fixedFlag: fixedFlag.SAFETY_CONSTRUCTION, class: 'CSXM'},
|
|
|
+ '安全文明施工专项费': {base: 'AQWMSGZXF', fixedFlag: fixedFlag.SAFETY_CONSTRUCTION, class: 'CSXM'},
|
|
|
//不于清单直接关联==========
|
|
|
'建筑面积': {base: 'JZMJ', class: 'FBFX'},
|
|
|
'税前工程造价': {base: 'SQGCZJ', class: 'SQGCZJ'},//安全文明施工专项费用使用
|