This commit is contained in:
‘937886381’
2026-01-06 13:48:11 +08:00
parent 20ef2b9763
commit 5605eeab06
287 changed files with 1890 additions and 1381 deletions

View File

@@ -5,9 +5,9 @@
<div class="kpi-content" style="padding: 14px 16px; display: flex; width: 100%;">
<!-- 新增topItem 专属包裹容器统一控制样式和布局原有行内样式不变 -->
<div class="topItem-container" style="display: flex; gap: 8px;">
<div class="dashboard left" @click="handleDashboardClick('备件丶机物料')">
<div class="dashboard left" @click="handleDashboardClick('备品、机物料')">
<div class="title">
件丶机物料·单位/万元
机物料·/
</div>
<div class="line">
<!-- 绑定备件丶机物料对应数据新增数据绑定样式不变 -->
@@ -16,7 +16,7 @@
</div>
<div class="dashboard right" @click="handleDashboardClick('折旧')">
<div class="title">
折旧·单位/万元
折旧·/
</div>
<div class="line">
<!-- 绑定折旧对应数据新增数据绑定样式不变 -->
@@ -25,7 +25,7 @@
</div>
<div class="dashboard right" @click="handleDashboardClick('其他')">
<div class="title">
其他·单位/万元
其他·/
</div>
<div class="line">
<!-- 绑定其他对应数据新增数据绑定样式不变 -->
@@ -52,6 +52,10 @@ export default {
type: Array,
default: () => []
},
dateData: {
type: Object,
default: () => ({})
},
factory: {
type: [String, Number],
default: ''
@@ -72,7 +76,7 @@ export default {
computed: {
// 1. 备件丶机物料数据:精准筛选对应名称数据,兜底值统一
sparePartsData() {
return this.relatedData.find(item => (item.name || '').includes('备件丶机物料')) || {
return this.relatedData.find(item => (item.name || '').includes('备品、机物料')) || {
targetValue: 0,
value: 0,
completed: 0,
@@ -136,7 +140,8 @@ export default {
path: 'singleProcMfgOverheadCost',
query: {
name,
factory: this.$route.query.factory ? this.$route.query.factory : this.factory
factory: this.$route.query.factory ? this.$route.query.factory : this.factory,
dateData: this.dateData
}
})
}