明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_front
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
jt_front
Commits
9fe91ebb
Commit
9fe91ebb
authored
Apr 01, 2026
by
zhanghan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
982fe451
Pipeline
#109120
passed with stage
in 21 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
14 deletions
+38
-14
annualAdd.vue
src/views/everydayPage/annualAdd.vue
+15
-12
annualPlan.vue
src/views/everydayPage/annualPlan.vue
+23
-2
No files found.
src/views/everydayPage/annualAdd.vue
View file @
9fe91ebb
...
@@ -780,10 +780,11 @@
...
@@ -780,10 +780,11 @@
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
债权融资
(万元)"
>
<el-form-item
label=
"
年度计划总额
(万元)"
>
<el-input
<el-input
v-model=
"formData.
zqRz
"
v-model=
"formData.
ndJhZe
"
:min=
"0"
:min=
"0"
:precision=
"2"
:precision=
"2"
controls-position=
"right"
controls-position=
"right"
...
@@ -793,9 +794,9 @@
...
@@ -793,9 +794,9 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
年度计划总额
(万元)"
>
<el-form-item
label=
"
资本金-能建方
(万元)"
>
<el-input
<el-input
v-model=
"formData.
ndJhZe
"
v-model=
"formData.
zbjPtF
"
:min=
"0"
:min=
"0"
:precision=
"2"
:precision=
"2"
controls-position=
"right"
controls-position=
"right"
...
@@ -805,9 +806,9 @@
...
@@ -805,9 +806,9 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
回款再投入
(万元)"
>
<el-form-item
label=
"
资本金-外部股东
(万元)"
>
<el-input
<el-input
v-model=
"formData.
hkZtr
"
v-model=
"formData.
zbjWbGd
"
:min=
"0"
:min=
"0"
:precision=
"2"
:precision=
"2"
controls-position=
"right"
controls-position=
"right"
...
@@ -817,9 +818,9 @@
...
@@ -817,9 +818,9 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
资本金-配套方
(万元)"
>
<el-form-item
label=
"
债权融资
(万元)"
>
<el-input
<el-input
v-model=
"formData.z
bjPtF
"
v-model=
"formData.z
qRz
"
:min=
"0"
:min=
"0"
:precision=
"2"
:precision=
"2"
controls-position=
"right"
controls-position=
"right"
...
@@ -829,9 +830,9 @@
...
@@ -829,9 +830,9 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
其他
(万元)"
>
<el-form-item
label=
"
回款再投入
(万元)"
>
<el-input
<el-input
v-model=
"formData.
qt
"
v-model=
"formData.
hkZtr
"
:min=
"0"
:min=
"0"
:precision=
"2"
:precision=
"2"
controls-position=
"right"
controls-position=
"right"
...
@@ -840,10 +841,11 @@
...
@@ -840,10 +841,11 @@
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
资本金-外部股东
(万元)"
>
<el-form-item
label=
"
其他
(万元)"
>
<el-input
<el-input
v-model=
"formData.
zbjWbGd
"
v-model=
"formData.
qt
"
:min=
"0"
:min=
"0"
:precision=
"2"
:precision=
"2"
controls-position=
"right"
controls-position=
"right"
...
@@ -852,6 +854,7 @@
...
@@ -852,6 +854,7 @@
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"我方仅指本单位出资(万元)"
>
<el-form-item
label=
"我方仅指本单位出资(万元)"
>
<el-input
<el-input
...
...
src/views/everydayPage/annualPlan.vue
View file @
9fe91ebb
...
@@ -4,6 +4,13 @@
...
@@ -4,6 +4,13 @@
<!-- 左侧:数据驱动的原生表格(绑定右侧行合计值) -->
<!-- 左侧:数据驱动的原生表格(绑定右侧行合计值) -->
<div
class=
"left-table"
>
<div
class=
"left-table"
>
<table
class=
"investment-table"
>
<table
class=
"investment-table"
>
<!-- 表头行 -->
<thead>
<tr
style=
"background: #f5f7fa"
>
<td
class=
"first-col"
colspan=
"5"
>
指标名称
</td>
<td>
合计
</td>
</tr>
</thead>
<tbody>
<tbody>
<!-- 计划资金来源(全口径)模块 -->
<!-- 计划资金来源(全口径)模块 -->
<tr>
<tr>
...
@@ -12,9 +19,9 @@
...
@@ -12,9 +19,9 @@
<!-- 调整rowspan:从16改为26 -->
<!-- 调整rowspan:从16改为26 -->
<td
rowspan=
"16"
class=
"second-col"
>
计划投资完成及资金来源
</td>
<td
rowspan=
"16"
class=
"second-col"
>
计划投资完成及资金来源
</td>
<td
rowspan=
"9"
class=
"third-col"
>
计划资金来源(全口径)
</td>
<td
rowspan=
"9"
class=
"third-col"
>
计划资金来源(全口径)
</td>
<td
style=
"height: 48px"
></td>
<td
style=
"height: 48px"
></td>
<td
style=
"height: 48px"
>
合计
</td>
<td
style=
"height: 48px"
>
合计
</td>
<td
style=
"height: 48px"
></td>
<td
style=
"height: 48px"
>
{{
getAllRowsTotal
()
}}
万元
</td>
</tr>
</tr>
<tr>
<tr>
<td
rowspan=
"3"
>
资本金
</td>
<td
rowspan=
"3"
>
资本金
</td>
...
@@ -306,6 +313,15 @@ const handleChange = (row) => {
...
@@ -306,6 +313,15 @@ const handleChange = (row) => {
emitDataChange
(
tableData
.
value
);
// 完整emit所有字段
emitDataChange
(
tableData
.
value
);
// 完整emit所有字段
};
};
// 9. 计算整列合计 - 所有行的合计列相加
const
getAllRowsTotal
=
()
=>
{
if
(
!
tableData
.
value
||
tableData
.
value
.
length
===
0
)
return
"0.00"
;
const
total
=
tableData
.
value
.
reduce
((
sum
,
row
)
=>
{
return
sum
+
(
Number
(
row
.
total
)
||
0
);
},
0
);
return
total
.
toFixed
(
2
);
};
// 合计行样式(保持不变)
// 合计行样式(保持不变)
const
tableCellStyle
=
({
row
})
=>
const
tableCellStyle
=
({
row
})
=>
row
?.
isTotal
?
{
background
:
"#f5f7fa"
,
fontWeight
:
"bold"
}
:
{};
row
?.
isTotal
?
{
background
:
"#f5f7fa"
,
fontWeight
:
"bold"
}
:
{};
...
@@ -348,6 +364,11 @@ onMounted(() => {
...
@@ -348,6 +364,11 @@ onMounted(() => {
word-break
:
break-all
;
word-break
:
break-all
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.investment-table
thead
td
{
height
:
48px
;
font-weight
:
bold
;
background
:
#f5f7fa
;
}
.first-col
{
.first-col
{
font-weight
:
bold
;
font-weight
:
bold
;
background-color
:
#f5f7fa
;
background-color
:
#f5f7fa
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment