fix : 金额格式化
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
|
||||
import { ElNotification} from "element-plus";
|
||||
import {deleteFund} from "@/api/special-fund";
|
||||
|
||||
import {toThousands} from '@/utils/changePrice.js'
|
||||
const router = useRouter()
|
||||
const searchConfig = reactive([
|
||||
{
|
||||
@@ -159,14 +159,6 @@ const tableConfig = reactive({
|
||||
]
|
||||
})
|
||||
const tableIns = ref()
|
||||
const toThousands=(num)=> {
|
||||
if(num==undefined||num==null)return '--';
|
||||
const options = {
|
||||
style: 'currency',
|
||||
currency: 'CNY',
|
||||
};
|
||||
return (num).toLocaleString('zh-CN', options)
|
||||
}
|
||||
|
||||
const search = (val) => {
|
||||
tableConfig.params = {...val}
|
||||
|
||||
Reference in New Issue
Block a user