|
@@ -1780,7 +1780,7 @@ export default {
|
|
mostSimilar() {
|
|
mostSimilar() {
|
|
for (let index = 0; index < this.eqptPageData.length; index++) {
|
|
for (let index = 0; index < this.eqptPageData.length; index++) {
|
|
for (const item of this.eqptLifeIfrRefs) {
|
|
for (const item of this.eqptLifeIfrRefs) {
|
|
- if (this.eqptPageData[index].equipmentName.includes(item.type)) {
|
|
|
|
|
|
+ if (this.eqptPageData[index].equipmentName.includes(item.type) && this.eqptPageData[index].economicServiceLife && this.eqptPageData[index].installationRate) {
|
|
this.eqptPageData[index].economicServiceLife = item.lifeRecommendedValue
|
|
this.eqptPageData[index].economicServiceLife = item.lifeRecommendedValue
|
|
this.eqptPageData[index].installationRate = item.ifrRecommendedValue
|
|
this.eqptPageData[index].installationRate = item.ifrRecommendedValue
|
|
// 计算年限成新率
|
|
// 计算年限成新率
|
|
@@ -1821,7 +1821,7 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- // 设置默认物价指数给询价依据
|
|
|
|
|
|
+ // 设置默认(通用设备制造业)物价指数给询价依据
|
|
setPPItoInquiryBasis(row) {
|
|
setPPItoInquiryBasis(row) {
|
|
if (row.valuationMethod === '物价指数调整法') {
|
|
if (row.valuationMethod === '物价指数调整法') {
|
|
const date = new Date(row.purchaseDate)
|
|
const date = new Date(row.purchaseDate)
|