Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
Overview
Overview
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
daixuan
swifteditor
Commits
fd5b4733
Commit
fd5b4733
authored
Oct 25, 2021
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复23、24E错误
parent
50bc45a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
index.js
src/swift/Tags/T23/index.js
+1
-1
T24E.js
src/swift/Tags/T24E.js
+11
-2
No files found.
src/swift/Tags/T23/index.js
View file @
fd5b4733
...
...
@@ -16,7 +16,7 @@ export default function(props)
let
{
mty
}
=
props
if
(
mty
==
'mt752'
)
return
<
T23_1
{...
props
}
SELCode
=
{
code1
}
/
>
if
(
mty
==
'mt760'
||
mty
==
'mt767'
)
if
(
mty
==
'mt767'
)
return
<
T23_1
{...
props
}
SELCode
=
{
code2
}
/
>
if
(
mty
==
'mt305'
)
return
<
T23_305
{...
props
}
/
>
...
...
src/swift/Tags/T24E.js
View file @
fd5b4733
...
...
@@ -34,6 +34,10 @@ export default class T24E extends Component
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
if
(
obj
.
s1
!=
'COUR'
&&
obj
.
s1
!=
'OTHR'
){
obj
.
s2
=
""
}
let
mval
=
`
${
obj
.
s1
}
`
if
(
obj
.
s2
)
...
...
@@ -74,11 +78,16 @@ export default class T24E extends Component
<
Col
style
=
{{
"minWidth"
:
'350px'
}}
span
=
{
3
}
>
<
FormItem
label
=
"Additional Information"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
required
=
{
false
}
help
=
{
errmsg
.
s2
}
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
>
<
Input
addonBefore
=
"/"
value
=
{
value
.
s2
}
onChange
=
{
e
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
maxLength
=
{
35
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Additional Information"
/>
{
value
.
s1
==
'COUR'
||
value
.
s1
==
'OTHR'
?
<
Input
addonBefore
=
"/"
value
=
{
value
.
s2
}
onChange
=
{
e
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
maxLength
=
{
35
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Additional Information"
/>
:
<
p
>
Empty
Value
<
/p
>
}
<
/FormItem
>
<
/Col
>
...
...
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