Forráskód Böngészése

浦东:下单时,消费减免需要乘 60

john 2 éve
szülő
commit
ad0044ad2d
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/pages/parkingFee/mixins/parkingFeeDetail.js

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

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