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
047dfa94
Commit
047dfa94
authored
Dec 12, 2018
by
snail
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新T17R,T22A,T32F,调整index。js域顺序 以大小排序
parent
ea84be7f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
+16
-6
T17R.js
src/swift/Tags/T17R.js
+1
-1
T22A.js
src/swift/Tags/T22A.js
+12
-4
T32F.js
src/swift/Tags/T32F.js
+3
-1
index.js
src/swift/Tags/index.js
+0
-0
No files found.
src/swift/Tags/T17R.js
View file @
047dfa94
...
@@ -38,7 +38,7 @@ export default class T17R extends Component {
...
@@ -38,7 +38,7 @@ export default class T17R extends Component {
help
=
{
errmsg
.
s1
}
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"
N/Y
"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"
B/L
"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"B"
>
B
<
/Option
>
<
Option
value
=
"B"
>
B
<
/Option
>
<
Option
value
=
"L"
>
L
<
/Option
>
<
Option
value
=
"L"
>
L
<
/Option
>
<
/Select
>
<
/Select
>
...
...
src/swift/Tags/T22A.js
View file @
047dfa94
...
@@ -27,6 +27,13 @@ export default class T22A extends Component
...
@@ -27,6 +27,13 @@ export default class T22A extends Component
let
errmsg
=
value
&&
value
.
length
==
3
?
value
[
2
]:{}
let
errmsg
=
value
&&
value
.
length
==
3
?
value
[
2
]:{}
value
=
value
&&
value
.
length
?
value
[
0
]
:
{}
value
=
value
&&
value
.
length
?
value
[
0
]
:
{}
let
Purpose
=
[
'ACNF'
,
'ADVI'
,
'ISSU'
]
if
(
this
.
props
.
mty
==
'mt300'
)
Purpose
=
[
'AMND'
,
'CANC'
,
'DUPL'
,
'EXOP'
,
'NEWT'
]
if
(
this
.
props
.
mty
==
'mt306'
)
Purpose
=
[
'AMND'
,
'CANC'
,
'NEWT'
]
if
(
this
.
props
.
mty
==
'mt320'
||
this
.
props
.
mty
==
'mt360'
||
this
.
props
.
mty
==
'mt620'
)
Purpose
=
[
'AMND'
,
'CANC'
,
'DUPL'
,
'NEWT'
]
return
(
<
Row
>
return
(
<
Row
>
<
Col
span
=
{
5
}
>
<
Col
span
=
{
5
}
>
<
FormItem
<
FormItem
...
@@ -41,10 +48,11 @@ export default class T22A extends Component
...
@@ -41,10 +48,11 @@ export default class T22A extends Component
optionFilterProp
=
"children"
optionFilterProp
=
"children"
notFoundContent
=
"Wrong Code"
notFoundContent
=
"Wrong Code"
style
=
{{
width
:
"100%"
}}
value
=
{
value
.
s1
}
onChange
=
{
val
=>
this
.
onChange
(
val
)}
>
style
=
{{
width
:
"100%"
}}
value
=
{
value
.
s1
}
onChange
=
{
val
=>
this
.
onChange
(
val
)}
>
<
Option
value
=
"ACNF"
>
ACNF
<
/Option
>
{
<
Option
value
=
"ADVI"
>
ADVI
<
/Option
>
Purpose
.
map
(
function
(
item
)
{
<
Option
value
=
"ISSU"
>
ISSU
<
/Option
>
return
<
Option
value
=
{
item
}
key
=
{
item
}
>
{
item
}
<
/Option
>
})
}
<
/Select
>
<
/Select
>
<
/FormItem
>
<
/FormItem
>
<
/Col
>
<
/Col
>
...
...
src/swift/Tags/T32F.js
View file @
047dfa94
...
@@ -30,7 +30,8 @@ export default class T32F extends Component {
...
@@ -30,7 +30,8 @@ export default class T32F extends Component {
this
.
keys
.
forEach
(
i
=>
{
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
});
let
mval
=
`
${
obj
.
s1
||
''
}${
obj
.
s2
||
''
}
`
let
temp
=
FormatAmount
(
obj
.
s2
);
let
mval
=
`
${
obj
.
s1
||
''
}${
temp
||
''
}
`
this
.
props
.
onValue
([
obj
,
mval
])
this
.
props
.
onValue
([
obj
,
mval
])
}
}
...
@@ -43,6 +44,7 @@ export default class T32F extends Component {
...
@@ -43,6 +44,7 @@ export default class T32F extends Component {
value
=
value
&&
value
.
length
?
value
[
0
]
:
{}
value
=
value
&&
value
.
length
?
value
[
0
]
:
{}
return
(
<
Row
>
return
(
<
Row
>
<
Col
style
=
{{
"minWidth"
:
'100px'
}}
span
=
{
3
}
>
<
Col
style
=
{{
"minWidth"
:
'100px'
}}
span
=
{
3
}
>
<
FormItem
<
FormItem
...
...
src/swift/Tags/index.js
View file @
047dfa94
This diff is collapsed.
Click to expand it.
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