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
e20e6d47
Commit
e20e6d47
authored
Dec 16, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
4c33d841
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
17 deletions
+23
-17
deviceEdit.vue
src/views/report/project/components/deviceEdit.vue
+3
-3
deviceInfo.vue
src/views/report/project/components/deviceInfo.vue
+11
-11
projectInfo.vue
...iews/report/project/components/keyProject/projectInfo.vue
+1
-2
manufactureEdit.vue
src/views/report/project/components/manufactureEdit.vue
+0
-0
manufactureInfo.vue
src/views/report/project/components/manufactureInfo.vue
+0
-0
projectInfo.vue
src/views/report/project/components/projectInfo.vue
+8
-1
No files found.
src/views/report/project/components/deviceEdit.vue
View file @
e20e6d47
...
...
@@ -142,7 +142,7 @@
<a-row
type=
"flex"
class=
"row_center"
>
<a-col
:span=
"5"
>
<div
class=
"special-middle"
>
<div>
单价5
0
万元及以上购置设备合计
</div>
<div>
单价5万元及以上购置设备合计
</div>
</div>
</a-col>
<a-col
:span=
"2"
>
...
...
@@ -199,7 +199,7 @@
<a-row
type=
"flex"
class=
"row_center"
>
<a-col
:span=
"5"
>
<div
class=
"special-middle"
>
<div>
单价5
0
万元以下购置设备合计
</div>
<div>
单价5万元以下购置设备合计
</div>
</div>
</a-col>
<a-col
:span=
"2"
>
...
...
@@ -371,7 +371,7 @@ export default {
this
.
fiftyUpNumber
=
0
this
.
fiftyDownNumber
=
0
this
.
deviceList
.
forEach
(
e
=>
{
if
(
e
.
unitPrice
>=
5
0
)
{
if
(
e
.
unitPrice
>=
5
)
{
this
.
fiftyUpAmount
+=
e
.
unitPrice
*
e
.
quantity
this
.
fiftyUpNumber
+=
e
.
quantity
}
else
{
...
...
src/views/report/project/components/
equipments
Info.vue
→
src/views/report/project/components/
device
Info.vue
View file @
e20e6d47
...
...
@@ -74,7 +74,7 @@
</div>
</a-col>
</a-row>
<a-row
v-for=
"(item, index) in
equipments"
:key=
"'equipments
' + index"
type=
"flex"
class=
"row_center"
>
<a-row
v-for=
"(item, index) in
deviceList"
:key=
"'deviceList
' + index"
type=
"flex"
class=
"row_center"
>
<a-col
:span=
"1"
>
<div
class=
"special-middle"
>
{{
index
+
1
}}
</div>
</a-col>
...
...
@@ -268,7 +268,7 @@ const Equipment = {
};
export
default
{
name
:
"
Equipment
Info"
,
name
:
"
device
Info"
,
data
()
{
return
{
fiftyUpNumber
:
0
,
...
...
@@ -280,7 +280,7 @@ export default {
};
},
props
:
{
equipments
:
{
deviceList
:
{
type
:
Array
,
default
:
()
=>
{
return
[];
...
...
@@ -295,7 +295,7 @@ export default {
this
.
fiftyDownAmount
=
0.0
;
this
.
fiftyUpNumber
=
0
;
this
.
fiftyDownNumber
=
0
;
this
.
equipments
.
forEach
((
e
)
=>
{
this
.
deviceList
.
forEach
((
e
)
=>
{
if
(
e
.
unitPrice
>=
5
)
{
this
.
fiftyUpAmount
+=
e
.
unitPrice
*
e
.
quantity
;
this
.
fiftyUpNumber
+=
e
.
quantity
;
...
...
@@ -308,20 +308,20 @@ export default {
this
.
totalAmount
=
this
.
fiftyUpAmount
+
this
.
fiftyDownAmount
;
},
outUnitPriceChange
(
index
)
{
this
.
equipments
[
index
].
totalBudget
=
this
.
equipments
[
index
].
unitPrice
*
this
.
equipments
[
index
].
quantity
;
this
.
deviceList
[
index
].
totalBudget
=
this
.
deviceList
[
index
].
unitPrice
*
this
.
deviceList
[
index
].
quantity
;
this
.
calNumberAmount
();
},
outNumberChange
(
index
)
{
this
.
equipments
[
index
].
totalBudget
=
this
.
equipments
[
index
].
unitPrice
*
this
.
equipments
[
index
].
quantity
;
this
.
deviceList
[
index
].
totalBudget
=
this
.
deviceList
[
index
].
unitPrice
*
this
.
deviceList
[
index
].
quantity
;
this
.
calNumberAmount
();
},
},
watch
:
{
equipments
:
{
handler
(
equipments
)
{
if
(
!!
equipments
)
this
.
calNumberAmount
();
deviceList
:
{
handler
(
deviceList
)
{
if
(
!!
deviceList
)
this
.
calNumberAmount
();
},
},
},
...
...
src/views/report/project/components/keyProject/projectInfo.vue
View file @
e20e6d47
...
...
@@ -679,7 +679,6 @@ import cooperativeUnitsInfo from '@/views/report/project/components/cooperativeU
import
participateUnitsInfo
from
'@/views/report/project/components/participateUnitsInfo'
import
budgetInfo
from
'@/views/report/project/components/budgetInfo'
import
fundPlanInfo
from
'@/views/report/project/components/fundPlanInfo'
import
equipmentsInfo
from
'@/views/report/project/components/equipmentsInfo.vue'
import
unitPaymentInfo
from
'@/views/report/project/components/unitPaymentInfo.vue'
import
projectKpiInfo
from
'@/views/report/project/components/projectKpiInfo.vue'
import
projectResearchInfo
from
'@/views/report/project/components/projectResearchInfo'
...
...
@@ -695,7 +694,7 @@ import { toTextarea } from '@/views/utils/common'
export
default
{
components
:
{
projectMemberInfo
,
cooperativeUnitsInfo
,
participateUnitsInfo
,
budgetInfo
,
fundPlanInfo
,
equipmentsInfo
,
unitPaymentInfo
,
projectKpiInfo
,
projectResearchInfo
,
projectSubInfo
,
managementRuleInfo
,
fileInfo
,
AuditList
,
documentView
projectMemberInfo
,
cooperativeUnitsInfo
,
participateUnitsInfo
,
budgetInfo
,
fundPlanInfo
,
unitPaymentInfo
,
projectKpiInfo
,
projectResearchInfo
,
projectSubInfo
,
managementRuleInfo
,
fileInfo
,
AuditList
,
documentView
},
name
:
"ProjectInfo"
,
data
()
{
...
...
src/views/report/project/components/manufactureEdit.vue
View file @
e20e6d47
This diff is collapsed.
Click to expand it.
src/views/report/project/components/manufactureInfo.vue
View file @
e20e6d47
This diff is collapsed.
Click to expand it.
src/views/report/project/components/projectInfo.vue
View file @
e20e6d47
...
...
@@ -498,6 +498,10 @@
<budget-info
:budget
.
sync=
"value.budget"
/>
<!-- 分年度用款计划 -->
<fund-plan-info
:fundPlan
.
sync=
"value.fundPlan"
/>
<!-- 设备费-购置设备预算明细表 -->
<device-info
:deviceList
.
sync=
"formData.deviceList"
/>
<!-- 设备费-试制设备预算明细表 -->
<manufacture-info
:manufactureList
.
sync:=
"formData.manufactureList"
/>
</div>
<div
v-if=
"tabsData[5].isShow"
>
<a-row>
...
...
@@ -515,6 +519,7 @@
</a-col>
</a-row>
</div>
<div
v-if=
"tabsData[6].isShow"
>
<!-- 附件 -->
<file-info
:fileList
.
sync=
"value.fileList"
/>
...
...
@@ -549,6 +554,8 @@ import projectMemberInfo from '@/views/report/project/components/projectMemberIn
import
projectKpiInfo
from
'@/views/report/project/components/projectKpiInfo.vue'
import
budgetInfo
from
'@/views/report/project/components/budgetInfo'
import
fundPlanInfo
from
'@/views/report/project/components/fundPlanInfo'
import
deviceInfo
from
'@/views/report/project/components/deviceInfo'
import
manufactureInfo
from
'@/views/report/project/components/manufactureInfo'
import
projStageGoalsInfo
from
"@/views/report/project/components/keyProject/projStageGoalsInfo"
;
import
projectSubInfo
from
'@/views/report/project/components/projectSubInfo'
import
fileInfo
from
"@/views/report/project/components/fileInfo"
;
...
...
@@ -559,7 +566,7 @@ import { toTextarea } from '@/views/utils/common'
export
default
{
components
:
{
cooperativeUnitsInfo
,
projectMemberInfo
,
projectKpiInfo
,
budgetInfo
,
fundPlanInfo
,
fileInfo
,
documentView
,
AuditList
,
projStageGoalsInfo
,
projectSubInfo
cooperativeUnitsInfo
,
projectMemberInfo
,
projectKpiInfo
,
budgetInfo
,
fundPlanInfo
,
deviceInfo
,
manufactureInfo
,
fileInfo
,
documentView
,
AuditList
,
projStageGoalsInfo
,
projectSubInfo
},
name
:
"ProjectInfo"
,
data
()
{
...
...
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