科室资金预算

master
lion 5 months ago
parent 5440c6fdfb
commit beb28281e2

@ -217,7 +217,7 @@
if (isNaN(num)) return '0元'; if (isNaN(num)) return '0元';
if (Math.abs(num) < 10000) { if (Math.abs(num) < 10000) {
return num.toString() + '元'; // 1 return num.toFixed(2).toString() + '元'; // 1
} else { } else {
return (num / 10000).toFixed(2) + '万元'; // 1 return (num / 10000).toFixed(2) + '万元'; // 1
} }

@ -42,8 +42,9 @@
<div class="text-muted fw-bold text-success">{{ formatToWan(dept.use_money_total) }}</div> <div class="text-muted fw-bold text-success">{{ formatToWan(dept.use_money_total) }}</div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="text-muted">进行中</div> <div class="text-muted">进行中</div>
<div class="text-muted fw-bold text-warning">{{ getDoingMoneyTotal(dept.money_total,dept.use_money_total) }}</div> <!-- getDoingMoneyTotal(dept.money_total,dept.use_money_total) -->
<div class="text-muted fw-bold text-warning">{{ formatToWan(dept.contractPlanIngSum)}}</div>
</el-col> </el-col>
</el-row> </el-row>
<div class="mt-3 detail" @click="goToDetail(dept)"> <div class="mt-3 detail" @click="goToDetail(dept)">
@ -102,7 +103,7 @@
if (isNaN(num)) return '0元'; if (isNaN(num)) return '0元';
if (Math.abs(num) < 10000) { if (Math.abs(num) < 10000) {
return num.toString() + '元'; // 1 return num.toFixed(2).toString() + '元'; // 1
} else { } else {
return (num / 10000).toFixed(2) + '万元'; // 1 return (num / 10000).toFixed(2) + '万元'; // 1
} }

Loading…
Cancel
Save