明树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
00623987
Commit
00623987
authored
May 25, 2026
by
zhanghan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1111
parent
005dbf0e
Pipeline
#111873
passed with stage
in 18 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
88 deletions
+28
-88
JueceReport.vue
...views/projectManage/addProject/components/JueceReport.vue
+25
-70
useJueceData.js
...iews/projectManage/addProject/composables/useJueceData.js
+3
-18
No files found.
src/views/projectManage/addProject/components/JueceReport.vue
View file @
00623987
...
...
@@ -748,101 +748,57 @@
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<div
class=
"tab-handle"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"addJxjl"
>
新增
</el-button
>
</div>
<el-table
:data=
"
jxjlData
"
:data=
"
[{ label: '净现金流(万元)' }]
"
style=
"width: 100%"
empty-text=
"暂无数据"
border
>
<el-table-column
prop=
"nf"
label=
"年份
"
>
<el-table-column
label=
"年份"
width=
"140"
fixed=
"left
"
>
<
template
#
default=
"scope"
>
<el-input
v-model=
"scope.row.nf"
/>
{{
scope
.
row
.
label
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"je"
label=
"净现金流(万元)"
>
<
template
#
default=
"scope"
>
<el-input
v-model=
"scope.row.je"
:min=
"0"
:max=
"99999999999.99999999"
controls-position=
"right"
/>
<el-table-column
label=
"建设期"
width=
"120"
>
<
template
#
default
>
<el-input
v-model=
"jxjlData[0].je"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"60"
fixed=
"right"
v-for=
"i in 28"
:key=
"'jxjl' + i"
:label=
"'运营期' + i"
width=
"120"
>
<
template
#
default=
"scope"
>
<el-button
link
type=
"danger"
size=
"small"
@
click=
"deleteJxjl(scope.$index)"
>
删除
</el-button
>
<
template
#
default
>
<el-input
v-model=
"jxjlData[i].je"
/>
</
template
>
</el-table-column>
</el-table>
</el-col>
<el-col
:span=
"24"
>
<div
class=
"tab-handle"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"addJlr"
>
新增
</el-button
>
</div>
<el-col
:span=
"24"
style=
"margin-top: 16px"
>
<el-table
:data=
"
jlrData
"
:data=
"
[{ label: '净利润(万元)' }]
"
style=
"width: 100%"
empty-text=
"暂无数据"
border
>
<el-table-column
prop=
"nf"
label=
"年份
"
>
<el-table-column
label=
"年份"
width=
"140"
fixed=
"left
"
>
<
template
#
default=
"scope"
>
<el-input
v-model=
"scope.row.nf"
/>
{{
scope
.
row
.
label
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"je"
label=
"净利润(万元)"
>
<
template
#
default=
"scope"
>
<el-input
v-model=
"scope.row.je"
:min=
"0"
:max=
"99999999999.99999999"
controls-position=
"right"
/>
<el-table-column
label=
"建设期"
width=
"120"
>
<
template
#
default
>
<el-input
v-model=
"jlrData[0].je"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"60"
fixed=
"right"
v-for=
"i in 28"
:key=
"'jlr' + i"
:label=
"'运营期' + i"
width=
"120"
>
<
template
#
default=
"scope"
>
<el-button
link
type=
"danger"
size=
"small"
@
click=
"deleteJlr(scope.$index)"
>
删除
</el-button
>
<
template
#
default
>
<el-input
v-model=
"jlrData[i].je"
/>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -1005,7 +961,6 @@ const {
jcFormData
,
isPreview
,
activeCollapse
,
bhqkData
,
jxjlData
,
jlrData
,
fxglData
,
jcgdxxSums
,
getObjSums
,
addJxjl
,
deleteJxjl
,
addJlr
,
deleteJlr
,
jcSzjList
,
jcDsgjList
,
jcQxgjList
,
jcGdxxData
,
}
=
inject
(
"jcShared"
);
...
...
src/views/projectManage/addProject/composables/useJueceData.js
View file @
00623987
...
...
@@ -530,22 +530,11 @@ export function useJueceData(jcFormData, gdlxListRef) {
]);
// 经济可行性-净现金流
let
jxjlData
=
reactive
([]);
const
addJxjl
=
()
=>
{
jxjlData
.
push
({
nf
:
""
,
je
:
null
});
};
const
deleteJxjl
=
(
index
)
=>
{
jxjlData
.
splice
(
index
,
1
);
};
const
jxjlPeriods
=
[
"建设期"
,
...
Array
.
from
({
length
:
28
},
(
_
,
i
)
=>
`运营期
${
i
+
1
}
`
)];
let
jxjlData
=
reactive
(
jxjlPeriods
.
map
((
nf
)
=>
({
nf
,
je
:
null
})));
// 经济可行性-净利润
let
jlrData
=
reactive
([]);
const
addJlr
=
()
=>
{
jlrData
.
push
({
nf
:
""
,
je
:
null
});
};
const
deleteJlr
=
(
index
)
=>
{
jlrData
.
splice
(
index
,
1
);
};
let
jlrData
=
reactive
(
jxjlPeriods
.
map
((
nf
)
=>
({
nf
,
je
:
null
})));
return
{
jcRadioClick
,
...
...
@@ -625,10 +614,6 @@ export function useJueceData(jcFormData, gdlxListRef) {
deleteRowFile
,
bhqkData
,
jxjlData
,
addJxjl
,
deleteJxjl
,
jlrData
,
addJlr
,
deleteJlr
,
};
}
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