Prechádzať zdrojové kódy

upd: 隐藏计算总价

xiongyubin 2 mesiacov pred
rodič
commit
793fbcfef2

+ 10 - 2
src/views/orderCfg/components/OrderFeeDetail.vue

@@ -11,7 +11,11 @@
       <div class="list">
         <div v-for="(item, index) in feeData.charge_fee_list" :key="index" class="item">
           <span class="section">{{ item.begin_time }} - {{ item.end_time }}</span>
-          <span class="fee">¥{{ item.price / 100 }} / 度 * {{ item.totalEnergy / 100 }}度 = ¥{{ item.totalPrice / 100 }}</span>
+          <span class="fee">
+            ¥{{ item.price / 100 }} / 度 *
+            {{ item.totalEnergy / 100 }}度
+            <!-- =¥{{ item.totalPrice / 100 }} -->
+          </span>
         </div>
       </div>
     </div>
@@ -20,7 +24,11 @@
       <div class="list">
         <div v-for="(item, index) in feeData.service_fee_list" :key="index" class="item">
           <span class="section">{{ item.begin_power }} - {{ item.end_power }}w</span>
-          <span class="fee">¥{{ item.price / 100 }} / 时 * {{ (item.totalTime / 3600).toFixed(2) }}时 = ¥{{ item.totalPrice / 100 }}</span>
+          <span class="fee">
+            ¥{{ item.price / 100 }} / 时 *
+            {{ (item.totalTime / 3600).toFixed(2) }}时
+            <!-- =¥{{ item.totalPrice / 100 }} -->
+          </span>
         </div>
       </div>
     </div>