|
@@ -277,7 +277,7 @@ let baseFigureTemplate = {
|
|
|
return 0;
|
|
|
},
|
|
|
'FBFXGCLQDJJZJGCF': function () {
|
|
|
- return this['FBFXDEJJRGF']() + this['FBFXDEJJCLF']() + this['FBFXDEJJJXF']();
|
|
|
+ return (this['FBFXDEJJRGF']() + this['FBFXDEJJCLF']() + this['FBFXDEJJJXF']()).toDecimal(decimalObj.bills.totalPrice);
|
|
|
},
|
|
|
'CSXMF': function () {
|
|
|
let bill = calcBase.fixedBills[calcBase.fixedFlag.MEASURE]['bill'];
|
|
@@ -292,7 +292,7 @@ let baseFigureTemplate = {
|
|
|
return bill.feesIndex.common.totalFee || 0;
|
|
|
},
|
|
|
'ZZCSXMDEJJZJGCF': function () {
|
|
|
- return this['ZZCSXMDEJJRGF']() + this['ZZCSXMDEJJCLF']() + this['ZZCSXMDEJJJXF']()
|
|
|
+ return (this['ZZCSXMDEJJRGF']() + this['ZZCSXMDEJJCLF']() + this['ZZCSXMDEJJJXF']()).toDecimal(decimalObj.bills.totalPrice);
|
|
|
},
|
|
|
'ZZCSXMDEJJRGF': function () {
|
|
|
let bill = calcBase.fixedBills[calcBase.fixedFlag.CONSTRUCTION_ORGANIZATION]['bill'];
|
|
@@ -364,7 +364,7 @@ let baseFigureTemplate = {
|
|
|
return 0;
|
|
|
},
|
|
|
'JSCSXMQDDEJJZJGCF': function () {
|
|
|
- return this['JSCSXMDEJJRGF']() + this['JSCSXMDEJJCLF']() + this['JSCSXMDEJJJXF']();
|
|
|
+ return (this['JSCSXMDEJJRGF']() + this['JSCSXMDEJJCLF']() + this['JSCSXMDEJJJXF']()).toDecimal(decimalObj.bills.totalPrice);
|
|
|
},
|
|
|
'QTXMF': function () {
|
|
|
let bill = calcBase.fixedBills[calcBase.fixedFlag.OTHER]['bill'];
|
|
@@ -579,6 +579,9 @@ let calcBase = {
|
|
|
getBaseByClass: function (node) {
|
|
|
return cbTools.getFigure(node);
|
|
|
},
|
|
|
+ getBaseBill: function (node) {
|
|
|
+ return cbTools.getBaseBill(node);
|
|
|
+ },
|
|
|
calculate: function (node) {
|
|
|
let me = calcBase,
|
|
|
$CBA = cbAnalyzer,
|