|
|
@@ -182,7 +182,7 @@ export const getPrice = (
|
|
|
projectGljMap: Record<string, IBaseGlj>,
|
|
|
unitProperty: { tenderSetting?: ITenderSetting },
|
|
|
constructionProperty: { decimal: IDecimal; calcOption?: ICalcOption },
|
|
|
- configMaterials: IConfigMaterial,
|
|
|
+ configMaterial: IConfigMaterial,
|
|
|
tender?: boolean
|
|
|
) => {
|
|
|
let marketPrice = 0;
|
|
|
@@ -199,7 +199,7 @@ export const getPrice = (
|
|
|
tenderPrice = getMarketPrice(projectGlj, tenderCoe, projectGljMap, constructionProperty.decimal);
|
|
|
}
|
|
|
|
|
|
- if (calcPriceDiff(projectGlj, configMaterials, constructionProperty.calcOption)) {
|
|
|
+ if (calcPriceDiff(projectGlj, configMaterial, constructionProperty.calcOption)) {
|
|
|
// 计取价差
|
|
|
basePrice = getBasePrice(projectGlj, constructionProperty.decimal);
|
|
|
} else {
|