Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
Project
Project
Details
Activity
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
徐俊
yn-science-front
Commits
a4a8a208
Commit
a4a8a208
authored
Dec 17, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
333
parent
bab4a7eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
budgetEdit.vue
src/views/report/project/components/budgetEdit.vue
+1
-0
projectEdit.vue
src/views/report/project/components/projectEdit.vue
+11
-8
No files found.
src/views/report/project/components/budgetEdit.vue
View file @
a4a8a208
...
@@ -120,6 +120,7 @@ export default {
...
@@ -120,6 +120,7 @@ export default {
//一、资金来源合计
//一、资金来源合计
calTotalFund
()
{
calTotalFund
()
{
this
.
budget
[
0
].
totalBudget
=
this
.
budget
[
0
].
applyFunds
+
this
.
budget
[
0
].
selfFunds
this
.
budget
[
0
].
totalBudget
=
this
.
budget
[
0
].
applyFunds
+
this
.
budget
[
0
].
selfFunds
this
.
$emit
(
'save'
,
[
this
.
budget
[
0
].
totalBudget
,
this
.
budget
[
0
].
applyFunds
])
},
},
//(一)财政资金
//(一)财政资金
calFundFrom
()
{
calFundFrom
()
{
...
...
src/views/report/project/components/projectEdit.vue
View file @
a4a8a208
...
@@ -357,7 +357,8 @@
...
@@ -357,7 +357,8 @@
</a-col>
</a-col>
<a-col
:span=
"20"
>
<a-col
:span=
"20"
>
<a-form-model-item
prop=
"govFunding"
>
<a-form-model-item
prop=
"govFunding"
>
<a-input-number
v-model=
"formData.govFunding"
@
change=
"govFundingChange"
:min=
"0"
:step=
"0.01"
style=
"width: 100px"
/>
<!--
<a-input-number
v-model=
"formData.govFunding"
@
change=
"govFundingChange"
:min=
"0"
:step=
"0.01"
style=
"width: 100px"
/>
-->
{{
formData
.
govFunding
}}
<span>
单位:万元
</span>
<span>
单位:万元
</span>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
...
@@ -531,7 +532,7 @@
...
@@ -531,7 +532,7 @@
</a-row>
</a-row>
<!-- 经费预算 -->
<!-- 经费预算 -->
<budget-edit
:budget
.
sync=
"formData.budget"
/>
<budget-edit
:budget
.
sync=
"formData.budget"
@
save=
"budgetSave"
/>
<a-row
type=
"flex"
>
<a-row
type=
"flex"
>
<a-col
:span=
"24"
style=
"text-align: center;"
>
<a-col
:span=
"24"
style=
"text-align: center;"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
...
@@ -886,12 +887,6 @@ export default {
...
@@ -886,12 +887,6 @@ export default {
this
.
formData
.
projectKPI
.
projDeadline
=
projDeadline
this
.
formData
.
projectKPI
.
projDeadline
=
projDeadline
}
}
},
},
totalFundingChange
()
{
this
.
formData
.
projectKPI
.
totalBudget
=
this
.
formData
.
totalFunding
},
govFundingChange
()
{
this
.
formData
.
projectKPI
.
applyFunds
=
this
.
formData
.
govFunding
},
planSave
(
e
)
{
planSave
(
e
)
{
if
(
!!
e
&&
e
.
length
==
3
)
{
if
(
!!
e
&&
e
.
length
==
3
)
{
this
.
formData
.
projectKPI
.
yearTotal
=
e
[
0
]
this
.
formData
.
projectKPI
.
yearTotal
=
e
[
0
]
...
@@ -899,6 +894,14 @@ export default {
...
@@ -899,6 +894,14 @@ export default {
this
.
formData
.
projectKPI
.
yearSelf
=
e
[
2
]
this
.
formData
.
projectKPI
.
yearSelf
=
e
[
2
]
}
}
},
},
budgetSave
(
e
)
{
if
(
!!
e
&&
e
.
length
==
2
)
{
this
.
formData
.
totalFunding
=
e
[
0
]
this
.
formData
.
govFunding
=
e
[
1
]
this
.
formData
.
projectKPI
.
totalBudget
=
this
.
formData
.
totalFunding
this
.
formData
.
projectKPI
.
applyFunds
=
this
.
formData
.
govFunding
}
},
}
}
}
}
</
script
>
</
script
>
...
...
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