10.22订单费用保留两位小数

property_main
zz 1 month ago
parent 8e9c173336
commit ce5f7bda5c

@ -221,7 +221,7 @@ const onLanguageChange =async (lang: string) => {
locale.value = lang;
other.useTitle();
initI18nOrSize('globalI18n', 'disabledI18n');
await initBackEndControlRoutes();//
await initBackEndControlRoutes();//
// console.log('xxx')
};
// /i18n

@ -80,23 +80,24 @@
</el-table-column>
<el-table-column prop="serviceTotalFee" :label="$t('message.missingPiece.Service_charge')" align="center" width="200" show-overflow-tooltip>
<template #default="scope">
{{ scope.row.serviceTotalFee / 100 }}
{{ (scope.row.serviceTotalFee / 100).toFixed(2) }}
<!-- {{ (scope.row.serviceTotalFee / 100).toFixed(2) }} -->
</template>
</el-table-column>
<el-table-column prop="electricityTotalFee" :label="$t('message.missingPiece.Service_charge')" align="center" show-overflow-tooltip width="200">
<template #default="scope">
{{ scope.row.electricityTotalFee / 100 }}
{{ (scope.row.electricityTotalFee / 100).toFixed(2) }}
</template>
</el-table-column>
<el-table-column prop="appendTotalFee" :label="$t('message.missingPiece.Surcharge')" align="center" show-overflow-tooltip width="200">
<template #default="scope">
{{ scope.row.appendTotalFee / 100 }}
{{ (scope.row.appendTotalFee / 100).toFixed(2) }}
</template>
</el-table-column>
<el-table-column prop="totalFee" :label="$t('message.missingPiece.Total_cost')" align="center" show-overflow-tooltip width="200">
<template #default="scope">
{{ scope.row.totalFee / 100 }}
{{ (scope.row.totalFee / 100).toFixed(2) }}
</template>
</el-table-column>
<el-table-column prop="manualStep" :label="$t('message.missingPiece.Remarks')" align="center" width="200" show-overflow-tooltip />

Loading…
Cancel
Save