|
|
@@ -1404,20 +1404,23 @@ 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;
|
|
|
- // }
|
|
|
+ if (isBidInvitation) {
|
|
|
+ // 招标工程量清单 读计日工和已包含在清单合计中的材料、工程设备、专业工程暂估价合计。
|
|
|
+ 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);
|