Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms
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
wuhao
wms
Commits
d9913287
Commit
d9913287
authored
Jul 04, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
b2227693
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Index.jsx
src/pages/craft/Materiel/Index.jsx
+3
-1
fields.js
src/pages/craft/Materiel/fields.js
+1
-1
No files found.
src/pages/craft/Materiel/Index.jsx
View file @
d9913287
...
...
@@ -461,13 +461,15 @@ const Materiel = (props) => {
defaultFields
[
i
].
value
=
null
;
defaultFields
[
i
].
disabled
=
false
;
if
(
i
==
"materieControl"
||
i
==
"serialNumberRuleId"
||
i
==
"labelTemplateId"
||
i
==
"processLineId"
)
{
defaultFields
[
i
].
required
=
false
;
}
if
(
i
==
"issueType"
)
{
defaultFields
[
i
].
value
=
1
;
}
if
(
i
==
"materieTypeId"
)
{
defaultFields
[
i
].
value
=
materieTypeId
;
}
...
...
src/pages/craft/Materiel/fields.js
View file @
d9913287
...
...
@@ -98,7 +98,7 @@ export default {
],
},
issueType
:
{
value
:
null
,
value
:
1
,
type
:
"radio"
,
title
:
"发料类型"
,
name
:
[
"issueType"
],
...
...
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