fix : 分摊汇总表格及小计导出
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
export const toThousands = (num) => {
|
||||
if(num==undefined||num==null)return '--';
|
||||
const options = {
|
||||
style: 'currency',
|
||||
currency: 'CNY',
|
||||
};
|
||||
return (num).toLocaleString('zh-CN', options)
|
||||
let newNum=Number(num)
|
||||
if (newNum == undefined || newNum == null) return '--';
|
||||
const options = {
|
||||
style: 'currency',
|
||||
currency: 'CNY',
|
||||
};
|
||||
return (newNum).toLocaleString('zh-CN', options)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user