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
200a9754
Commit
200a9754
authored
Nov 29, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.yiboshi.com/XuJun/yn-science-front
parents
cb8e2abf
ef40cc57
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
10 deletions
+46
-10
budgetEdit.vue
src/views/report/project/components/budgetEdit.vue
+2
-2
equipmentsEdit.vue
src/views/report/project/components/equipmentsEdit.vue
+16
-7
equipmentsInfo.vue
src/views/report/project/components/equipmentsInfo.vue
+0
-0
unitPaymentEdit.vue
src/views/report/project/components/unitPaymentEdit.vue
+17
-1
unitPaymentInfo.vue
src/views/report/project/components/unitPaymentInfo.vue
+11
-0
No files found.
src/views/report/project/components/budgetEdit.vue
View file @
200a9754
...
...
@@ -69,8 +69,8 @@ export default {
data
()
{
return
{
invisibleTotalBudget
:
[],
invisibleApplyFunds
:
[
0
,
3
,
4
],
invisibleSelfFunds
:
[
0
,
3
,
4
],
invisibleApplyFunds
:
[
0
,
2
,
3
,
4
],
invisibleSelfFunds
:
[
0
,
1
,
3
,
4
],
};
},
props
:
{
...
...
src/views/report/project/components/equipmentsEdit.vue
View file @
200a9754
...
...
@@ -90,12 +90,12 @@
</a-col>
<a-col
:span=
"2"
>
<a-form-model-item
:prop=
"'equipments.' + index + '.unitPrice'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.unitPrice"
@
change=
"outUnitPriceChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width:
8
0%"
/>
<a-input-number
v-model=
"item.unitPrice"
@
change=
"outUnitPriceChange(index)"
:min=
"0"
:step=
"0.01"
style=
"width:
9
0%"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"1"
>
<a-form-model-item
:prop=
"'equipments.' + index + '.quantity'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.quantity"
@
change=
"outNumberChange(index)"
:min=
"1"
:step=
"1"
style=
"width:
8
0%"
/>
<a-input-number
v-model=
"item.quantity"
@
change=
"outNumberChange(index)"
:min=
"1"
:step=
"1"
style=
"width:
9
0%"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"2"
>
...
...
@@ -114,27 +114,27 @@
</a-form-model-item>
</a-col>
<a-col
:span=
"2"
>
<a-form-model-item
:prop=
"'equipments.' + index + '.equipmentType'"
:rules=
"
{required:
tru
e, message: '*', trigger: 'blur',}">
<a-form-model-item
:prop=
"'equipments.' + index + '.equipmentType'"
:rules=
"
{required:
fals
e, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.equipmentType"
:maxLength=
"100"
style=
"width: 90%;"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"2"
>
<a-form-model-item
:prop=
"'equipments.' + index + '.manufacturer'"
:rules=
"
{required:
tru
e, message: '*', trigger: 'blur',}">
<a-form-model-item
:prop=
"'equipments.' + index + '.manufacturer'"
:rules=
"
{required:
fals
e, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.manufacturer"
:maxLength=
"100"
style=
"width: 90%;"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"2"
>
<a-form-model-item
:prop=
"'equipments.' + index + '.specificationType'"
:rules=
"
{required:
tru
e, message: '*', trigger: 'blur',}">
<a-form-model-item
:prop=
"'equipments.' + index + '.specificationType'"
:rules=
"
{required:
fals
e, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.specificationType"
:maxLength=
"100"
style=
"width: 90%;"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"2"
>
<a-form-model-item
:prop=
"'equipments.' + index + '.sharedScope'"
:rules=
"
{required:
tru
e, message: '*', trigger: 'blur',}">
<a-form-model-item
:prop=
"'equipments.' + index + '.sharedScope'"
:rules=
"
{required:
fals
e, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.sharedScope"
:maxLength=
"100"
style=
"width: 90%;"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"2"
>
<a-form-model-item
:prop=
"'equipments.' + index + '.useFrom'"
:rules=
"
{required:
tru
e, message: '*', trigger: 'blur',}">
<a-form-model-item
:prop=
"'equipments.' + index + '.useFrom'"
:rules=
"
{required:
fals
e, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.useFrom"
:maxLength=
"200"
style=
"width: 90%;"
/>
</a-form-model-item>
</a-col>
...
...
@@ -342,5 +342,13 @@ export default {
this
.
calNumberAmount
()
},
},
watch
:
{
equipments
:
{
handler
(
equipments
)
{
if
(
!!
equipments
)
this
.
calNumberAmount
()
},
},
}
};
</
script
>
\ No newline at end of file
src/views/report/project/components/equipmentsInfo.vue
View file @
200a9754
This diff is collapsed.
Click to expand it.
src/views/report/project/components/unitPaymentEdit.vue
View file @
200a9754
...
...
@@ -89,7 +89,7 @@
</a-col>
<a-col
:span=
"2"
>
<a-form-model-item
:prop=
"'unitPayment.' + index + '.unitRole'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<
a-input
v-model=
"item.unitRole"
:maxLength=
"100"
style=
"width: 90%;
"
/>
<
para-select
v-model=
"item.unitRole"
:typeId=
"65"
:isAll=
"true"
:width=
"110
"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"4"
>
...
...
@@ -151,6 +151,8 @@
</
template
>
<
script
>
import
paraSelect
from
'@/views/components/common/paraSelect'
const
Payment
=
{
id
:
""
,
objectId
:
""
,
...
...
@@ -168,6 +170,9 @@ const Payment = {
export
default
{
name
:
"UnitPaymentEdit"
,
components
:
{
paraSelect
},
props
:
{
unitPayment
:
{
type
:
Array
,
...
...
@@ -184,6 +189,8 @@ export default {
TselfAmount
:
0.00
,
};
},
created
()
{
},
methods
:
{
addArrey
()
{
this
.
unitPayment
.
push
(
Object
.
assign
({
...
Payment
}))
...
...
@@ -220,5 +227,13 @@ export default {
})
}
},
watch
:
{
unitPayment
:
{
handler
(
unitPayment
)
{
if
(
!!
unitPayment
)
this
.
calTotalAmount
()
},
},
}
};
</
script
>
\ No newline at end of file
src/views/report/project/components/unitPaymentInfo.vue
View file @
200a9754
...
...
@@ -166,6 +166,8 @@ export default {
TselfAmount
:
0.00
,
};
},
created
()
{
},
methods
:
{
outAmountChange
(
index
)
{
this
.
unitPayment
[
index
].
totalAmount
=
this
.
unitPayment
[
index
].
fundAmount
+
this
.
unitPayment
[
index
].
selfAmount
...
...
@@ -193,5 +195,13 @@ export default {
})
}
},
watch
:
{
unitPayment
:
{
handler
(
unitPayment
)
{
if
(
!!
unitPayment
)
this
.
calTotalAmount
()
},
},
}
};
</
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