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
90b486fe
Commit
90b486fe
authored
Jan 09, 2025
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(月度): 去掉输出
parent
03b7abc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
monthlyPlanEdit.vue
src/views/monthlyPlan/monthlyPlanEdit/monthlyPlanEdit.vue
+0
-6
tableData.tsx
src/views/monthlyPlan/monthlyPlanEdit/tableData.tsx
+1
-2
No files found.
src/views/monthlyPlan/monthlyPlanEdit/monthlyPlanEdit.vue
View file @
90b486fe
...
@@ -170,7 +170,6 @@
...
@@ -170,7 +170,6 @@
name
:
'合同:'
+
content
.
contrcatName
,
name
:
'合同:'
+
content
.
contrcatName
,
form
:
from
,
form
:
from
,
});
});
console
.
log
(
'222'
,
content
)
setFormData
(
from
[
1
],
content
);
setFormData
(
from
[
1
],
content
);
setFormData
(
from
[
1
],
{
setFormData
(
from
[
1
],
{
accumulatePaymentReserve
:
content
.
accumulatepaymentreserve
,
accumulatePaymentReserve
:
content
.
accumulatepaymentreserve
,
...
@@ -218,12 +217,10 @@
...
@@ -218,12 +217,10 @@
}
}
/* 往表单page页里带入新建合同的数据*/
/* 往表单page页里带入新建合同的数据*/
async
function
handleNew
(
info
:
any
)
{
async
function
handleNew
(
info
:
any
)
{
console
.
log
(
'333'
,
info
);
let
item
=
{};
let
item
=
{};
let
res
=
tabsFormSchema
.
filter
(
let
res
=
tabsFormSchema
.
filter
(
(
item
)
=>
item
.
projectId
==
info
.
projectId
&&
item
.
show
==
true
,
(
item
)
=>
item
.
projectId
==
info
.
projectId
&&
item
.
show
==
true
,
);
);
console
.
log
(
'5555'
,
tabsFormSchema
);
if
(
res
.
length
)
{
if
(
res
.
length
)
{
item
=
res
[
0
];
item
=
res
[
0
];
let
from
=
useForm
(
Object
.
assign
({
schemas
:
subFormSchema
},
baseFormConfig
)
as
FormProps
);
let
from
=
useForm
(
Object
.
assign
({
schemas
:
subFormSchema
},
baseFormConfig
)
as
FormProps
);
...
@@ -387,7 +384,6 @@
...
@@ -387,7 +384,6 @@
}
}
}
}
loadingRef
.
value
=
true
;
loadingRef
.
value
=
true
;
console
.
log
(
'表单'
,
tabsFormSchema
);
formData
.
value
.
engineerConList
=
[];
formData
.
value
.
engineerConList
=
[];
try
{
try
{
let
engineerConListIndex
=
0
;
let
engineerConListIndex
=
0
;
...
@@ -411,8 +407,6 @@
...
@@ -411,8 +407,6 @@
let
contentRes
=
await
getFormData
(
content
.
form
[
1
]);
let
contentRes
=
await
getFormData
(
content
.
form
[
1
]);
objCon
=
deepMerge
(
objCon
,
contentRes
);
objCon
=
deepMerge
(
objCon
,
contentRes
);
console
.
log
(
'表格'
,
formData
.
value
.
engineerConList
);
console
.
log
(
'索引'
,
engineerConListIndex
);
formData
.
value
.
engineerConList
[
engineerConListIndex
].
conList
.
push
(
objCon
);
formData
.
value
.
engineerConList
[
engineerConListIndex
].
conList
.
push
(
objCon
);
}
}
}
}
...
...
src/views/monthlyPlan/monthlyPlanEdit/tableData.tsx
View file @
90b486fe
...
@@ -171,10 +171,9 @@ export const subFormSchema: FormSchema[] = [
...
@@ -171,10 +171,9 @@ export const subFormSchema: FormSchema[] = [
label
:
'上月实付数'
,
label
:
'上月实付数'
,
required
:
true
,
required
:
true
,
component
:
'InputNumber'
,
component
:
'InputNumber'
,
componentProps
:
({
formModel
})
=>
({
componentProps
:
({
formModel
})
=>
({
addonAfter
:
'万元'
,
addonAfter
:
'万元'
,
onChange
:
(
value
)
=>
{
onChange
:
(
value
)
=>
{
console
.
log
(
formModel
.
accumulatePaymentReserve
)
formModel
.
accumulatePayment
=
(
formModel
.
accumulatePaymentReserve
||
0
)
+
value
;
formModel
.
accumulatePayment
=
(
formModel
.
accumulatePaymentReserve
||
0
)
+
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