|
@@ -8,7 +8,7 @@
|
|
|
</div>
|
|
|
<div class="battery-yellow-text">
|
|
|
<p>SOC</p>
|
|
|
- <p>{{ BatteryOnCar }}%</p>
|
|
|
+ <p>{{ BatteryOnCar | exchangerFilter }}%</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -16,17 +16,17 @@
|
|
|
<div v-for="(item, index) in storeInfoList" :key="index" class="battery-list">
|
|
|
<div v-if="Carconnection(index)" class="battery-listbg" :class="[greenBattery(index),setBatteryBg(index)]">
|
|
|
<template v-if="step >= 3 && swapCode === index">
|
|
|
- <p v-show="swapSoc">SOC {{ swapSoc }}%</p>
|
|
|
- <p v-show="swapCurrent">{{ swapCurrent }} A</p>
|
|
|
+ <p v-show="swapSoc">SOC {{ swapSoc | exchangerFilter }}%</p>
|
|
|
+ <p v-show="swapCurrent">{{ swapCurrent | exchangerFilter }} A</p>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <p v-show="item.soc">SOC {{ item.soc }}%</p>
|
|
|
- <p v-show="item.current">{{ item.current }} A</p>
|
|
|
+ <p v-show="item.soc">SOC {{ item.soc | exchangerFilter }}%</p>
|
|
|
+ <p v-show="item.current">{{ item.current | exchangerFilter }} A</p>
|
|
|
</template>
|
|
|
</div>
|
|
|
<div v-if="swapCode === index" class="battery-defaultcls defaultbg">
|
|
|
- <p v-show="item.soc && yellowBattery.yellowshow">SOC {{ item.soc }}%</p>
|
|
|
- <p v-show="item.current && yellowBattery.yellowshow">{{ item.current }} A</p>
|
|
|
+ <p v-show="item.soc && yellowBattery.yellowshow">SOC {{ item.soc | exchangerFilter }}%</p>
|
|
|
+ <p v-show="item.current && yellowBattery.yellowshow">{{ item.current | exchangerFilter }} A</p>
|
|
|
</div>
|
|
|
<div class="battery-liststatus">
|
|
|
<img v-show="item.chargerInfoVo.chgState === 0" src="../assets/status0.png">
|