|
|
@@ -259,6 +259,10 @@ INTERFACE_EXPORT = (() => {
|
|
|
this.children = [];
|
|
|
}
|
|
|
|
|
|
+ if (projectData.keyIDData === null || projectData.keyIDData === undefined) {
|
|
|
+ projectData.keyIDData = {};
|
|
|
+ }
|
|
|
+
|
|
|
// 建设项目根节点信息
|
|
|
function CprjInfo(projectName) {
|
|
|
let baseInfo = _.find(projectData.property.basicInformation, {
|
|
|
@@ -1400,20 +1404,20 @@ INTERFACE_EXPORT = (() => {
|
|
|
attrs[5].value = data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderTotalFee : "";
|
|
|
}
|
|
|
//特殊清单
|
|
|
- const specialBills = ['计日工合计', '已包含在清单合计中的材料、工程设备、专业工程暂估价合计'];
|
|
|
- if (bNode.children && bNode.children.length > 0 && _chkIfJRGHJ(bNode, specialBills)) {
|
|
|
- attrs[5].value = data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderTotalFee : "";
|
|
|
- }
|
|
|
- if (bNode.data.name === '投标报价') {
|
|
|
- let rootNodes = tenderProject.mainTree.roots;
|
|
|
- let ttlSum = 0;
|
|
|
- for (let r of rootNodes) {
|
|
|
- if (specialBills.includes(r.data.name)) {
|
|
|
- ttlSum += _getFee(r);
|
|
|
- }
|
|
|
- }
|
|
|
- attrs[5].value = '' + ttlSum;
|
|
|
- }
|
|
|
+ // const specialBills = ['计日工合计', '已包含在清单合计中的材料、工程设备、专业工程暂估价合计'];
|
|
|
+ // if (bNode.children && bNode.children.length > 0 && _chkIfJRGHJ(bNode, specialBills)) {
|
|
|
+ // attrs[5].value = data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderTotalFee : "";
|
|
|
+ // }
|
|
|
+ // if (bNode.data.name === '投标报价') {
|
|
|
+ // let rootNodes = tenderProject.mainTree.roots;
|
|
|
+ // let ttlSum = 0;
|
|
|
+ // for (let r of rootNodes) {
|
|
|
+ // if (specialBills.includes(r.data.name)) {
|
|
|
+ // ttlSum += _getFee(r);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // attrs[5].value = '' + ttlSum;
|
|
|
+ // }
|
|
|
|
|
|
Element.call(this, "Item", attrs);
|
|
|
let cc = CostComposition(bNode);
|