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
6b76cc70
Commit
6b76cc70
authored
Oct 18, 2023
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MT760中39D换成39F
parent
97bf6b6c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
4 deletions
+52
-4
MT760.js
src/swift/MT/MT760.js
+4
-4
TagRegMap.js
src/swift/TagRegMap.js
+1
-0
T39F.js
src/swift/Tags/T39F.js
+45
-0
index.js
src/swift/Tags/index.js
+2
-0
No files found.
src/swift/MT/MT760.js
View file @
6b76cc70
...
@@ -33,7 +33,7 @@ const Tags = [
...
@@ -33,7 +33,7 @@ const Tags = [
{
tag
:
"23"
,
status
:
O
,
tno
:
19
,
letter
:[],
label
:
"Advising Bank Reference"
},
{
tag
:
"23"
,
status
:
O
,
tno
:
19
,
letter
:[],
label
:
"Advising Bank Reference"
},
{
tag
:
"57A"
,
status
:
O
,
tno
:
20
,
letter
:[
"57A"
,
"57D"
],
label
:
"'Advise Through' Bank"
},
{
tag
:
"57A"
,
status
:
O
,
tno
:
20
,
letter
:[
"57A"
,
"57D"
],
label
:
"'Advise Through' Bank"
},
{
tag
:
"32B"
,
status
:
M
,
tno
:
21
,
letter
:[],
label
:
"Undertaking Amount"
},
{
tag
:
"32B"
,
status
:
M
,
tno
:
21
,
letter
:[],
label
:
"Undertaking Amount"
},
{
tag
:
"39
D"
,
status
:
O
,
tno
:
22
,
letter
:[],
label
:
"Additional Amount Information
"
},
{
tag
:
"39
F"
,
status
:
O
,
tno
:
22
,
letter
:[],
label
:
"Supplementary Information About Amount
"
},
{
tag
:
"41F"
,
status
:
O
,
tno
:
23
,
letter
:[
"41F"
,
"41G"
],
label
:
"Available With..."
},
{
tag
:
"41F"
,
status
:
O
,
tno
:
23
,
letter
:[
"41F"
,
"41G"
],
label
:
"Available With..."
},
{
tag
:
"71D"
,
status
:
O
,
tno
:
24
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"71D"
,
status
:
O
,
tno
:
24
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
25
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
25
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
...
@@ -69,7 +69,7 @@ const Tags = [
...
@@ -69,7 +69,7 @@ const Tags = [
{
tag
:
"23"
,
status
:
O
,
tno
:
19
,
letter
:[],
label
:
"Advising Bank Reference"
},
{
tag
:
"23"
,
status
:
O
,
tno
:
19
,
letter
:[],
label
:
"Advising Bank Reference"
},
{
tag
:
"57A"
,
status
:
O
,
tno
:
20
,
letter
:[
"57A"
,
"57D"
],
label
:
"'Advise Through' Bank"
},
{
tag
:
"57A"
,
status
:
O
,
tno
:
20
,
letter
:[
"57A"
,
"57D"
],
label
:
"'Advise Through' Bank"
},
{
tag
:
"32B"
,
status
:
M
,
tno
:
21
,
letter
:[],
label
:
"Undertaking Amount"
},
{
tag
:
"32B"
,
status
:
M
,
tno
:
21
,
letter
:[],
label
:
"Undertaking Amount"
},
{
tag
:
"39
D"
,
status
:
O
,
tno
:
22
,
letter
:[],
label
:
"Additional Amount Information
"
},
{
tag
:
"39
F"
,
status
:
O
,
tno
:
22
,
letter
:[],
label
:
"Supplementary Information About Amount
"
},
{
tag
:
"41F"
,
status
:
O
,
tno
:
23
,
letter
:[
"41F"
,
"41G"
],
label
:
"Available With..."
},
{
tag
:
"41F"
,
status
:
O
,
tno
:
23
,
letter
:[
"41F"
,
"41G"
],
label
:
"Available With..."
},
{
tag
:
"71D"
,
status
:
O
,
tno
:
24
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"71D"
,
status
:
O
,
tno
:
24
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
25
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
25
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
...
@@ -103,7 +103,7 @@ const Tags = [
...
@@ -103,7 +103,7 @@ const Tags = [
{
tag
:
"52A"
,
status
:
O
,
tno
:
50
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"52A"
,
status
:
O
,
tno
:
50
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"59"
,
status
:
M
,
tno
:
51
,
letter
:[],
label
:
"Beneficiary"
},
{
tag
:
"59"
,
status
:
M
,
tno
:
51
,
letter
:[],
label
:
"Beneficiary"
},
{
tag
:
"32B"
,
status
:
M
,
tno
:
52
,
letter
:[],
label
:
"Undertaking Amount"
},
{
tag
:
"32B"
,
status
:
M
,
tno
:
52
,
letter
:[],
label
:
"Undertaking Amount"
},
{
tag
:
"39
D"
,
status
:
O
,
tno
:
53
,
letter
:[],
label
:
"Additional Amount Information
"
},
{
tag
:
"39
F"
,
status
:
O
,
tno
:
53
,
letter
:[],
label
:
"Supplementary Information About Amount
"
},
{
tag
:
"41F"
,
status
:
O
,
tno
:
54
,
letter
:[
"41F"
,
"41G"
],
label
:
"Available With..."
},
{
tag
:
"41F"
,
status
:
O
,
tno
:
54
,
letter
:[
"41F"
,
"41G"
],
label
:
"Available With..."
},
{
tag
:
"71D"
,
status
:
O
,
tno
:
55
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"71D"
,
status
:
O
,
tno
:
55
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
56
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
56
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
...
@@ -136,7 +136,7 @@ const Tags = [
...
@@ -136,7 +136,7 @@ const Tags = [
{
tag
:
"52A"
,
status
:
O
,
tno
:
50
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"52A"
,
status
:
O
,
tno
:
50
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"59"
,
status
:
M
,
tno
:
51
,
letter
:[],
label
:
"Beneficiary"
},
{
tag
:
"59"
,
status
:
M
,
tno
:
51
,
letter
:[],
label
:
"Beneficiary"
},
{
tag
:
"32B"
,
status
:
M
,
tno
:
52
,
letter
:[],
label
:
"Undertaking Amount"
},
{
tag
:
"32B"
,
status
:
M
,
tno
:
52
,
letter
:[],
label
:
"Undertaking Amount"
},
{
tag
:
"39
D"
,
status
:
O
,
tno
:
53
,
letter
:[],
label
:
"Additional Amount Information
"
},
{
tag
:
"39
F"
,
status
:
O
,
tno
:
53
,
letter
:[],
label
:
"Supplementary Information About Amount
"
},
{
tag
:
"41F"
,
status
:
O
,
tno
:
54
,
letter
:[
"41F"
,
"41G"
],
label
:
"Available With..."
},
{
tag
:
"41F"
,
status
:
O
,
tno
:
54
,
letter
:[
"41F"
,
"41G"
],
label
:
"Available With..."
},
{
tag
:
"71D"
,
status
:
O
,
tno
:
55
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"71D"
,
status
:
O
,
tno
:
55
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
56
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
56
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
...
...
src/swift/TagRegMap.js
View file @
6b76cc70
...
@@ -427,6 +427,7 @@ T39B:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,13}","line":1,"length
...
@@ -427,6 +427,7 @@ T39B:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,13}","line":1,"length
T15A
:{},
T15A
:{},
T39C
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{0,35}"
,
"line"
:
4
,
"length"
:
35
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T39C
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{0,35}"
,
"line"
:
4
,
"length"
:
35
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T39D
:{
"s1"
:{
"reg"
:
"[
\\
w
\\
.,
\\
-
\\
(
\\
)/
\
u003d
\
u0027
\\
+:
\\
?!
\"
%
\
u0026
\\
*
\\\
u003c
\\\
u003e;
\\
{
\\
s@#]{0,65}"
,
"line"
:
12
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"z"
,
"option"
:
"M"
}},
T39D
:{
"s1"
:{
"reg"
:
"[
\\
w
\\
.,
\\
-
\\
(
\\
)/
\
u003d
\
u0027
\\
+:
\\
?!
\"
%
\
u0026
\\
*
\\\
u003c
\\\
u003e;
\\
{
\\
s@#]{0,65}"
,
"line"
:
12
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"z"
,
"option"
:
"M"
}},
T39F
:{
"s1"
:{
"reg"
:
"[
\\
w
\\
.,
\\
-
\\
(
\\
)/
\
u003d
\
u0027
\\
+:
\\
?!
\"
%
\
u0026
\\
*
\\\
u003c
\\\
u003e;
\\
{
\\
s@#]{0,65}"
,
"line"
:
12
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"z"
,
"option"
:
"M"
}},
T39E
:{
"s1"
:{
"reg"
:
"[
\\
w
\\
.,
\\
-
\\
(
\\
)/
\
u003d
\
u0027
\\
+:
\\
?!
\"
%
\
u0026
\\
*
\\\
u003c
\\\
u003e;
\\
{
\\
s@#]{0,65}"
,
"line"
:
12
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"z"
,
"option"
:
"M"
}},
T39E
:{
"s1"
:{
"reg"
:
"[
\\
w
\\
.,
\\
-
\\
(
\\
)/
\
u003d
\
u0027
\\
+:
\\
?!
\"
%
\
u0026
\\
*
\\\
u003c
\\\
u003e;
\\
{
\\
s@#]{0,65}"
,
"line"
:
12
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"z"
,
"option"
:
"M"
}},
T15B
:{},
T15B
:{},
T15C
:{},
T15C
:{},
...
...
src/swift/Tags/T39F.js
0 → 100644
View file @
6b76cc70
import
React
,{
Component
}
from
'react'
import
{
Form
,
Input
,
DatePicker
,
Row
,
Col
,
Button
,
Icon
,
Select
}
from
'antd'
;
import
TextArea
from
'./ZTextArea'
const
FormItem
=
Form
.
Item
;
export
default
class
T39F
extends
Component
{
name
=
'39F'
desp
=
"Supplementary Information About Amount"
pattern
=
"12*65z"
tno
=
-
1
onChange
=
(
val
)
=>
{
this
.
props
.
onValue
([{
s1
:
val
},
val
])
}
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
span
=
{
24
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
<
TextArea
type
=
"textarea"
maxLength
=
{
65
*
12
}
cols
=
{
65
}
rows
=
{
12
}
style
=
{{
imeMode
:
'disabled'
}}
placeholder
=
"Supplementary Information About Amount"
value
=
{
value
.
s1
}
onChange
=
{(
e
)
=>
this
.
onChange
(
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Row>
)
}
}
src/swift/Tags/index.js
View file @
6b76cc70
...
@@ -140,6 +140,7 @@ import T38J from './T38J'
...
@@ -140,6 +140,7 @@ import T38J from './T38J'
import
T39A
from
"./T39A"
import
T39A
from
"./T39A"
import
T39C
from
"./T39C"
import
T39C
from
"./T39C"
import
T39D
from
"./T39D"
import
T39D
from
"./T39D"
import
T39F
from
"./T39F"
import
T39E
from
"./T39E"
import
T39E
from
"./T39E"
import
T39M
from
'./T39M'
import
T39M
from
'./T39M'
import
T40A
from
"./T40A"
import
T40A
from
"./T40A"
...
@@ -492,6 +493,7 @@ export default function(tag,props,onValue){
...
@@ -492,6 +493,7 @@ export default function(tag,props,onValue){
case
"T39A"
:
return
<
T39A
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39A"
:
return
<
T39A
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39C"
:
return
<
T39C
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39C"
:
return
<
T39C
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39D"
:
return
<
T39D
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39D"
:
return
<
T39D
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39F"
:
return
<
T39F
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39E"
:
return
<
T39E
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39E"
:
return
<
T39E
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39M"
:
return
<
T39M
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39M"
:
return
<
T39M
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T40A"
:
return
<
T40A
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T40A"
:
return
<
T40A
{...
props
}
onValue
=
{
onValue
}
/>
;
...
...
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