|
@@ -69,6 +69,8 @@ INTERFACE_EXPORT = (() => {
|
|
|
'equipment': 'DESBF',
|
|
'equipment': 'DESBF',
|
|
|
'marketDirect': 'ZJF',
|
|
'marketDirect': 'ZJF',
|
|
|
'measure': 'CSF',
|
|
'measure': 'CSF',
|
|
|
|
|
+ 'measure1': 'CSF1',
|
|
|
|
|
+ 'measure2': 'CSF2',
|
|
|
'manage': 'QYGLF',
|
|
'manage': 'QYGLF',
|
|
|
'force': 'GF',
|
|
'force': 'GF',
|
|
|
'profit': 'LR',
|
|
'profit': 'LR',
|
|
@@ -774,49 +776,53 @@ INTERFACE_EXPORT = (() => {
|
|
|
i++
|
|
i++
|
|
|
}
|
|
}
|
|
|
return bidMaterials;
|
|
return bidMaterials;
|
|
|
- function BidEvaluationMainMaterial(b, index) {
|
|
|
|
|
|
|
+ function BidEvaluationMainMaterial(b, index) {
|
|
|
const attrs = [{
|
|
const attrs = [{
|
|
|
- name: "Code",
|
|
|
|
|
- value: index,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "Number",
|
|
|
|
|
- value: b.code
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "Name",
|
|
|
|
|
- value: b.name
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "Specification",
|
|
|
|
|
- value: b.specs
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "Unit",
|
|
|
|
|
- value: b.unit
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "Price",
|
|
|
|
|
- value: b.tenderPrice
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "LimitedPrice",
|
|
|
|
|
- value: b.tenderPrice
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "Quantity",
|
|
|
|
|
- value: b.quantity
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "Total",
|
|
|
|
|
- value: b.totalPrice
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: "Remark",
|
|
|
|
|
- value: b.remark
|
|
|
|
|
|
|
+ name: "Code",
|
|
|
|
|
+ value: index,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "Number",
|
|
|
|
|
+ value: b.code
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "Name",
|
|
|
|
|
+ value: b.name
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "Specification",
|
|
|
|
|
+ value: b.specs
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "Unit",
|
|
|
|
|
+ value: b.unit
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "Price",
|
|
|
|
|
+ value: b.tenderPrice
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "LimitedPrice",
|
|
|
|
|
+ value: b.tenderPrice
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "Quantity",
|
|
|
|
|
+ value: 0//b.quantity
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "Total",
|
|
|
|
|
+ value: 0//b.totalPrice
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "Remark",
|
|
|
|
|
+ value: b.remark
|
|
|
|
|
+ }
|
|
|
|
|
+ ];
|
|
|
|
|
+ if (isBidSubmission) {
|
|
|
|
|
+ attrs[7].value = b.quantity;
|
|
|
|
|
+ attrs[8].value = b.totalPrice;
|
|
|
}
|
|
}
|
|
|
- ];
|
|
|
|
|
- Element.call(this, "BidEvaluationMainMaterial", attrs);
|
|
|
|
|
|
|
+ Element.call(this, "BidEvaluationMainMaterial", attrs);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -869,13 +875,14 @@ INTERFACE_EXPORT = (() => {
|
|
|
|
|
|
|
|
function setItem(bNode, level, list) {
|
|
function setItem(bNode, level, list) {
|
|
|
if (bNode.sourceType == ModuleNames.ration) return;
|
|
if (bNode.sourceType == ModuleNames.ration) return;
|
|
|
- list.push(new bill(bNode, level));
|
|
|
|
|
|
|
+ let item = new bill(bNode, level);
|
|
|
if (bNode.children && bNode.children.length > 0) {
|
|
if (bNode.children && bNode.children.length > 0) {
|
|
|
level += 1;
|
|
level += 1;
|
|
|
for (let c of bNode.children) {
|
|
for (let c of bNode.children) {
|
|
|
- setItem(c, level, list);
|
|
|
|
|
|
|
+ setItem(c, level, item.children);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ list.push(item);
|
|
|
|
|
|
|
|
function bill(bNode, level) {
|
|
function bill(bNode, level) {
|
|
|
let data = bNode.data;
|
|
let data = bNode.data;
|
|
@@ -924,7 +931,7 @@ INTERFACE_EXPORT = (() => {
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "Price",
|
|
name: "Price",
|
|
|
- value: data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderUnitFee : "",
|
|
|
|
|
|
|
+ value: 0//data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderUnitFee : "",
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "Rate",
|
|
name: "Rate",
|
|
@@ -932,7 +939,7 @@ INTERFACE_EXPORT = (() => {
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "Sum",
|
|
name: "Sum",
|
|
|
- value: data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderTotalFee : "",
|
|
|
|
|
|
|
+ value: 0//data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderTotalFee : "",
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "ChapterKind",
|
|
name: "ChapterKind",
|
|
@@ -991,12 +998,19 @@ INTERFACE_EXPORT = (() => {
|
|
|
value: "",
|
|
value: "",
|
|
|
},
|
|
},
|
|
|
];
|
|
];
|
|
|
|
|
+
|
|
|
|
|
+ if (isBidSubmission) {
|
|
|
|
|
+ attrs[5].value = data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderUnitFee : "";
|
|
|
|
|
+ attrs[7].value = data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderTotalFee : "";
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
Element.call(this, "Item", attrs);
|
|
Element.call(this, "Item", attrs);
|
|
|
let cc = CostComposition(bNode);
|
|
let cc = CostComposition(bNode);
|
|
|
if (cc) this.children.push(cc);
|
|
if (cc) this.children.push(cc);
|
|
|
this.children.push(CostStructure(data))
|
|
this.children.push(CostStructure(data))
|
|
|
|
|
|
|
|
function CostComposition(bNode) {
|
|
function CostComposition(bNode) {
|
|
|
|
|
+ if (isControl || isBidInvitation) return null;
|
|
|
let CostComposition = new emptyElement('CostComposition');
|
|
let CostComposition = new emptyElement('CostComposition');
|
|
|
let Norms = [];
|
|
let Norms = [];
|
|
|
let Costs = [];
|
|
let Costs = [];
|
|
@@ -1197,8 +1211,9 @@ INTERFACE_EXPORT = (() => {
|
|
|
value: itemFeeMap[fee.fieldName],
|
|
value: itemFeeMap[fee.fieldName],
|
|
|
}, {
|
|
}, {
|
|
|
name: 'Sum',
|
|
name: 'Sum',
|
|
|
- value: fee.tenderTotalFee
|
|
|
|
|
|
|
+ value: 0 //fee.tenderTotalFee
|
|
|
}]
|
|
}]
|
|
|
|
|
+ if (isBidSubmission) attrs[1].value = fee.tenderTotalFee;
|
|
|
Element.call(this, "CostItem", attrs);
|
|
Element.call(this, "CostItem", attrs);
|
|
|
}
|
|
}
|
|
|
return CostStructure;
|
|
return CostStructure;
|
|
@@ -1301,7 +1316,7 @@ INTERFACE_EXPORT = (() => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function SummaryOfCost(totalItem, proItem,feature) {
|
|
function SummaryOfCost(totalItem, proItem,feature) {
|
|
|
- const attrs = [{
|
|
|
|
|
|
|
+ let attrs = [{
|
|
|
name: "TenderSumLimit",
|
|
name: "TenderSumLimit",
|
|
|
value: totalItem.feesIndex && totalItem.feesIndex.common && totalItem.feesIndex.common.tenderTotalFee ? totalItem.feesIndex.common.tenderTotalFee : 0,
|
|
value: totalItem.feesIndex && totalItem.feesIndex.common && totalItem.feesIndex.common.tenderTotalFee ? totalItem.feesIndex.common.tenderTotalFee : 0,
|
|
|
},
|
|
},
|
|
@@ -1420,6 +1435,10 @@ INTERFACE_EXPORT = (() => {
|
|
|
value: baseMap["工程说明"] ? baseMap["工程说明"].value : "",
|
|
value: baseMap["工程说明"] ? baseMap["工程说明"].value : "",
|
|
|
},
|
|
},
|
|
|
];
|
|
];
|
|
|
|
|
+ if (isControl || isBidInvitation) { //招标、招标控制价文件,则以下的8、12~18则不输出
|
|
|
|
|
+ attrs.splice(11, 7);
|
|
|
|
|
+ attrs.splice(7, 1);
|
|
|
|
|
+ }
|
|
|
Element.call(this, "MakeInfo", attrs);
|
|
Element.call(this, "MakeInfo", attrs);
|
|
|
}
|
|
}
|
|
|
|
|
|