فهرست منبع

应缴金额单位显示优化

john.hong 2 سال پیش
والد
کامیت
b7f9134c37

+ 1 - 1
src/pages/parkingFee/components/base/parkingFeeDetailSuccess.vue

@@ -99,7 +99,7 @@
         <div class="parking-part parking-detail">
           <div class="parking-info-item">
             <span class="info-key">应缴</span>
-            <span class="info-value">{{ (detail.totalFee / 100) | currency }}</span>
+            <span class="info-value">{{ (detail.totalFee ) | currency }}</span>
           </div>
           <div class="parking-info-item">
             <span class="info-key">实缴</span>

+ 1 - 1
src/pages/parkingFee/components/officeBlue/parkingFeeDetail.vue

@@ -28,7 +28,7 @@
           <div class="warp_index">
             <div>应缴</div>
             <div class="warp_index_color">
-              {{ (orderDetail.parkingRecord.totalFee / 100) | currency }}
+              {{ (orderDetail.parkingRecord.totalFeeInYuan) | currency }}
             </div>
           </div>
         </div>

+ 1 - 1
src/pages/parkingFee/components/officeBlue/parkingFeeDetailSuccess.vue

@@ -112,7 +112,7 @@
           <div class="parking-info-item">
             <span class="info-key">应缴</span>
             <span class="info-value fw">{{
-              (detail.totalFee / 100) | currency
+              (detail.totalFee ) | currency
             }}</span>
           </div>
           <div class="parking-info-item">

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

@@ -118,8 +118,8 @@ export default {
             vehicleNo: parkingRecord.vehicleNo,
             enterTime: parkingRecord.enterTime,
             serviceMin: parkingRecord.serviceMin,
-            totalFee: Math.abs(parkingRecord?.totalFee / 100 || 0).toFixed(2), //应缴
-            actualPayFee: Math.abs(this.actualPayFee || 0).toFixed(2), //应付金额
+            totalFee: parkingRecord.totalFeeInYuan, //应缴
+            actualPayFee: this.actualPayFee, //应付金额
           },
           discountInfo: {
             usingTotalDiscount: discountInfo?.usingTotalDiscount || 0, //优惠金额"