|
@@ -1521,7 +1521,8 @@ let cbParser = {
|
|
//暂估材料费特殊处理:CN(CN)
|
|
//暂估材料费特殊处理:CN(CN)
|
|
let isZG = false;
|
|
let isZG = false;
|
|
for(let i = 0, len = temp.length; i < len; i++){
|
|
for(let i = 0, len = temp.length; i < len; i++){
|
|
- if(temp[i] !== '' && rst.indexOf(temp[i]) === -1){
|
|
|
|
|
|
+ if(temp[i] !== ''){
|
|
|
|
+ //if(temp[i] !== '' && rst.indexOf(temp[i]) === -1){
|
|
if(temp[i] === '暂估材料费'){//处理暂估材料基数
|
|
if(temp[i] === '暂估材料费'){//处理暂估材料基数
|
|
isZG = true;
|
|
isZG = true;
|
|
continue;
|
|
continue;
|
|
@@ -1632,7 +1633,7 @@ let cbParser = {
|
|
return '$CBC.base(\'NONE\')';
|
|
return '$CBC.base(\'NONE\')';
|
|
}
|
|
}
|
|
//基数
|
|
//基数
|
|
- let strs = this.getFigure(v);
|
|
|
|
|
|
+ let strs = _.uniq(this.getFigure(v));
|
|
let exps = [];
|
|
let exps = [];
|
|
for(let i = 0, len = strs.length; i < len; i++){
|
|
for(let i = 0, len = strs.length; i < len; i++){
|
|
let exp = Object.create(null);
|
|
let exp = Object.create(null);
|