Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
c2c406c5
Commit
c2c406c5
authored
Dec 15, 2021
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改台账管理字段保存失败问题
parent
2565e509
Pipeline
#40255
passed with stages
in 39 minutes 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
editorModal.jsx
src/pages/platformCenter/standingBook/editorModal.jsx
+19
-1
No files found.
src/pages/platformCenter/standingBook/editorModal.jsx
View file @
c2c406c5
...
...
@@ -75,10 +75,28 @@ const AddModal = props => {
if
(
validate
)
{
setLoading
(
true
);
let
obj
=
form
.
getFieldsValue
();
console
.
log
(
obj
,
'obj'
);
console
.
log
(
inputValue
,
'inputValue'
);
const
{
AddFields
,
EditFields
,
Fields
,
MobileFields
,
SearchFields
,
WebFields
,
}
=
inputValue
;
let
fieldsObj
=
{
AddFields
,
EditFields
,
Fields
,
MobileFields
,
SearchFields
,
WebFields
,
};
let
data
=
type
==
'add'
?
{
...
obj
,
...
inputValue
,
Order
:
maxLength
}
:
{
...
obj
,
Order
,
ID
:
formObj
.
ID
};
:
{
...
obj
,
Order
,
...
fieldsObj
,
ID
:
formObj
.
ID
};
GetCMLedger_OperateLedger
(
data
)
.
then
(
res
=>
{
setLoading
(
false
);
...
...
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