| | |
| | | align="right" |
| | | > |
| | | <template #default="scope"> |
| | | <span>{{ scope.row.amount?.toFixed(2) }}</span> |
| | | <span>{{ scope.row.amount?.toFixed(4) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | align="right" |
| | | > |
| | | <template #default="scope"> |
| | | <span>{{ scope.row.liters?.toFixed(2) }}</span> |
| | | <span>{{ scope.row.liters?.toFixed(4) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <span |
| | | :style="scope.row.isAbnormal ? 'color:#F56C6C;font-weight:600;' : ''" |
| | | > |
| | | {{ scope.row.fuelConsumption != null ? scope.row.fuelConsumption.toFixed(2) : '-' }} |
| | | {{ scope.row.fuelConsumption != null ? scope.row.fuelConsumption.toFixed(4) : '-' }} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | > |
| | | <template #default="scope"> |
| | | <span> |
| | | {{ scope.row.avgConsumption != null ? scope.row.avgConsumption.toFixed(2) : '-' }} |
| | | {{ scope.row.avgConsumption != null ? scope.row.avgConsumption.toFixed(4) : '-' }} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | v-model="form.amount" |
| | | :min="0" |
| | | :step="0.01" |
| | | :precision="2" |
| | | :precision="4" |
| | | placeholder="请输入金额" |
| | | style="width: 100%" |
| | | /> |
| | |
| | | v-model="form.liters" |
| | | :min="0" |
| | | :step="0.01" |
| | | :precision="2" |
| | | :precision="4" |
| | | placeholder="请输入升数" |
| | | style="width: 100%" |
| | | /> |