|
@@ -211,7 +211,7 @@ const importXML = (() => {
|
|
|
gljSummary: loadGljSummary(src),
|
|
|
differentiaSummary: loadDifferentiaSummary(src),//承包人材料差额法表
|
|
|
exponentialSummary: loadExponentialSummary(src),//承包人材料指数法表
|
|
|
- evalBidSummary: loadEvalBidSummary(src), //评标材料表
|
|
|
+ evalBidSummary: loadEvalBidSummary(src), //评标材料表
|
|
|
evalSummary: loadEvalSummary(src) // 暂估价材料表
|
|
|
};
|
|
|
});
|
|
@@ -741,6 +741,10 @@ const importXML = (() => {
|
|
|
'电(机械用)': { type: 305, shortName: '动' },
|
|
|
'机上人工': { type: 303, shortName: '机人' },
|
|
|
};
|
|
|
+ // 特殊处理机上人工(鹏业有的机上人工输出的feeType是1)
|
|
|
+ if (/机上人工/.test(name)) {
|
|
|
+ return { type: 303, shortName: '机人' };
|
|
|
+ }
|
|
|
// 人、机不需要匹配配比类别
|
|
|
if (feeType === '1') {
|
|
|
return { type: 1, shortName: '人' };
|
|
@@ -785,7 +789,7 @@ const importXML = (() => {
|
|
|
const orgCode = match ? match[0] : sourceCode;
|
|
|
let gljData = {
|
|
|
customCode: code, //处理自定义的代码 (有的公司定额人材机代码、人材机代码是用自动生成的代码)
|
|
|
- code: sourceCode,
|
|
|
+ code: code.includes(sourceCode) ? code : sourceCode, // 如果自定义代码里包含了原始编码,则编码取自定义编码
|
|
|
original_code: orgCode,
|
|
|
name: getValue(gljSrc, ['_名称']),
|
|
|
specs: getValue(gljSrc, ['_规格']),
|
|
@@ -1449,12 +1453,12 @@ const importXML = (() => {
|
|
|
handleContractorList();
|
|
|
// 处理评标材料
|
|
|
handleGLJRelatedList(tenderData.evalBidSummary, rst.bidEvaluationList, 'is_eval_material');
|
|
|
- // 处理暂估价材料
|
|
|
- handleGLJRelatedList(tenderData.evalSummary, rst.evaluationList, 'is_evaluate');
|
|
|
//处理定额数据
|
|
|
//获取含有定额数据的清单
|
|
|
handleRation(billsData);
|
|
|
}
|
|
|
+ // 处理暂估价材料:变更 :导入招标
|
|
|
+ handleGLJRelatedList(tenderData.evalSummary, rst.evaluationList, 'is_evaluate');
|
|
|
// 处理与项目人材机关联的承包人材料
|
|
|
function handleContractorList() {
|
|
|
const contractorType = getAdjustType(tenderData);
|