Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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
紫光云
web-project
Commits
37a826c5
Commit
37a826c5
authored
Nov 21, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(完成): 提交
parent
2f48f71b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
16 deletions
+29
-16
data.tsx
src/views/performance/data.tsx
+27
-16
performanceEdit.vue
src/views/performance/performanceEdit.vue
+2
-0
No files found.
src/views/performance/data.tsx
View file @
37a826c5
...
...
@@ -531,7 +531,7 @@ export function formSchema(year, planType): FormSchema[] {
},
{
field
:
'totalInvestment'
,
label
:
'总投资'
,
label
:
'
立项
总投资'
,
required
:
planType
!=
'承建'
,
show
:
planType
!=
'承建'
,
component
:
'InputNumber'
,
...
...
@@ -541,10 +541,10 @@ export function formSchema(year, planType): FormSchema[] {
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'
contractAmount
'
,
label
:
'
合同总额
'
,
show
:
planType
===
'承建'
,
required
:
planType
==
=
'承建'
,
field
:
'
projectApproval
'
,
label
:
'
实际控制总投资
'
,
required
:
false
,
show
:
planType
!
=
'承建'
,
component
:
'InputNumber'
,
componentProps
:
{
addonAfter
:
'万元'
,
...
...
@@ -552,19 +552,15 @@ export function formSchema(year, planType): FormSchema[] {
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'time'
,
component
:
'RangePicker'
,
label
:
'开竣工时间'
,
required
:
true
,
icon
:
'healthicons:i-schedule-school-date-time-outline'
,
colProps
:
{
span
:
7
,
offset
:
1
},
field
:
'contractAmount'
,
label
:
'合同总额'
,
show
:
planType
===
'承建'
,
required
:
planType
===
'承建'
,
component
:
'InputNumber'
,
componentProps
:
{
picker
:
'month'
,
placeholder
:
[
'开始日期'
,
'结束日期'
],
style
:
{
width
:
'100%'
},
valueFormat
:
'YYYY-MM'
,
format
:
'YYYY-MM'
,
addonAfter
:
'万元'
,
},
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'completionSchedule'
,
...
...
@@ -656,6 +652,21 @@ export function formSchema(year, planType): FormSchema[] {
component
:
'Input'
,
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'time'
,
component
:
'RangePicker'
,
label
:
'开竣工时间'
,
required
:
true
,
icon
:
'healthicons:i-schedule-school-date-time-outline'
,
colProps
:
{
span
:
7
,
offset
:
1
},
componentProps
:
{
picker
:
'month'
,
placeholder
:
[
'开始日期'
,
'结束日期'
],
style
:
{
width
:
'100%'
},
valueFormat
:
'YYYY-MM'
,
format
:
'YYYY-MM'
,
},
},
{
field
:
'contract'
,
label
:
'合同方式'
,
...
...
src/views/performance/performanceEdit.vue
View file @
37a826c5
...
...
@@ -270,6 +270,7 @@
{
field
:
'actualOutputValue'
,
required
:
false
},
{
field
:
'planFunds'
,
required
:
false
},
{
field
:
'actualPay'
,
required
:
false
},
{
field
:
'contract'
,
required
:
false
},
]);
}
else
{
updateSchema
([
...
...
@@ -291,6 +292,7 @@
{
field
:
'actualOutputValue'
,
required
:
true
},
{
field
:
'planFunds'
,
required
:
true
},
{
field
:
'actualPay'
,
required
:
true
},
{
field
:
'contract'
,
required
:
planType
.
value
===
'承建'
},
]);
}
});
...
...
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