Commit 6ac8ed5f by xiehao

add:新增项目金额和项目启动时间

1 parent 41cfb7f0
Showing with 6 additions and 0 deletions
......@@ -854,6 +854,12 @@ export default {
sysDeptOptions: [],
}
},
filters: {
formatMoney(value) {
if (!value && value !== 0) return '';
return new Intl.NumberFormat('zh-CN', { style: 'currency', currency: 'CNY', minimumFractionDigits: 2, maximumFractionDigits: 2 }).format(value);
}
},
mounted() {
window.addEventListener('resize', () => {
this.set_table_height()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!