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
7ffa33eb
Commit
7ffa33eb
authored
Dec 17, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
3cf74ca6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
25 deletions
+31
-25
projectInfo.vue
src/views/report/project/components/projectInfo.vue
+4
-1
unitPaymentEdit.vue
src/views/report/project/components/unitPaymentEdit.vue
+8
-8
unitPaymentInfo.vue
src/views/report/project/components/unitPaymentInfo.vue
+19
-16
No files found.
src/views/report/project/components/projectInfo.vue
View file @
7ffa33eb
...
@@ -501,6 +501,8 @@
...
@@ -501,6 +501,8 @@
<budget-info
:budget
.
sync=
"value.budget"
/>
<budget-info
:budget
.
sync=
"value.budget"
/>
<!-- 分年度用款计划 -->
<!-- 分年度用款计划 -->
<fund-plan-info
:fundPlan
.
sync=
"value.fundPlan"
/>
<fund-plan-info
:fundPlan
.
sync=
"value.fundPlan"
/>
<!-- 项目承担单位研究资金支出预算明细表 -->
<unit-payment-info
:unitPayment
.
sync=
"value.unitPayment"
/>
<!-- 设备费-购置设备预算明细表 -->
<!-- 设备费-购置设备预算明细表 -->
<device-info
:deviceList
.
sync=
"value.deviceList"
/>
<device-info
:deviceList
.
sync=
"value.deviceList"
/>
<!-- 设备费-试制设备预算明细表 -->
<!-- 设备费-试制设备预算明细表 -->
...
@@ -558,6 +560,7 @@ import projectMemberInfo from '@/views/report/project/components/projectMemberIn
...
@@ -558,6 +560,7 @@ import projectMemberInfo from '@/views/report/project/components/projectMemberIn
import
projectKpiInfo
from
'@/views/report/project/components/projectKpiInfo.vue'
import
projectKpiInfo
from
'@/views/report/project/components/projectKpiInfo.vue'
import
budgetInfo
from
'@/views/report/project/components/budgetInfo'
import
budgetInfo
from
'@/views/report/project/components/budgetInfo'
import
fundPlanInfo
from
'@/views/report/project/components/fundPlanInfo'
import
fundPlanInfo
from
'@/views/report/project/components/fundPlanInfo'
import
unitPaymentInfo
from
'@/views/report/project/components/unitPaymentInfo'
import
deviceInfo
from
'@/views/report/project/components/deviceInfo'
import
deviceInfo
from
'@/views/report/project/components/deviceInfo'
import
manufactureInfo
from
'@/views/report/project/components/manufactureInfo'
import
manufactureInfo
from
'@/views/report/project/components/manufactureInfo'
import
projStageGoalsInfo
from
"@/views/report/project/components/projStageGoalsInfo"
;
import
projStageGoalsInfo
from
"@/views/report/project/components/projStageGoalsInfo"
;
...
@@ -570,7 +573,7 @@ import { toTextarea } from '@/views/utils/common'
...
@@ -570,7 +573,7 @@ import { toTextarea } from '@/views/utils/common'
export
default
{
export
default
{
components
:
{
components
:
{
cooperativeUnitsInfo
,
projectMemberInfo
,
projectKpiInfo
,
budgetInfo
,
fundPlanInfo
,
deviceInfo
,
manufactureInfo
,
fileInfo
,
documentView
,
AuditList
,
projStageGoalsInfo
,
projectSubInfo
,
participateUnitsInfo
cooperativeUnitsInfo
,
projectMemberInfo
,
projectKpiInfo
,
budgetInfo
,
fundPlanInfo
,
unitPaymentInfo
,
deviceInfo
,
manufactureInfo
,
fileInfo
,
documentView
,
AuditList
,
projStageGoalsInfo
,
projectSubInfo
,
participateUnitsInfo
},
},
name
:
"ProjectInfo"
,
name
:
"ProjectInfo"
,
data
()
{
data
()
{
...
...
src/views/report/project/components/unitPaymentEdit.vue
View file @
7ffa33eb
...
@@ -13,17 +13,17 @@
...
@@ -13,17 +13,17 @@
<div>
序号
</div>
<div>
序号
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<a-col
:span=
"
4
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
单位名称
</div>
<div>
单位名称
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<
!--
<
a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
单位国别
</div>
<div>
单位国别
</div>
</div>
</div>
</a-col>
</a-col>
-->
<a-col
:span=
"
2
"
class=
"bg-gray"
>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
统一社会信用代码
</div>
<div>
统一社会信用代码
</div>
</div>
</div>
...
@@ -72,17 +72,17 @@
...
@@ -72,17 +72,17 @@
<a-col
:span=
"2"
>
<a-col
:span=
"2"
>
<div
class=
"special-middle"
><a-button
icon=
"close"
type=
"primary"
shape=
"circle"
size=
"small"
@
click=
"deleteUnitPayment(item)"
></a-button>
{{
index
+
1
}}
</div>
<div
class=
"special-middle"
><a-button
icon=
"close"
type=
"primary"
shape=
"circle"
size=
"small"
@
click=
"deleteUnitPayment(item)"
></a-button>
{{
index
+
1
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
>
<a-col
:span=
"
4
"
>
<a-form-model-item
:prop=
"'unitPayment.' + index + '.unitName'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-form-model-item
:prop=
"'unitPayment.' + index + '.unitName'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.unitName"
:maxLength=
"100"
style=
"width: 90%;"
/>
<a-input
v-model=
"item.unitName"
:maxLength=
"100"
style=
"width: 90%;"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"2"
>
<
!--
<
a-col
:span=
"2"
>
<a-form-model-item
:prop=
"'unitPayment.' + index + '.countryName'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-form-model-item
:prop=
"'unitPayment.' + index + '.countryName'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.countryName"
:maxLength=
"100"
style=
"width: 90%;"
/>
<a-input
v-model=
"item.countryName"
:maxLength=
"100"
style=
"width: 90%;"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
-->
<a-col
:span=
"
2
"
>
<a-col
:span=
"
3
"
>
<a-form-model-item
:prop=
"'unitPayment.' + index + '.socialCode'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-form-model-item
:prop=
"'unitPayment.' + index + '.socialCode'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.socialCode"
:maxLength=
"50"
style=
"width: 90%;"
/>
<a-input
v-model=
"item.socialCode"
:maxLength=
"50"
style=
"width: 90%;"
/>
</a-form-model-item>
</a-form-model-item>
...
...
src/views/report/project/components/unitPaymentInfo.vue
View file @
7ffa33eb
...
@@ -14,17 +14,17 @@
...
@@ -14,17 +14,17 @@
<div>
序号
</div>
<div>
序号
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<a-col
:span=
"
4
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
单位名称
</div>
<div>
单位名称
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<
!--
<
a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
单位国别
</div>
<div>
单位国别
</div>
</div>
</div>
</a-col>
</a-col>
-->
<a-col
:span=
"
2
"
class=
"bg-gray"
>
<a-col
:span=
"
3
"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
统一社会信用代码
</div>
<div>
统一社会信用代码
</div>
</div>
</div>
...
@@ -73,13 +73,13 @@
...
@@ -73,13 +73,13 @@
<a-col
:span=
"2"
>
<a-col
:span=
"2"
>
<div
class=
"special-middle"
>
{{
index
+
1
}}
</div>
<div
class=
"special-middle"
>
{{
index
+
1
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"
3
"
>
<a-col
:span=
"
4
"
>
<div
class=
"special-middle"
>
{{
item
.
unitName
}}
</div>
<div
class=
"special-middle"
>
{{
item
.
unitName
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"2"
>
<
!--
<
a-col
:span=
"2"
>
<div
class=
"special-middle"
>
{{
item
.
countryName
}}
</div>
<div
class=
"special-middle"
>
{{
item
.
countryName
}}
</div>
</a-col>
</a-col>
-->
<a-col
:span=
"
2
"
>
<a-col
:span=
"
3
"
>
<div
class=
"special-middle"
>
{{
item
.
socialCode
}}
</div>
<div
class=
"special-middle"
>
{{
item
.
socialCode
}}
</div>
</a-col>
</a-col>
<a-col
:span=
"2"
>
<a-col
:span=
"2"
>
...
@@ -167,6 +167,8 @@ export default {
...
@@ -167,6 +167,8 @@ export default {
};
};
},
},
created
()
{
created
()
{
if
(
unitPayment
)
this
.
calTotalAmount
()
},
},
methods
:
{
methods
:
{
outAmountChange
(
index
)
{
outAmountChange
(
index
)
{
...
@@ -195,13 +197,13 @@ export default {
...
@@ -195,13 +197,13 @@ export default {
})
})
}
}
},
},
watch
:
{
//
watch: {
unitPayment
:
{
//
unitPayment: {
handler
(
unitPayment
)
{
//
handler (unitPayment) {
if
(
!!
unitPayment
)
//
if (!!unitPayment)
this
.
calTotalAmount
()
//
this.calTotalAmount()
},
//
},
},
//
},
}
//
}
};
};
</
script
>
</
script
>
\ No newline at end of file
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