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
52e55442
Commit
52e55442
authored
Dec 10, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
6065f9d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
fundPlanEdit.vue
src/views/report/project/components/fundPlanEdit.vue
+10
-10
fundPlanInfo.vue
src/views/report/project/components/fundPlanInfo.vue
+10
-10
No files found.
src/views/report/project/components/fundPlanEdit.vue
View file @
52e55442
...
@@ -18,22 +18,22 @@
...
@@ -18,22 +18,22 @@
<div>
年度
</div>
<div>
年度
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<a-col
:span=
"
5
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第一年
</div>
<div>
第一年
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<a-col
:span=
"
5
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第二年
</div>
<div>
第二年
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<a-col
:span=
"
5
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第三年
</div>
<div>
第三年
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"3"
class=
"bg-gray"
>
<
!--
<
a-col
:span=
"3"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第四年
</div>
<div>
第四年
</div>
</div>
</div>
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第五年
</div>
<div>
第五年
</div>
</div>
</div>
</a-col>
</a-col>
-->
<a-col
:span=
"3"
class=
"bg-gray"
>
<a-col
:span=
"3"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
合计
</div>
<div>
合计
</div>
...
@@ -54,25 +54,25 @@
...
@@ -54,25 +54,25 @@
<a-col
:span=
"6"
style=
"text-align: right;"
>
<a-col
:span=
"6"
style=
"text-align: right;"
>
<div
class=
"special-middle"
>
{{
item
.
fundName
}}
</div>
<div
class=
"special-middle"
>
{{
item
.
fundName
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
>
<a-col
:span=
"
5
"
>
<a-form-model-item
v-if=
"!invisibleYearValue1.includes(index)"
:prop=
"'fundPlan.' + index + '.yearValue1'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisibleYearValue1.includes(index)"
:prop=
"'fundPlan.' + index + '.yearValue1'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.yearValue1"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.yearValue1"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
<div
class=
"special-middle"
v-else
>
{{
parseFloat
(
item
.
yearValue1
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
v-else
>
{{
parseFloat
(
item
.
yearValue1
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
>
<a-col
:span=
"
5
"
>
<a-form-model-item
v-if=
"!invisibleYearValue2.includes(index)"
:prop=
"'fundPlan.' + index + '.yearValue2'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisibleYearValue2.includes(index)"
:prop=
"'fundPlan.' + index + '.yearValue2'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.yearValue2"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.yearValue2"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
<div
class=
"special-middle"
v-else
>
{{
parseFloat
(
item
.
yearValue2
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
v-else
>
{{
parseFloat
(
item
.
yearValue2
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
>
<a-col
:span=
"
5
"
>
<a-form-model-item
v-if=
"!invisibleYearValue3.includes(index)"
:prop=
"'fundPlan.' + index + '.yearValue3'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisibleYearValue3.includes(index)"
:prop=
"'fundPlan.' + index + '.yearValue3'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.yearValue3"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.yearValue3"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
<div
class=
"special-middle"
v-else
>
{{
parseFloat
(
item
.
yearValue3
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
v-else
>
{{
parseFloat
(
item
.
yearValue3
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"3"
>
<
!--
<
a-col
:span=
"3"
>
<a-form-model-item
v-if=
"!invisibleYearValue4.includes(index)"
:prop=
"'fundPlan.' + index + '.yearValue4'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisibleYearValue4.includes(index)"
:prop=
"'fundPlan.' + index + '.yearValue4'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.yearValue4"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.yearValue4"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
<a-input-number
v-model=
"item.yearValue5"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.yearValue5"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
<div
class=
"special-middle"
v-else
>
{{
parseFloat
(
item
.
yearValue5
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
v-else
>
{{
parseFloat
(
item
.
yearValue5
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
-->
<a-col
:span=
"3"
>
<a-col
:span=
"3"
>
<a-form-model-item
v-if=
"!invisibleTotalAmount.includes(index)"
:prop=
"'fundPlan.' + index + '.totalAmount'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisibleTotalAmount.includes(index)"
:prop=
"'fundPlan.' + index + '.totalAmount'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.totalAmount"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.totalAmount"
@
change=
"outNumberChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width: 80%"
/>
...
...
src/views/report/project/components/fundPlanInfo.vue
View file @
52e55442
...
@@ -18,22 +18,22 @@
...
@@ -18,22 +18,22 @@
<div>
年度
</div>
<div>
年度
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<a-col
:span=
"
5
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第一年
</div>
<div>
第一年
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<a-col
:span=
"
5
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第二年
</div>
<div>
第二年
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<a-col
:span=
"
5
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第三年
</div>
<div>
第三年
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"3"
class=
"bg-gray"
>
<
!--
<
a-col
:span=
"3"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第四年
</div>
<div>
第四年
</div>
</div>
</div>
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
第五年
</div>
<div>
第五年
</div>
</div>
</div>
</a-col>
</a-col>
-->
<a-col
:span=
"3"
class=
"bg-gray"
>
<a-col
:span=
"3"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
合计
</div>
<div>
合计
</div>
...
@@ -54,21 +54,21 @@
...
@@ -54,21 +54,21 @@
<a-col
:span=
"6"
style=
"text-align: right;"
>
<a-col
:span=
"6"
style=
"text-align: right;"
>
<div
class=
"special-middle"
>
{{
item
.
fundName
}}
</div>
<div
class=
"special-middle"
>
{{
item
.
fundName
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
>
<a-col
:span=
"
5
"
>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue1
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue1
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
>
<a-col
:span=
"
5
"
>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue2
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue2
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
>
<a-col
:span=
"
5
"
>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue3
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue3
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"3"
>
<
!--
<
a-col
:span=
"3"
>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue4
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue4
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"3"
>
<a-col
:span=
"3"
>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue5
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
yearValue5
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
-->
<a-col
:span=
"3"
>
<a-col
:span=
"3"
>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
totalAmount
).
toFixed
(
2
)
}}
</div>
<div
class=
"special-middle"
>
{{
parseFloat
(
item
.
totalAmount
).
toFixed
(
2
)
}}
</div>
</a-col>
</a-col>
...
...
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