|
|
@@ -190,6 +190,27 @@ INTERFACE_IMPORT = (() => {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ // 提取人材机数据(暂估材料和评标材料)
|
|
|
+ function setupGLJSummary(tenderSrc) {
|
|
|
+ function gljRefMapFunc(glj) {
|
|
|
+ return {
|
|
|
+ seq: getValue(glj, ['_Xh']),
|
|
|
+ code: getValue(glj, ['_Bm']),
|
|
|
+ name: getValue(glj, ['_Mc']),
|
|
|
+ specs: getValue(glj, ['_Ggxh']),
|
|
|
+ unit: getValue(glj, ['_Dw']),
|
|
|
+ quantity: getValue(glj, ['_Sl']),
|
|
|
+ marketPrice: getValue(glj, ['_Dj']),
|
|
|
+ totalPrice: getValue(glj, ['_Hj']),
|
|
|
+ remark: getValue(glj, ['_Bz']),
|
|
|
+ };
|
|
|
+ }
|
|
|
+ return {
|
|
|
+ evaluationList: arrayValue(tenderSrc, ['ZgCl', 'ZgClMx']).map(gljRefMapFunc),
|
|
|
+ bidEvaluationList: arrayValue(tenderSrc, ['JpCl', 'JpClMx']).map(gljRefMapFunc),
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// 提取单位工程数据
|
|
|
function setupTender(midSrc, tenderSrc) {
|
|
|
//const feeRateSrc = getValue(tenderSrc, ['Qfxx']);
|
|
|
@@ -198,7 +219,8 @@ INTERFACE_IMPORT = (() => {
|
|
|
name: getValue(tenderSrc, ['_Dwgcmc']),
|
|
|
feature: setupFeature(midSrc, tenderSrc),
|
|
|
//feeRate: setupFeeRate(feeRateSrc),
|
|
|
- bills: setupBills(billsSrc)
|
|
|
+ bills: setupBills(billsSrc),
|
|
|
+ ...setupGLJSummary(tenderSrc),
|
|
|
};
|
|
|
}
|
|
|
|