|
|
@@ -1883,7 +1883,6 @@ INTERFACE_EXPORT = (() => {
|
|
|
let items = new emptyElement("Items");
|
|
|
let rootNodes = tenderProject.mainTree.roots;
|
|
|
for (let r of rootNodes) {
|
|
|
-
|
|
|
setItem(r, -1, items.children);
|
|
|
}
|
|
|
return items;
|
|
|
@@ -1895,6 +1894,10 @@ INTERFACE_EXPORT = (() => {
|
|
|
if (isBidInvitation && (bNode.data.specialProvisional == "材料暂估" || bNode.data.specialProvisional == "工程设备")) {
|
|
|
return;
|
|
|
}
|
|
|
+ // 判断: 100章下无子清单,且金额为0时,return
|
|
|
+ if (!_chkIfValid100(bNode)) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
let item = new bill(bNode, level, dftListCodeSeq);
|
|
|
if (bNode.children && bNode.children.length > 0) {
|
|
|
level += 1;
|
|
|
@@ -1909,6 +1912,15 @@ INTERFACE_EXPORT = (() => {
|
|
|
}
|
|
|
list.push(item);
|
|
|
|
|
|
+ function _chkIfValid100(node) {
|
|
|
+ let rst = true;
|
|
|
+ if (node.data.name.indexOf('第100章') >= 0 && node.data.name.indexOf('总则') >= 0) {
|
|
|
+ let bVal = _getFee(node);
|
|
|
+ rst = node.children.length > 0 || bVal !== 0;
|
|
|
+ }
|
|
|
+ return rst;
|
|
|
+ }
|
|
|
+
|
|
|
function getCalcType(node) {
|
|
|
/*
|
|
|
判断是否父项:
|