依据 e1 变动成本负值口径核查(口径无误,设计使然):变动成本含贷方冲减项(厂补), 个别期间(2026-08 / 2025-07)可为负。本单仅在报表层加说明,防读者误读为取数/口径错误。 - 项目列「变动成本」行加 InfoFilled 悬停 tooltip(按 line_key === 'variable_cost' 精确命中) - 表格下方加脚注一行 - 未改取数逻辑、未改口径、未改任何数值(diff:1 file, 11 insertions(+), 0 deletions(-))
This commit is contained in:
@@ -32,6 +32,10 @@
|
|||||||
<el-table-column prop="name" label="项目" width="200">
|
<el-table-column prop="name" label="项目" width="200">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span :style="{ fontWeight: row.is_total ? 700 : row.is_subtotal ? 600 : 400 }">{{ row.name }}</span>
|
<span :style="{ fontWeight: row.is_total ? 700 : row.is_subtotal ? 600 : 400 }">{{ row.name }}</span>
|
||||||
|
<!-- 变动成本负值标注(纯展示:不改取数/口径/数值) -->
|
||||||
|
<el-tooltip v-if="row.line_key === 'variable_cost'" :content="VARCOST_NEGATIVE_NOTE" placement="top">
|
||||||
|
<el-icon style="margin-left:4px;vertical-align:-2px;cursor:help;color:#909399;"><InfoFilled /></el-icon>
|
||||||
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="本期金额" width="160" align="right">
|
<el-table-column label="本期金额" width="160" align="right">
|
||||||
@@ -61,6 +65,10 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
<!-- 变动成本负值说明(脚注;纯展示,不参与任何计算) -->
|
||||||
|
<div style="margin-top:8px;font-size:12px;color:#909399;line-height:1.8;">
|
||||||
|
注:{{ VARCOST_NEGATIVE_NOTE }}
|
||||||
|
</div>
|
||||||
<!-- 4-5 备注(纯展示,不参与任何计算):数据批次 / 导入时刻 -->
|
<!-- 4-5 备注(纯展示,不参与任何计算):数据批次 / 导入时刻 -->
|
||||||
<div v-if="profitBatches.length" style="margin-top:10px;font-size:12px;color:#909399;line-height:1.8;">
|
<div v-if="profitBatches.length" style="margin-top:10px;font-size:12px;color:#909399;line-height:1.8;">
|
||||||
<span>数据批次 / 导入时刻:</span>
|
<span>数据批次 / 导入时刻:</span>
|
||||||
@@ -638,6 +646,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, reactive, computed, onMounted, nextTick } from 'vue'
|
import { ref, reactive, computed, onMounted, nextTick } from 'vue'
|
||||||
import { ElMessage } from 'element-plus'
|
import { ElMessage } from 'element-plus'
|
||||||
|
import { InfoFilled } from '@element-plus/icons-vue'
|
||||||
// 统一走 api/index.ts 的 axios 实例(拦截器自动带 Bearer / 统一 401 跳登录 / 超时提示)
|
// 统一走 api/index.ts 的 axios 实例(拦截器自动带 Bearer / 统一 401 跳登录 / 超时提示)
|
||||||
import api from '../api/index'
|
import api from '../api/index'
|
||||||
import { getFixedEntityId } from '../utils/entity'
|
import { getFixedEntityId } from '../utils/entity'
|
||||||
@@ -669,6 +678,8 @@ function getEntityId() {
|
|||||||
// ── 报表1:管理利润表 ──
|
// ── 报表1:管理利润表 ──
|
||||||
const profitItems = ref<any[]>([])
|
const profitItems = ref<any[]>([])
|
||||||
const profitDesc = ref('')
|
const profitDesc = ref('')
|
||||||
|
// 变动成本负值口径说明(纯展示文案,不参与任何计算;口径唯一源 = 后端 bep_caliber.ENTITY_CALIBERS)
|
||||||
|
const VARCOST_NEGATIVE_NOTE = '变动成本含贷方冲减项(厂补等),个别期间可为负,非取数/口径错误(对应口径见 bep_caliber.ENTITY_CALIBERS)'
|
||||||
const profitBatches = ref<any[]>([]) // 4-5 备注(纯展示:数据批次/导入时刻)
|
const profitBatches = ref<any[]>([]) // 4-5 备注(纯展示:数据批次/导入时刻)
|
||||||
const profitChecks = ref<any>(null) // 勾稽自检(reconciliation:balanced/diff/note)
|
const profitChecks = ref<any>(null) // 勾稽自检(reconciliation:balanced/diff/note)
|
||||||
const profitFinanceIncome = ref<any>(null) // 财务收益(§4-1 单列备查)
|
const profitFinanceIncome = ref<any>(null) // 财务收益(§4-1 单列备查)
|
||||||
|
|||||||
Reference in New Issue
Block a user