Explorar o código

消费减免金额使用用户最终选择的长度

john %!s(int64=2) %!d(string=hai) anos
pai
achega
82ee973c4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/pages/parkingFee/mixins/parkingFeeDetail.js

+ 1 - 1
src/pages/parkingFee/mixins/parkingFeeDetail.js

@@ -163,7 +163,7 @@ export default {
           let discountTime = 0
           let discountFee = 0
           if(selected) {
-            discountFee = consume[0].hasOwnProperty('discountFee') ? consume[0].discountFee : discountTime * hourPrice;
+            discountFee = consume[0].hasOwnProperty('discountFee') ? consume[0].discountFee : memberGrade[0].defaultDiscountTime * hourPrice;
             discountTime = discountFee / hourPrice;
           }
           params.discountInfo.consume = {