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
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
14 deletions
+61
-14
MT760.js
src/swift/MT/MT760.js
+13
-14
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
const
M
=
'M'
const
M
=
'M'
const
O
=
'O'
const
Tags
=
[
{
seqlist
:
"A"
,
cyccnt
:
0
,
status
:
M
,
seqs
:[[
...
...
@@ -6,14 +6,14 @@ const Tags = [
{
tag
:
"27"
,
status
:
M
,
tno
:
2
,
letter
:[],
label
:
"Sequence of Total"
},
{
tag
:
"22A"
,
status
:
M
,
tno
:
3
,
letter
:[],
label
:
"Purpose of Message"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
4
,
letter
:[],
label
:
"Sender to Receiver Information"
},
{
tag
:
"23X"
,
status
:
O
,
tno
:
5
,
letter
:[],
label
:
"File Identification"
}
{
tag
:
"23X"
,
status
:
O
,
tno
:
5
,
letter
:[],
label
:
"File Identification"
}
]],
pattern
:[
{
tag
:
"15A"
,
status
:
M
,
tno
:
1
,
letter
:[],
label
:
"New Sequence"
},
{
tag
:
"27"
,
status
:
M
,
tno
:
2
,
letter
:[],
label
:
"Sequence of Total"
},
{
tag
:
"22A"
,
status
:
M
,
tno
:
3
,
letter
:[],
label
:
"Purpose of Message"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
4
,
letter
:[],
label
:
"Sender to Receiver Information"
},
{
tag
:
"23X"
,
status
:
O
,
tno
:
5
,
letter
:[],
label
:
"File Identification"
}
{
tag
:
"23X"
,
status
:
O
,
tno
:
5
,
letter
:[],
label
:
"File Identification"
}
],
desp
:
"Mandatory Sequence A General Information"
},
{
seqlist
:
"B"
,
cyccnt
:
0
,
status
:
M
,
seqs
:[[
...
...
@@ -33,7 +33,7 @@ const Tags = [
{
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
:
"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
:
"71D"
,
status
:
O
,
tno
:
24
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
25
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
...
...
@@ -50,7 +50,7 @@ const Tags = [
{
tag
:
"39E"
,
status
:
O
,
tno
:
36
,
letter
:[],
label
:
"Transfer Conditions"
},
{
tag
:
"45L"
,
status
:
O
,
tno
:
37
,
letter
:[],
label
:
"Underlying Transaction Details"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
38
,
letter
:[],
label
:
"Delivery of Original Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
39
,
letter
:[],
label
:
"Delivery To/Collection By"
}
{
tag
:
"24G"
,
status
:
O
,
tno
:
39
,
letter
:[],
label
:
"Delivery To/Collection By"
}
]],
pattern
:[
{
tag
:
"15B"
,
status
:
M
,
tno
:
6
,
letter
:[],
label
:
"New Sequence"
},
...
...
@@ -69,7 +69,7 @@ const Tags = [
{
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
:
"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
:
"71D"
,
status
:
O
,
tno
:
24
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
25
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
...
...
@@ -86,7 +86,7 @@ const Tags = [
{
tag
:
"39E"
,
status
:
O
,
tno
:
36
,
letter
:[],
label
:
"Transfer Conditions"
},
{
tag
:
"45L"
,
status
:
O
,
tno
:
37
,
letter
:[],
label
:
"Underlying Transaction Details"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
38
,
letter
:[],
label
:
"Delivery of Original Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
39
,
letter
:[],
label
:
"Delivery To/Collection By"
}
{
tag
:
"24G"
,
status
:
O
,
tno
:
39
,
letter
:[],
label
:
"Delivery To/Collection By"
}
],
desp
:
"Mandatory Sequence B Undertaking Details"
},
{
seqlist
:
"C"
,
cyccnt
:
0
,
status
:
O
,
seqs
:[[
...
...
@@ -103,7 +103,7 @@ const Tags = [
{
tag
:
"52A"
,
status
:
O
,
tno
:
50
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"59"
,
status
:
M
,
tno
:
51
,
letter
:[],
label
:
"Beneficiary"
},
{
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
:
"71D"
,
status
:
O
,
tno
:
55
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
56
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
...
...
@@ -120,7 +120,7 @@ const Tags = [
{
tag
:
"39E"
,
status
:
O
,
tno
:
67
,
letter
:[],
label
:
"Transfer Conditions"
},
{
tag
:
"45L"
,
status
:
M
,
tno
:
68
,
letter
:[],
label
:
"Underlying Transaction Details"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
69
,
letter
:[],
label
:
"Delivery of Local Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
70
,
letter
:[],
label
:
"Delivery To/Collection By"
}
{
tag
:
"24G"
,
status
:
O
,
tno
:
70
,
letter
:[],
label
:
"Delivery To/Collection By"
}
]],
pattern
:[
{
tag
:
"15C"
,
status
:
M
,
tno
:
40
,
letter
:[],
label
:
"New Sequence"
},
...
...
@@ -136,7 +136,7 @@ const Tags = [
{
tag
:
"52A"
,
status
:
O
,
tno
:
50
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"59"
,
status
:
M
,
tno
:
51
,
letter
:[],
label
:
"Beneficiary"
},
{
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
:
"71D"
,
status
:
O
,
tno
:
55
,
letter
:[],
label
:
"Charges"
},
{
tag
:
"45C"
,
status
:
O
,
tno
:
56
,
letter
:[],
label
:
"Document and Presentation Instructions"
},
...
...
@@ -153,11 +153,11 @@ const Tags = [
{
tag
:
"39E"
,
status
:
O
,
tno
:
67
,
letter
:[],
label
:
"Transfer Conditions"
},
{
tag
:
"45L"
,
status
:
M
,
tno
:
68
,
letter
:[],
label
:
"Underlying Transaction Details"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
69
,
letter
:[],
label
:
"Delivery of Local Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
70
,
letter
:[],
label
:
"Delivery To/Collection By"
}
{
tag
:
"24G"
,
status
:
O
,
tno
:
70
,
letter
:[],
label
:
"Delivery To/Collection By"
}
],
desp
:
"Optional Sequence C Local Undertaking Details"
}
desp
:
"Optional Sequence C Local Undertaking Details"
}
]
const
Title
=
"MT 760 Issue of a Demand Guarantee/Standby Letter of Credit"
export
default
{
Tags
,
Title
}
\ No newline at end of file
export
default
{
Tags
,
Title
}
src/swift/TagRegMap.js
View file @
6b76cc70
...
...
@@ -427,6 +427,7 @@ T39B:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,13}","line":1,"length
T15A
:{},
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"
}},
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"
}},
T15B
:{},
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'
import
T39A
from
"./T39A"
import
T39C
from
"./T39C"
import
T39D
from
"./T39D"
import
T39F
from
"./T39F"
import
T39E
from
"./T39E"
import
T39M
from
'./T39M'
import
T40A
from
"./T40A"
...
...
@@ -492,6 +493,7 @@ export default function(tag,props,onValue){
case
"T39A"
:
return
<
T39A
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T39C"
:
return
<
T39C
{...
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
"T39M"
:
return
<
T39M
{...
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