浏览代码

前端gjy

gjy 3 年之前
父节点
当前提交
3bf533ac7a
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/views/houseSelfCollect/acquisitionManagementAdd.vue

+ 4 - 4
src/views/houseSelfCollect/acquisitionManagementAdd.vue

@@ -965,8 +965,8 @@
                 prcieList.push(this.keepTwoDecimal(_price))
               } 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)
 
               }
@@ -984,8 +984,8 @@
                 prcieList.push(this.keepTwoDecimal(_price))
               } 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)
               }
             }