feat: 项目基本信息新增实际经费预算和专项资金相关字段

This commit is contained in:
dj
2025-03-31 14:12:28 +08:00
parent f9aa6191ce
commit 244f2e72b4
12 changed files with 313 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
<template>
<fvSearchForm :searchConfig="searchConfig" @search="search" style="margin-left: 16px"></fvSearchForm>
<fvTable ref="tableIns" :tableConfig="tableConfig">
<!-- <fvSearchForm :searchConfig="searchConfig" @search="search" style="margin-left: 16px"></fvSearchForm>-->
<fvTable ref="tableIns" :tableConfig="tableConfig" style="margin-top: 15px">
<template #empty>
<el-empty description="暂无数据"/>
</template>
@@ -115,114 +115,96 @@ const tableConfig = reactive({
// }
// },
{
prop: 'affiliatedCompany',
prop: 'paymentYear',
label: '支出年份',
align: 'center'
},
{
prop: 'projectName',
prop: 'paymentMonth',
label: '月份',
align: 'center'
},
{
prop: 'projectCost',
prop: 'masterProjectName',
label: '主项目',
align: 'center',
width: 120,
showOverflowTooltip: false,
currentRender: ({row, index}) => {
if (row.projectCost !== null&&row.projectCost !== null&&row.projectCost!==undefined) {
return (<Tag dictType={'project_cost'} value={row.projectCost}/>)
} else {
return '--'
}
}
},
{
prop: 'time',
prop: 'subProjectName',
label: '子项目',
align: 'center',
width: 120,
},
{
prop: 'researchStage',
prop: 'projectType',
label: '项目类型',
align: 'center',
width: 120,
showOverflowTooltip: false,
currentRender: ({row, index}) => {
if (row.researchStage&&row.researchStage !== null&&row.researchStage!==undefined) {
return (<Tag dictType={'research_stage'} value={row.researchStage}/>)
if (row.projectType&&row.projectType !== null&&row.projectType!==undefined) {
return (<Tag dictType={'project_type'} value={row.projectType}/>)
} else {
return '--'
}
}
},
{
prop: 'digest',
prop: 'rdType',
label: 'RAD统计类型',
align: 'center'
},
{
prop: 'digest',
prop: 'paymentProcessType',
label: '付款流程类型',
align: 'center',
currentRender:({row})=>{
return <span>{toThousands(row.afterTax)}</span>
}
},
{
prop: 'digest',
prop: 'processState',
label: '流程状态',
align: 'center',
showOverflowTooltip: false,
currentRender: ({row, index}) => {
if (row.source&&row.source !== null&&row.source!==undefined) {
return (<Tag dictType={'ledger_source'} value={row.source}/>)
} else {
return '--'
}
}
},
{
prop: 'digest',
prop: 'filingTime',
label: '归档时间',
align: 'center',
},
{
prop: 'digest',
prop: 'paymentProcessNum',
label: '付款流程编号',
align: 'center',
},
{
prop: '付款/请款事由',
label: '来源',
align: 'center',
},
{
prop: 'digest',
prop: 'paymentAmount',
label: '付款金额',
align: 'center',
},
{
prop: 'digest',
prop: 'paymentSubject',
label: '付款/请款事由',
align: 'center',
},
{
prop: 'contractNum',
label: '合同编号',
align: 'center',
},
{
prop: 'digest',
prop: 'contractName',
label: '合同名称',
align: 'center',
},
{
prop: 'digest',
prop: 'contractSumAmount',
label: '合同金额(元)',
align: 'center',
},
],
api: '',
api: '/workflow/mosr/payment/list',
params: {},
export:{
open :true,