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
fukai
swifteditor
Commits
7e73bcf0
Commit
7e73bcf0
authored
Oct 19, 2023
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改Identifier Code的长度限制从16改成11
parent
699cd3dc
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
280 additions
and
296 deletions
+280
-296
T41F.js
src/swift/Tags/T41F.js
+70
-71
T50C.js
src/swift/Tags/T50C.js
+8
-9
T50G.js
src/swift/Tags/T50G.js
+13
-14
T51A.js
src/swift/Tags/T51A.js
+17
-18
T53A.js
src/swift/Tags/T53A.js
+15
-16
T54A.js
src/swift/Tags/T54A.js
+15
-16
T55A.js
src/swift/Tags/T55A.js
+15
-16
T56A.js
src/swift/Tags/T56A.js
+15
-16
T58A.js
src/swift/Tags/T58A.js
+15
-16
T59A.js
src/swift/Tags/T59A.js
+13
-14
T82A.js
src/swift/Tags/T82A.js
+17
-18
T83A.js
src/swift/Tags/T83A.js
+17
-18
T86A.js
src/swift/Tags/T86A.js
+2
-3
T87A.js
src/swift/Tags/T87A.js
+17
-18
T94H.js
src/swift/Tags/T94H.js
+16
-17
T95P.js
src/swift/Tags/T95P.js
+15
-16
No files found.
src/swift/Tags/T41F.js
View file @
7e73bcf0
import
React
,{
Component
}
from
'react'
import
{
Form
,
Input
,
DatePicker
,
Row
,
Col
,
Button
,
Icon
,
Select
}
from
'antd'
;
import
{
InputSize
,
Currency
}
from
"./Utils"
import
YBIC
from
'./YBIC'
const
FormItem
=
Form
.
Item
;
const
Option
=
Select
.
Option
export
default
class
T41F
extends
Component
{
name
=
'41F'
desp
=
"Available With ... By ..."
pattern
=
""
tno
=
-
1
keys
=
[
1
]
onChange
=
(
index
,
value
)
=>
{
let
obj
=
{};
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
obj
.
s1
this
.
props
.
onValue
([
obj
,
mval
])
}
render
()
{
let
value
=
this
.
props
.
value
let
mval
=
value
&&
value
.
length
?
value
[
1
]
:
''
let
errmsg
=
value
&&
value
.
length
==
3
?
value
[
2
]:{}
value
=
value
&&
value
.
length
?
value
[
0
]
:
{}
return
(
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
1
,
obj
.
bic
)}
/> } maxLength=
{16}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s1} onChange={
(
e
)
=>this.onChange
(
1,e.target.value
)
}/
>
<
/FormItem>
<
/Col>
<
/Row>
)
}
}
\ No newline at end of file
import
React
,{
Component
}
from
'react'
import
{
Form
,
Input
,
DatePicker
,
Row
,
Col
,
Button
,
Icon
,
Select
}
from
'antd'
;
import
{
InputSize
,
Currency
}
from
"./Utils"
import
YBIC
from
'./YBIC'
const
FormItem
=
Form
.
Item
;
const
Option
=
Select
.
Option
export
default
class
T41F
extends
Component
{
name
=
'41F'
desp
=
"Available With ... By ..."
pattern
=
""
tno
=
-
1
keys
=
[
1
]
onChange
=
(
index
,
value
)
=>
{
let
obj
=
{};
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
obj
.
s1
this
.
props
.
onValue
([
obj
,
mval
])
}
render
()
{
let
value
=
this
.
props
.
value
let
mval
=
value
&&
value
.
length
?
value
[
1
]
:
''
let
errmsg
=
value
&&
value
.
length
==
3
?
value
[
2
]:{}
value
=
value
&&
value
.
length
?
value
[
0
]
:
{}
return
(
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
1
,
obj
.
bic
)}
/> } maxLength=
{11}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s1} onChange={
(
e
)
=>this.onChange
(
1,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
)
}
}
src/swift/Tags/T50C.js
View file @
7e73bcf0
...
...
@@ -14,7 +14,7 @@ export default class T51C extends Component
name
=
'51C'
desp
=
"Sending Institution"
pattern
=
""
tno
=
-
1
keys
=
[
1
]
...
...
@@ -25,7 +25,7 @@ export default class T51C extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -33,7 +33,7 @@ export default class T51C extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
obj
.
s1
...
...
@@ -53,18 +53,18 @@ export default class T51C extends Component
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
1
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s1} onChange={
(
e
)
=>this.onChange
(
1,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
1
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s1} onChange={
(
e
)
=>this.onChange
(
1,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T50G.js
View file @
7e73bcf0
...
...
@@ -15,7 +15,7 @@ export default class T50G extends Component
name
=
'50G'
desp
=
"Ordering Customer"
pattern
=
" /34x 4!a2!a2!c[3!c]"
tno
=
-
1
keys
=
[
1
,
2
]
...
...
@@ -26,7 +26,7 @@ export default class T50G extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -34,13 +34,13 @@ export default class T50G extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
// if(obj.s2)
// mval = mval +'/' + obj.s2
// mval = mval +'/' + obj.s2
if
(
obj
.
s2
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s2
}
`
:
obj
.
s2
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -59,35 +59,35 @@ export default class T50G extends Component
<
div
>
<
Row
>
<
Col
style
=
{{
"minWidth"
:
'100px'
}}
span
=
{
16
}
>
<
Col
span
=
{
14
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s1
}
onChange
=
{(
e
)
=>
this
.
onChange
(
1
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s2
}
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
2
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s2} onChange={
(
e
)
=>this.onChange
(
2,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
2
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s2} onChange={
(
e
)
=>this.onChange
(
2,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T51A.js
View file @
7e73bcf0
...
...
@@ -14,7 +14,7 @@ export default class T51A extends Component
name
=
'51A'
desp
=
"Sending Institution"
pattern
=
""
tno
=
-
1
keys
=
[
1
,
2
,
3
]
...
...
@@ -25,7 +25,7 @@ export default class T51A extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -33,13 +33,13 @@ export default class T51A extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
if
(
obj
.
s2
)
mval
=
mval
+
'/'
+
obj
.
s2
mval
=
mval
+
'/'
+
obj
.
s2
if
(
obj
.
s3
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s3
}
`
:
obj
.
s3
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -61,11 +61,11 @@ export default class T51A extends Component
<
Col
span
=
{
10
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"D/C"
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"D/C"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"C"
>
C
<
/Option
>
<
Option
value
=
"D"
>
D
<
/Option
>
...
...
@@ -78,30 +78,30 @@ export default class T51A extends Component
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s2
}
onChange
=
{(
e
)
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s3
}
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T53A.js
View file @
7e73bcf0
...
...
@@ -15,7 +15,7 @@ export default class T53A extends Component
name
=
'53A'
desp
=
"Sender's Correspondent"
pattern
=
""
tno
=
-
1
keys
=
[
1
,
2
,
3
]
...
...
@@ -26,7 +26,7 @@ export default class T53A extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -34,13 +34,13 @@ export default class T53A extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
if
(
obj
.
s2
)
mval
=
mval
+
'/'
+
obj
.
s2
mval
=
mval
+
'/'
+
obj
.
s2
if
(
obj
.
s3
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s3
}
`
:
obj
.
s3
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -62,11 +62,11 @@ export default class T53A extends Component
<
Col
span
=
{
10
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"D/C"
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"D/C"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"C"
>
C
<
/Option
>
<
Option
value
=
"D"
>
D
<
/Option
>
...
...
@@ -79,28 +79,28 @@ export default class T53A extends Component
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s2
}
onChange
=
{(
e
)
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s3
}
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T54A.js
View file @
7e73bcf0
...
...
@@ -15,7 +15,7 @@ export default class T54A extends Component
name
=
'54A'
desp
=
"Receiver's Correspondent"
pattern
=
""
tno
=
-
1
...
...
@@ -27,7 +27,7 @@ export default class T54A extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -35,13 +35,13 @@ export default class T54A extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
if
(
obj
.
s2
)
mval
=
mval
+
'/'
+
obj
.
s2
mval
=
mval
+
'/'
+
obj
.
s2
if
(
obj
.
s3
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s3
}
`
:
obj
.
s3
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -63,11 +63,11 @@ export default class T54A extends Component
<
Col
span
=
{
10
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"D/C"
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"D/C"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"C"
>
C
<
/Option
>
<
Option
value
=
"D"
>
D
<
/Option
>
...
...
@@ -80,28 +80,28 @@ export default class T54A extends Component
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s2
}
onChange
=
{(
e
)
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s3
}
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T55A.js
View file @
7e73bcf0
...
...
@@ -15,7 +15,7 @@ export default class T55A extends Component
name
=
'55A'
desp
=
"Third Reimbursement Institution"
pattern
=
""
tno
=
-
1
...
...
@@ -27,7 +27,7 @@ export default class T55A extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -35,13 +35,13 @@ export default class T55A extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
if
(
obj
.
s2
)
mval
=
mval
+
'/'
+
obj
.
s2
mval
=
mval
+
'/'
+
obj
.
s2
if
(
obj
.
s3
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s3
}
`
:
obj
.
s3
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -63,11 +63,11 @@ export default class T55A extends Component
<
Col
span
=
{
10
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"D/C"
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"D/C"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"C"
>
C
<
/Option
>
<
Option
value
=
"D"
>
D
<
/Option
>
...
...
@@ -80,28 +80,28 @@ export default class T55A extends Component
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s2
}
onChange
=
{(
e
)
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s3
}
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T56A.js
View file @
7e73bcf0
...
...
@@ -13,7 +13,7 @@ export default class T56A extends Component
name
=
'56A'
desp
=
"Intermediary Institution"
pattern
=
""
tno
=
-
1
keys
=
[
1
,
2
,
3
]
...
...
@@ -24,7 +24,7 @@ keys=[1,2,3]
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -32,13 +32,13 @@ keys=[1,2,3]
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
if
(
obj
.
s2
)
mval
=
mval
+
'/'
+
obj
.
s2
mval
=
mval
+
'/'
+
obj
.
s2
if
(
obj
.
s3
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s3
}
`
:
obj
.
s3
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -60,11 +60,11 @@ keys=[1,2,3]
<
Col
span
=
{
10
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"D/C"
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"D/C"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"C"
>
C
<
/Option
>
<
Option
value
=
"D"
>
D
<
/Option
>
...
...
@@ -77,28 +77,28 @@ keys=[1,2,3]
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s2
}
onChange
=
{(
e
)
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s3
}
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T58A.js
View file @
7e73bcf0
...
...
@@ -15,7 +15,7 @@ export default class T58A extends Component
name
=
'58A'
desp
=
"Negotiating Bank"
pattern
=
""
tno
=
-
1
...
...
@@ -27,7 +27,7 @@ export default class T58A extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -35,13 +35,13 @@ export default class T58A extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
if
(
obj
.
s2
)
mval
=
mval
+
'/'
+
obj
.
s2
mval
=
mval
+
'/'
+
obj
.
s2
if
(
obj
.
s3
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s3
}
`
:
obj
.
s3
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -63,11 +63,11 @@ export default class T58A extends Component
<
Col
span
=
{
10
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"D/C"
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"D/C"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"C"
>
C
<
/Option
>
<
Option
value
=
"D"
>
D
<
/Option
>
...
...
@@ -80,28 +80,28 @@ export default class T58A extends Component
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s2
}
onChange
=
{(
e
)
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s3
}
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T59A.js
View file @
7e73bcf0
...
...
@@ -14,7 +14,7 @@ export default class T59A extends Component
name
=
'59A'
desp
=
"Beneficiary Customer"
pattern
=
""
tno
=
-
1
keys
=
[
1
,
2
]
...
...
@@ -25,7 +25,7 @@ export default class T59A extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -33,13 +33,13 @@ export default class T59A extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
// if(obj.s2)
// mval = mval +'/' + obj.s2
// mval = mval +'/' + obj.s2
if
(
obj
.
s2
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s2
}
`
:
obj
.
s2
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -58,35 +58,35 @@ export default class T59A extends Component
<
div
>
<
Row
>
<
Col
style
=
{{
"minWidth"
:
'100px'
}}
span
=
{
16
}
>
<
Col
span
=
{
14
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s1
}
onChange
=
{(
e
)
=>
this
.
onChange
(
1
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s2
}
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
2
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s2} onChange={
(
e
)
=>this.onChange
(
2,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
2
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s2} onChange={
(
e
)
=>this.onChange
(
2,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T82A.js
View file @
7e73bcf0
...
...
@@ -14,7 +14,7 @@ export default class T82A extends Component
name
=
'82A'
desp
=
"Party A"
pattern
=
" [/1!a][/34x] 4!a2!a2!c[3!c]"
tno
=
-
1
keys
=
[
1
,
2
,
3
]
...
...
@@ -25,7 +25,7 @@ export default class T82A extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -33,13 +33,13 @@ export default class T82A extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
if
(
obj
.
s2
)
mval
=
mval
+
'/'
+
obj
.
s2
mval
=
mval
+
'/'
+
obj
.
s2
if
(
obj
.
s3
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s3
}
`
:
obj
.
s3
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -61,11 +61,11 @@ export default class T82A extends Component
<
Col
span
=
{
10
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"D/C"
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"D/C"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"C"
>
C
<
/Option
>
<
Option
value
=
"D"
>
D
<
/Option
>
...
...
@@ -78,30 +78,30 @@ export default class T82A extends Component
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s2
}
onChange
=
{(
e
)
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s3
}
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T83A.js
View file @
7e73bcf0
...
...
@@ -14,7 +14,7 @@ export default class T83A extends Component
name
=
'83A'
desp
=
"Party A"
pattern
=
" [/1!a][/34x] 4!a2!a2!c[3!c]"
tno
=
-
1
keys
=
[
1
,
2
,
3
]
...
...
@@ -25,7 +25,7 @@ export default class T83A extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -33,13 +33,13 @@ export default class T83A extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
if
(
obj
.
s2
)
mval
=
mval
+
'/'
+
obj
.
s2
mval
=
mval
+
'/'
+
obj
.
s2
if
(
obj
.
s3
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s3
}
`
:
obj
.
s3
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -61,11 +61,11 @@ export default class T83A extends Component
<
Col
span
=
{
10
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"D/C"
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"D/C"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"C"
>
C
<
/Option
>
<
Option
value
=
"D"
>
D
<
/Option
>
...
...
@@ -78,30 +78,30 @@ export default class T83A extends Component
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s2
}
onChange
=
{(
e
)
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s3
}
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T86A.js
View file @
7e73bcf0
...
...
@@ -91,11 +91,11 @@ export default class T86A extends Component {
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/>} maxLength=
{1
6
}
style={{ imeMode: 'disabled' }} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=> this.onChange
(
3, e.target.value
)
} /
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/>} maxLength=
{1
1
}
style={{ imeMode: 'disabled' }} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=> this.onChange
(
3, e.target.value
)
} /
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T87A.js
View file @
7e73bcf0
...
...
@@ -14,7 +14,7 @@ export default class T87A extends Component
name
=
'87A'
desp
=
"Party A"
pattern
=
" [/1!a][/34x] 4!a2!a2!c[3!c]"
tno
=
-
1
keys
=
[
1
,
2
,
3
]
...
...
@@ -25,7 +25,7 @@ export default class T87A extends Component
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -33,13 +33,13 @@ export default class T87A extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
""
if
(
obj
.
s1
)
mval
=
'/'
+
obj
.
s1
mval
=
'/'
+
obj
.
s1
if
(
obj
.
s2
)
mval
=
mval
+
'/'
+
obj
.
s2
mval
=
mval
+
'/'
+
obj
.
s2
if
(
obj
.
s3
)
mval
=
mval
?
`
${
mval
}
\r\n
${
obj
.
s3
}
`
:
obj
.
s3
this
.
props
.
onValue
([
obj
,
mval
])
...
...
@@ -61,11 +61,11 @@ export default class T87A extends Component
<
Col
span
=
{
10
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
label
=
"D/C"
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"D/C"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"C"
>
C
<
/Option
>
<
Option
value
=
"D"
>
D
<
/Option
>
...
...
@@ -78,30 +78,30 @@ export default class T87A extends Component
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
label
=
"Account"
>
<
Input
addonBefore
=
"/"
maxLength
=
{
34
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Account"
value
=
{
value
.
s2
}
onChange
=
{(
e
)
=>
this
.
onChange
(
2
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s3
}
validateStatus
=
{
errmsg
.
s3
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
3
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s3} onChange={
(
e
)
=>this.onChange
(
3,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T94H.js
View file @
7e73bcf0
...
...
@@ -16,15 +16,15 @@ export default class T94H extends Component
tno
=
-
1
keys
=
[
1
,
2
]
keys
=
[
1
,
2
]
onChange
=
(
index
,
value
)
=>
{
let
obj
=
{};
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -32,9 +32,9 @@ export default class T94H extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
`:
${
obj
.
s1
}
//
${
obj
.
s2
}
`
this
.
props
.
onValue
([
obj
,
mval
])
}
...
...
@@ -57,16 +57,16 @@ export default class T94H extends Component
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
<
Select
<
Select
placeholder
=
"Qualifier"
showSearch
allowClear
=
{
true
}
optionFilterProp
=
"children"
notFoundContent
=
"Wrong Code"
style
=
{{
width
:
"100%"
}}
value
=
{
value
.
s1
}
onChange
=
{
val
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"CLEA"
>
EXCH
<
/Option
>
<
Option
value
=
"TRAD"
>
OTCO
<
/Option
>
<
Option
value
=
"SAFE"
>
SAFE
<
/Option
>
...
...
@@ -74,20 +74,20 @@ export default class T94H extends Component
<
/Select
>
<
/FormItem
>
<
/Col
>
<
/Row>
<
/Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s2
}
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
2
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s2} onChange={
(
e
)
=>this.onChange
(
2,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
2
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s2} onChange={
(
e
)
=>this.onChange
(
2,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row>
)
}
}
\ No newline at end of file
}
src/swift/Tags/T95P.js
View file @
7e73bcf0
...
...
@@ -16,15 +16,15 @@ export default class T95P extends Component
tno
=
-
1
keys
=
[
1
,
2
]
keys
=
[
1
,
2
]
onChange
=
(
index
,
value
)
=>
{
let
obj
=
{};
if
(
!
value
)
value
=
""
let
objtemp
=
this
.
props
.
value
objtemp
=
objtemp
&&
objtemp
.
length
?
objtemp
[
0
]
:
{}
objtemp
[
"s"
+
index
]
=
value
;
...
...
@@ -32,9 +32,9 @@ export default class T95P extends Component
this
.
keys
.
forEach
(
i
=>
{
obj
[
's'
+
i
]
=
objtemp
[
's'
+
i
]
});
let
mval
=
`:
${
obj
.
s1
}
//
${
obj
.
s2
}
`
this
.
props
.
onValue
([
obj
,
mval
])
}
...
...
@@ -57,16 +57,16 @@ export default class T95P extends Component
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
<
Select
<
Select
placeholder
=
"Qualifier"
showSearch
allowClear
=
{
true
}
optionFilterProp
=
"children"
notFoundContent
=
"Wrong Code"
style
=
{{
width
:
"100%"
}}
value
=
{
value
.
s1
}
onChange
=
{
val
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"ACOW"
>
ACOW
<
/Option
>
<
Option
value
=
"ALTE"
>
ALTE
<
/Option
>
<
Option
value
=
"BUYR"
>
BUYR
<
/Option
>
...
...
@@ -101,17 +101,17 @@ export default class T95P extends Component
<
/Row
>
<
Col
>
<
FormItem
label
=
"Identifier Code"
label
=
"Identifier Code"
required
=
{
this
.
props
.
status
==
'M'
||
mval
?
'required'
:
null
}
help
=
{
errmsg
.
s2
}
validateStatus
=
{
errmsg
.
s2
?
'error'
:
null
}
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
2
,
obj
.
bic
)}
/> } maxLength=
{1
6
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s2} onChange={
(
e
)
=>this.onChange
(
2,e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
2
,
obj
.
bic
)}
/> } maxLength=
{1
1
}
style={{imeMode:'disabled'}} placeholder="Identifier Code" value={value.s2} onChange={
(
e
)
=>this.onChange
(
2,e.target.value
)
}/
>
<
/FormItem
>
<
/Col
>
<
/Row>
)
}
}
\ No newline at end of file
}
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