|
@@ -965,8 +965,8 @@
|
|
prcieList.push(this.keepTwoDecimal(_price))
|
|
prcieList.push(this.keepTwoDecimal(_price))
|
|
} else if (_waterMin >= _list[k].priceStart && _waterMin < _list[k].priceEnd) {
|
|
} else if (_waterMin >= _list[k].priceStart && _waterMin < _list[k].priceEnd) {
|
|
// 当前区间段价格+其他区间段价格
|
|
// 当前区间段价格+其他区间段价格
|
|
- // let _otherPice = this.getOtherPrice(_list, _list[k], "leftBasic")
|
|
|
|
- // let _price1 = (_list[k].priceEnd - _waterMin) / 0.5 * _list[k].betweenPrice + _otherPice;
|
|
|
|
|
|
+ let _otherPice = this.getOtherPrice(_list, _list[k], "leftBasic")
|
|
|
|
+ let _price1 = (_list[k].priceEnd - _waterMin) / 0.5 * _list[k].betweenPrice + _otherPice;
|
|
prcieList.push(basePrice + _price1)
|
|
prcieList.push(basePrice + _price1)
|
|
|
|
|
|
}
|
|
}
|
|
@@ -984,8 +984,8 @@
|
|
prcieList.push(this.keepTwoDecimal(_price))
|
|
prcieList.push(this.keepTwoDecimal(_price))
|
|
} else if (_waterMin > _list[k].priceStart && _waterMin <= _list[k].priceEnd) {
|
|
} else if (_waterMin > _list[k].priceStart && _waterMin <= _list[k].priceEnd) {
|
|
// 当前段价格+其他段价格
|
|
// 当前段价格+其他段价格
|
|
- // let _otherPice2 = this.getOtherPrice(_list, _list[k], "rightBasic")
|
|
|
|
- // let _price2 = (_waterMin - _list[k].priceEnd) / 0.5 * _list[k].betweenPrice + _otherPice2;
|
|
|
|
|
|
+ let _otherPice2 = this.getOtherPrice(_list, _list[k], "rightBasic")
|
|
|
|
+ let _price2 = (_waterMin - _list[k].priceEnd) / 0.5 * _list[k].betweenPrice + _otherPice2;
|
|
prcieList.push(basePrice - _price2)
|
|
prcieList.push(basePrice - _price2)
|
|
}
|
|
}
|
|
}
|
|
}
|