|
|
|
|
@ -76,43 +76,43 @@
|
|
|
|
|
<el-table v-loading="loading" border :data="budgetInfoList" @selection-change="handleSelectionChange">
|
|
|
|
|
<!-- <el-table-column type="selection" width="55" align="center" />-->
|
|
|
|
|
<!-- <el-table-column label="版本,新版本+1" align="center" prop="budgetVersion" v-if="columns[4].visible" />-->
|
|
|
|
|
<el-table-column label="项目类别" align="center" prop="projectCategory" v-if="columns[5].visible" width="150">
|
|
|
|
|
<el-table-column label="预算编号" align="center" prop="budgetCode" min-width="140" show-overflow-tooltip />
|
|
|
|
|
<el-table-column label="项目类别" align="center" prop="projectCategory" v-if="columns[5].visible" min-width="140">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :options="project_category" :value="scope.row.projectCategory" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="预算编号" align="center" prop="budgetCode" width="140"/>
|
|
|
|
|
<el-table-column label="项目号" align="center" prop="projectCode" v-if="columns[6].visible" />
|
|
|
|
|
<el-table-column label="项目名称" align="center" prop="projectName" v-if="columns[7].visible" />
|
|
|
|
|
<el-table-column label="版本" align="center" prop="budgetVersion" v-if="columns[34].visible" width="60"/>
|
|
|
|
|
<el-table-column label="项目经理" align="center" prop="managerName" v-if="columns[8].visible" width="100px;"/>
|
|
|
|
|
<el-table-column label="产品经理" align="center" prop="productManagerName" v-if="columns[10].visible" />
|
|
|
|
|
<el-table-column label="合同额(元)" align="center" prop="contractAmount" v-if="columns[14].visible" />
|
|
|
|
|
<el-table-column label="合同净额(元)" align="center" prop="netContractAmount" v-if="columns[15].visible" />
|
|
|
|
|
<el-table-column label="预算成本(元)" align="center" prop="budgetCost" v-if="columns[16].visible" />
|
|
|
|
|
<el-table-column label="预算毛利率" align="center" prop="budgetRate" v-if="columns[17].visible">
|
|
|
|
|
<el-table-column label="项目号" align="center" prop="projectCode" v-if="columns[6].visible" min-width="120" show-overflow-tooltip />
|
|
|
|
|
<el-table-column label="项目名称" align="center" prop="projectName" v-if="columns[7].visible" min-width="160" show-overflow-tooltip />
|
|
|
|
|
<el-table-column label="版本" align="center" prop="budgetVersion" v-if="columns[34].visible" width="64" />
|
|
|
|
|
<el-table-column label="项目经理" align="center" prop="managerName" v-if="columns[8].visible" min-width="100" show-overflow-tooltip />
|
|
|
|
|
<el-table-column label="产品经理" align="center" prop="productManagerName" v-if="columns[10].visible" min-width="100" show-overflow-tooltip />
|
|
|
|
|
<el-table-column label="合同额(元)" align="center" prop="contractAmount" v-if="columns[14].visible" min-width="120" />
|
|
|
|
|
<el-table-column label="合同净额(元)" align="center" prop="netContractAmount" v-if="columns[15].visible" min-width="120" />
|
|
|
|
|
<el-table-column label="预算成本(元)" align="center" prop="budgetCost" v-if="columns[16].visible" min-width="120" />
|
|
|
|
|
<el-table-column label="预算毛利率" align="center" prop="budgetRate" v-if="columns[17].visible" min-width="108">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
{{ formatRate(scope.row.budgetRate) }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="降成本后预算成本(万元)" align="center" prop="reduceBudgetCost" v-if="columns[18].visible" />
|
|
|
|
|
<el-table-column label="降成本后预算毛利率" align="center" prop="reduceBudgetRate" v-if="columns[19].visible">
|
|
|
|
|
<el-table-column label="降成本后预算成本(元)" align="center" prop="reduceBudgetCost" v-if="columns[18].visible" min-width="152" />
|
|
|
|
|
<el-table-column label="降成本后预算毛利率" align="center" prop="reduceBudgetRate" v-if="columns[19].visible" min-width="150">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
{{ formatRate(scope.row.reduceBudgetRate) }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="项目预算期间" align="center" prop="duringOperation" v-if="columns[20].visible" />
|
|
|
|
|
<el-table-column label="预算状态" align="center" prop="budgetStatus" v-if="columns[24].visible" width="100px;">
|
|
|
|
|
<el-table-column label="项目预算期间" align="center" prop="duringOperation" v-if="columns[20].visible" min-width="130" show-overflow-tooltip />
|
|
|
|
|
<el-table-column label="预算状态" align="center" prop="budgetStatus" v-if="columns[24].visible" width="100">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :options="budget_status" :value="scope.row.budgetStatus" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="流程状态" align="center" prop="flowStatus" v-if="columns[25].visible" width="100px;">
|
|
|
|
|
<el-table-column label="流程状态" align="center" prop="flowStatus" v-if="columns[25].visible" width="100">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :options="wf_business_status" :value="scope.row.flowStatus" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width">
|
|
|
|
|
<el-table-column label="操作" align="center" fixed="right" width="130" class-name="small-padding fixed-width">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-tooltip content="查看详情" placement="top" v-if="scope.row.budgetStatus !== BUDGET_STATUS.DRAFT">
|
|
|
|
|
<el-button type="primary" size="small" icon="View" @click="handleUpdate(scope.row,'view')" v-hasPermi="['oa:erp/budgetInfo:view']">查看 </el-button>
|
|
|
|
|
|