fix : 金额格式化
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
<script setup lang="jsx">
|
||||
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
|
||||
import {reactive, shallowRef} from "vue";
|
||||
import {toThousands} from '@/utils/changePrice.js'
|
||||
|
||||
const router = useRouter()
|
||||
const shortcuts = [
|
||||
@@ -265,14 +265,7 @@ const tableConfig = reactive({
|
||||
api: '/workflow/mosr/project/filing',
|
||||
params: {},
|
||||
})
|
||||
const toThousands=(num)=> {
|
||||
if(num==undefined||num==null)return '--';
|
||||
const options = {
|
||||
style: 'currency',
|
||||
currency: 'CNY',
|
||||
};
|
||||
return (num).toLocaleString('zh-CN', options)
|
||||
}
|
||||
|
||||
const search = (val) => {
|
||||
let obj = {...val}
|
||||
if (obj.dateValue) {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<script setup lang="jsx">
|
||||
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
|
||||
import {reactive, shallowRef} from "vue";
|
||||
import {toThousands} from '@/utils/changePrice.js'
|
||||
|
||||
const router = useRouter()
|
||||
const shortcuts = [
|
||||
@@ -301,14 +301,7 @@ const tableConfig = reactive({
|
||||
{name: '生成分摊报表', key: '_export', color: '#DED0B2', auth: ''}
|
||||
]
|
||||
})
|
||||
const toThousands=(num)=> {
|
||||
if(num==undefined||num==null)return '--';
|
||||
const options = {
|
||||
style: 'currency',
|
||||
currency: 'CNY',
|
||||
};
|
||||
return (num).toLocaleString('zh-CN', options)
|
||||
}
|
||||
|
||||
const search = (val) => {
|
||||
let obj = {...val}
|
||||
if(obj.dateValue) {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<script setup lang="jsx">
|
||||
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
|
||||
|
||||
import {toThousands} from '@/utils/changePrice.js'
|
||||
const router = useRouter()
|
||||
const shortcuts = [
|
||||
{
|
||||
@@ -264,14 +264,7 @@ const tableConfig = reactive({
|
||||
api: '/workflow/mosr/project/approval',
|
||||
params: {},
|
||||
})
|
||||
const toThousands=(num)=> {
|
||||
if(num==undefined||num==null)return '--';
|
||||
const options = {
|
||||
style: 'currency',
|
||||
currency: 'CNY',
|
||||
};
|
||||
return (num).toLocaleString('zh-CN', options)
|
||||
}
|
||||
|
||||
const search = (val) => {
|
||||
let obj = {...val}
|
||||
if(obj.dateValue) {
|
||||
|
||||
Reference in New Issue
Block a user