Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
shenshaokai
jinfa-platform
Commits
a4ba0c61
Commit
a4ba0c61
authored
Aug 10, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改字段名
parent
c4fd370b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
index.tsx
...action/purchaserEvaluation/unevaluated/evaluate/index.tsx
+1
-1
utils.ts
src/pages/transaction/purchaserEvaluation/utils.ts
+1
-1
index.tsx
...saction/supplierEvaluation/unevaluated/evaluate/index.tsx
+1
-1
No files found.
src/pages/transaction/purchaserEvaluation/unevaluated/evaluate/index.tsx
View file @
a4ba0c61
...
...
@@ -67,7 +67,7 @@ const EvaluateOrder: React.FC = () => {
unevaluatedList
,
});
unevaluatedList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
com
pleteCom
mentStatus
)
{
if
(
item
.
commentStatus
)
{
formActions
.
setFieldState
(
`comments.
${
index
}
.*`
,
(
fieldState
)
=>
{
fieldState
.
editable
=
false
;
});
...
...
src/pages/transaction/purchaserEvaluation/utils.ts
View file @
a4ba0c61
...
...
@@ -29,7 +29,7 @@ export const normalizeUnevaluatedList = (arr: {[key: string]: any}[]) => {
comment
:
undefined
,
// 评价
picture
:
[],
smile
:
undefined
,
// 笑脸
com
pleteCommentStatus
:
item
.
completeC
ommentStatus
,
com
mentStatus
:
item
.
c
ommentStatus
,
};
ret
.
push
(
atom
);
});
...
...
src/pages/transaction/supplierEvaluation/unevaluated/evaluate/index.tsx
View file @
a4ba0c61
...
...
@@ -67,7 +67,7 @@ const EvaluateOrder: React.FC = () => {
unevaluatedList
,
});
unevaluatedList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
com
pleteCom
mentStatus
)
{
if
(
item
.
commentStatus
)
{
formActions
.
setFieldState
(
`comments.
${
index
}
.*`
,
(
fieldState
)
=>
{
fieldState
.
editable
=
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