Sfoglia il codice sorgente

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

john 2 anni fa
parent
commit
82ee973c4b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 = {