Merge pull request 'fix : 研发资金格式化' (#804) from de into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/804
This commit is contained in:
2024-09-22 11:53:30 +00:00

View File

@@ -12,6 +12,7 @@
import {ElNotification} from "element-plus"; import {ElNotification} from "element-plus";
import {deleteResearchFund} from "@/api/research-fund"; import {deleteResearchFund} from "@/api/research-fund";
import { getSubCompOpt } from '@/api/user/user.js'; import { getSubCompOpt } from '@/api/user/user.js';
import {toThousands} from '@/utils/changePrice.js'
const router = useRouter(); const router = useRouter();
const researchFundSearchConfig = ref([ const researchFundSearchConfig = ref([
@@ -74,7 +75,10 @@ const researchFundTableConfig = reactive({
{ {
prop: 'rdAmount', prop: 'rdAmount',
label: '研发资金金额', label: '研发资金金额',
align: 'center' align: 'center',
currentRender:({row})=>{
return <span>{toThousands(row.rdAmount)}</span>
}
}, },
{ {
prop: 'rdDate', prop: 'rdDate',