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
b7b8dc57
Commit
b7b8dc57
authored
Oct 19, 2023
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MT760、MT767的23域调整
parent
799ef3d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
50 deletions
+50
-50
MT767.js
src/swift/MT/MT767.js
+46
-45
index.js
src/swift/Tags/T23/index.js
+4
-5
No files found.
src/swift/MT/MT767.js
View file @
b7b8dc57
const
M
=
'M'
const
M
=
'M'
const
O
=
'O'
const
O
=
'O'
const
Tags
=
[
const
Tags
=
[
{
seqlist
:
"A"
,
cyccnt
:
0
,
status
:
M
,
seqs
:[[
{
seqlist
:
"A"
,
cyccnt
:
0
,
status
:
M
,
seqs
:[[
{
tag
:
"15A"
,
status
:
M
,
tno
:
1
,
letter
:[],
label
:
"New Sequence"
},
{
tag
:
"15A"
,
status
:
M
,
tno
:
1
,
letter
:[],
label
:
"New Sequence"
},
...
@@ -8,7 +8,7 @@ const Tags = [
...
@@ -8,7 +8,7 @@ const Tags = [
{
tag
:
"22A"
,
status
:
M
,
tno
:
4
,
letter
:[],
label
:
"Purpose of Message"
},
{
tag
:
"22A"
,
status
:
M
,
tno
:
4
,
letter
:[],
label
:
"Purpose of Message"
},
{
tag
:
"23S"
,
status
:
O
,
tno
:
5
,
letter
:[],
label
:
"Cancellation Request"
},
{
tag
:
"23S"
,
status
:
O
,
tno
:
5
,
letter
:[],
label
:
"Cancellation Request"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
6
,
letter
:[],
label
:
"Sender to Receiver Information"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
6
,
letter
:[],
label
:
"Sender to Receiver Information"
},
{
tag
:
"23X"
,
status
:
O
,
tno
:
7
,
letter
:[],
label
:
"File Identification"
}
{
tag
:
"23X"
,
status
:
O
,
tno
:
7
,
letter
:[],
label
:
"File Identification"
}
]],
]],
pattern
:[
pattern
:[
{
tag
:
"15A"
,
status
:
M
,
tno
:
1
,
letter
:[],
label
:
"New Sequence"
},
{
tag
:
"15A"
,
status
:
M
,
tno
:
1
,
letter
:[],
label
:
"New Sequence"
},
...
@@ -17,7 +17,7 @@ const Tags = [
...
@@ -17,7 +17,7 @@ const Tags = [
{
tag
:
"22A"
,
status
:
M
,
tno
:
4
,
letter
:[],
label
:
"Purpose of Message"
},
{
tag
:
"22A"
,
status
:
M
,
tno
:
4
,
letter
:[],
label
:
"Purpose of Message"
},
{
tag
:
"23S"
,
status
:
O
,
tno
:
5
,
letter
:[],
label
:
"Cancellation Request"
},
{
tag
:
"23S"
,
status
:
O
,
tno
:
5
,
letter
:[],
label
:
"Cancellation Request"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
6
,
letter
:[],
label
:
"Sender to Receiver Information"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
6
,
letter
:[],
label
:
"Sender to Receiver Information"
},
{
tag
:
"23X"
,
status
:
O
,
tno
:
7
,
letter
:[],
label
:
"File Identification"
}
{
tag
:
"23X"
,
status
:
O
,
tno
:
7
,
letter
:[],
label
:
"File Identification"
}
],
],
desp
:
"Mandatory Sequence A General Information"
},
desp
:
"Mandatory Sequence A General Information"
},
{
seqlist
:
"B"
,
cyccnt
:
0
,
status
:
M
,
seqs
:[[
{
seqlist
:
"B"
,
cyccnt
:
0
,
status
:
M
,
seqs
:[[
...
@@ -26,15 +26,16 @@ const Tags = [
...
@@ -26,15 +26,16 @@ const Tags = [
{
tag
:
"26E"
,
status
:
M
,
tno
:
10
,
letter
:[],
label
:
"Number of Amendment"
},
{
tag
:
"26E"
,
status
:
M
,
tno
:
10
,
letter
:[],
label
:
"Number of Amendment"
},
{
tag
:
"30"
,
status
:
M
,
tno
:
11
,
letter
:[],
label
:
"Date of Amendment"
},
{
tag
:
"30"
,
status
:
M
,
tno
:
11
,
letter
:[],
label
:
"Date of Amendment"
},
{
tag
:
"52A"
,
status
:
M
,
tno
:
12
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"52A"
,
status
:
M
,
tno
:
12
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"32B"
,
status
:
O
,
tno
:
13
,
letter
:[],
label
:
"Increase of Undertaking Amount"
},
{
tag
:
"23"
,
status
:
O
,
tno
:
13
,
letter
:[],
label
:
"Advising Bank Reference"
},
{
tag
:
"33B"
,
status
:
O
,
tno
:
14
,
letter
:[],
label
:
"Decrease of Undertaking Amount"
},
{
tag
:
"32B"
,
status
:
O
,
tno
:
14
,
letter
:[],
label
:
"Increase of Undertaking Amount"
},
{
tag
:
"23B"
,
status
:
O
,
tno
:
15
,
letter
:[],
label
:
"Expiry Type"
},
{
tag
:
"33B"
,
status
:
O
,
tno
:
15
,
letter
:[],
label
:
"Decrease of Undertaking Amount"
},
{
tag
:
"31E"
,
status
:
O
,
tno
:
16
,
letter
:[],
label
:
"Date of Expiry"
},
{
tag
:
"23B"
,
status
:
O
,
tno
:
16
,
letter
:[],
label
:
"Expiry Type"
},
{
tag
:
"35G"
,
status
:
O
,
tno
:
17
,
letter
:[],
label
:
"Expiry Condition/Event"
},
{
tag
:
"31E"
,
status
:
O
,
tno
:
17
,
letter
:[],
label
:
"Date of Expiry"
},
{
tag
:
"59"
,
status
:
O
,
tno
:
18
,
letter
:[
"59"
,
"59A"
],
label
:
"Beneficiary"
},
{
tag
:
"35G"
,
status
:
O
,
tno
:
18
,
letter
:[],
label
:
"Expiry Condition/Event"
},
{
tag
:
"77U"
,
status
:
O
,
tno
:
19
,
letter
:[],
label
:
"Other Amendments to Undertaking"
},
{
tag
:
"59"
,
status
:
O
,
tno
:
19
,
letter
:[
"59"
,
"59A"
],
label
:
"Beneficiary"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
20
,
letter
:[],
label
:
"Delivery of Amendment To Undertaking"
},
{
tag
:
"77U"
,
status
:
O
,
tno
:
20
,
letter
:[],
label
:
"Other Amendments to Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
21
,
letter
:[],
label
:
"Delivery To/Collection By"
}
{
tag
:
"24E"
,
status
:
O
,
tno
:
21
,
letter
:[],
label
:
"Delivery of Amendment To Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
22
,
letter
:[],
label
:
"Delivery To/Collection By"
}
]],
]],
pattern
:[
pattern
:[
{
tag
:
"15B"
,
status
:
M
,
tno
:
8
,
letter
:[],
label
:
"New Sequence"
},
{
tag
:
"15B"
,
status
:
M
,
tno
:
8
,
letter
:[],
label
:
"New Sequence"
},
...
@@ -42,44 +43,45 @@ const Tags = [
...
@@ -42,44 +43,45 @@ const Tags = [
{
tag
:
"26E"
,
status
:
M
,
tno
:
10
,
letter
:[],
label
:
"Number of Amendment"
},
{
tag
:
"26E"
,
status
:
M
,
tno
:
10
,
letter
:[],
label
:
"Number of Amendment"
},
{
tag
:
"30"
,
status
:
M
,
tno
:
11
,
letter
:[],
label
:
"Date of Amendment"
},
{
tag
:
"30"
,
status
:
M
,
tno
:
11
,
letter
:[],
label
:
"Date of Amendment"
},
{
tag
:
"52A"
,
status
:
M
,
tno
:
12
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"52A"
,
status
:
M
,
tno
:
12
,
letter
:[
"52A"
,
"52D"
],
label
:
"Issuer"
},
{
tag
:
"32B"
,
status
:
O
,
tno
:
13
,
letter
:[],
label
:
"Increase of Undertaking Amount"
},
{
tag
:
"23"
,
status
:
O
,
tno
:
13
,
letter
:[],
label
:
"Advising Bank Reference"
},
{
tag
:
"33B"
,
status
:
O
,
tno
:
14
,
letter
:[],
label
:
"Decrease of Undertaking Amount"
},
{
tag
:
"32B"
,
status
:
O
,
tno
:
14
,
letter
:[],
label
:
"Increase of Undertaking Amount"
},
{
tag
:
"23B"
,
status
:
O
,
tno
:
15
,
letter
:[],
label
:
"Expiry Type"
},
{
tag
:
"33B"
,
status
:
O
,
tno
:
15
,
letter
:[],
label
:
"Decrease of Undertaking Amount"
},
{
tag
:
"31E"
,
status
:
O
,
tno
:
16
,
letter
:[],
label
:
"Date of Expiry"
},
{
tag
:
"23B"
,
status
:
O
,
tno
:
16
,
letter
:[],
label
:
"Expiry Type"
},
{
tag
:
"35G"
,
status
:
O
,
tno
:
17
,
letter
:[],
label
:
"Expiry Condition/Event"
},
{
tag
:
"31E"
,
status
:
O
,
tno
:
17
,
letter
:[],
label
:
"Date of Expiry"
},
{
tag
:
"59"
,
status
:
O
,
tno
:
18
,
letter
:[
"59"
,
"59A"
],
label
:
"Beneficiary"
},
{
tag
:
"35G"
,
status
:
O
,
tno
:
18
,
letter
:[],
label
:
"Expiry Condition/Event"
},
{
tag
:
"77U"
,
status
:
O
,
tno
:
19
,
letter
:[],
label
:
"Other Amendments to Undertaking"
},
{
tag
:
"59"
,
status
:
O
,
tno
:
19
,
letter
:[
"59"
,
"59A"
],
label
:
"Beneficiary"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
20
,
letter
:[],
label
:
"Delivery of Amendment To Undertaking"
},
{
tag
:
"77U"
,
status
:
O
,
tno
:
20
,
letter
:[],
label
:
"Other Amendments to Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
21
,
letter
:[],
label
:
"Delivery To/Collection By"
}
{
tag
:
"24E"
,
status
:
O
,
tno
:
21
,
letter
:[],
label
:
"Delivery of Amendment To Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
22
,
letter
:[],
label
:
"Delivery To/Collection By"
}
],
],
desp
:
"Mandatory Sequence B Undertaking Details"
},
desp
:
"Mandatory Sequence B Undertaking Details"
},
{
seqlist
:
"C"
,
cyccnt
:
0
,
status
:
O
,
seqs
:[[
{
seqlist
:
"C"
,
cyccnt
:
0
,
status
:
O
,
seqs
:[[
{
tag
:
"15C"
,
status
:
M
,
tno
:
2
2
,
letter
:[],
label
:
"New Sequence"
},
{
tag
:
"15C"
,
status
:
M
,
tno
:
2
3
,
letter
:[],
label
:
"New Sequence"
},
{
tag
:
"32B"
,
status
:
O
,
tno
:
2
3
,
letter
:[],
label
:
"Increase of Local Undertaking Amount"
},
{
tag
:
"32B"
,
status
:
O
,
tno
:
2
4
,
letter
:[],
label
:
"Increase of Local Undertaking Amount"
},
{
tag
:
"33B"
,
status
:
O
,
tno
:
2
4
,
letter
:[],
label
:
"Decrease of Local Undertaking Amount"
},
{
tag
:
"33B"
,
status
:
O
,
tno
:
2
5
,
letter
:[],
label
:
"Decrease of Local Undertaking Amount"
},
{
tag
:
"23B"
,
status
:
O
,
tno
:
2
5
,
letter
:[],
label
:
"Expiry Type"
},
{
tag
:
"23B"
,
status
:
O
,
tno
:
2
6
,
letter
:[],
label
:
"Expiry Type"
},
{
tag
:
"31E"
,
status
:
O
,
tno
:
2
6
,
letter
:[],
label
:
"Date of Expiry"
},
{
tag
:
"31E"
,
status
:
O
,
tno
:
2
7
,
letter
:[],
label
:
"Date of Expiry"
},
{
tag
:
"35G"
,
status
:
O
,
tno
:
2
7
,
letter
:[],
label
:
"Expiry Condition/Event"
},
{
tag
:
"35G"
,
status
:
O
,
tno
:
2
8
,
letter
:[],
label
:
"Expiry Condition/Event"
},
{
tag
:
"59"
,
status
:
O
,
tno
:
2
8
,
letter
:[],
label
:
"Beneficiary"
},
{
tag
:
"59"
,
status
:
O
,
tno
:
2
9
,
letter
:[],
label
:
"Beneficiary"
},
{
tag
:
"77L"
,
status
:
O
,
tno
:
29
,
letter
:[],
label
:
"Other Amendments to Local Undertaking"
},
{
tag
:
"77L"
,
status
:
O
,
tno
:
30
,
letter
:[],
label
:
"Other Amendments to Local Undertaking"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
3
0
,
letter
:[],
label
:
"Delivery of Amendment To Local Undertaking"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
3
1
,
letter
:[],
label
:
"Delivery of Amendment To Local Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
3
1
,
letter
:[],
label
:
"Delivery To/Collection By"
}
{
tag
:
"24G"
,
status
:
O
,
tno
:
3
2
,
letter
:[],
label
:
"Delivery To/Collection By"
}
]],
]],
pattern
:[
pattern
:[
{
tag
:
"15C"
,
status
:
M
,
tno
:
2
2
,
letter
:[],
label
:
"New Sequence"
},
{
tag
:
"15C"
,
status
:
M
,
tno
:
2
3
,
letter
:[],
label
:
"New Sequence"
},
{
tag
:
"32B"
,
status
:
O
,
tno
:
2
3
,
letter
:[],
label
:
"Increase of Local Undertaking Amount"
},
{
tag
:
"32B"
,
status
:
O
,
tno
:
2
4
,
letter
:[],
label
:
"Increase of Local Undertaking Amount"
},
{
tag
:
"33B"
,
status
:
O
,
tno
:
2
4
,
letter
:[],
label
:
"Decrease of Local Undertaking Amount"
},
{
tag
:
"33B"
,
status
:
O
,
tno
:
2
5
,
letter
:[],
label
:
"Decrease of Local Undertaking Amount"
},
{
tag
:
"23B"
,
status
:
O
,
tno
:
2
5
,
letter
:[],
label
:
"Expiry Type"
},
{
tag
:
"23B"
,
status
:
O
,
tno
:
2
6
,
letter
:[],
label
:
"Expiry Type"
},
{
tag
:
"31E"
,
status
:
O
,
tno
:
2
6
,
letter
:[],
label
:
"Date of Expiry"
},
{
tag
:
"31E"
,
status
:
O
,
tno
:
2
7
,
letter
:[],
label
:
"Date of Expiry"
},
{
tag
:
"35G"
,
status
:
O
,
tno
:
2
7
,
letter
:[],
label
:
"Expiry Condition/Event"
},
{
tag
:
"35G"
,
status
:
O
,
tno
:
2
8
,
letter
:[],
label
:
"Expiry Condition/Event"
},
{
tag
:
"59"
,
status
:
O
,
tno
:
2
8
,
letter
:[],
label
:
"Beneficiary"
},
{
tag
:
"59"
,
status
:
O
,
tno
:
2
9
,
letter
:[],
label
:
"Beneficiary"
},
{
tag
:
"77L"
,
status
:
O
,
tno
:
29
,
letter
:[],
label
:
"Other Amendments to Local Undertaking"
},
{
tag
:
"77L"
,
status
:
O
,
tno
:
30
,
letter
:[],
label
:
"Other Amendments to Local Undertaking"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
3
0
,
letter
:[],
label
:
"Delivery of Amendment To Local Undertaking"
},
{
tag
:
"24E"
,
status
:
O
,
tno
:
3
1
,
letter
:[],
label
:
"Delivery of Amendment To Local Undertaking"
},
{
tag
:
"24G"
,
status
:
O
,
tno
:
3
1
,
letter
:[],
label
:
"Delivery To/Collection By"
}
{
tag
:
"24G"
,
status
:
O
,
tno
:
3
2
,
letter
:[],
label
:
"Delivery To/Collection By"
}
],
],
desp
:
"Optional Sequence C Local Undertaking Details"
}
desp
:
"Optional Sequence C Local Undertaking Details"
}
]
]
const
Title
=
"MT 767 Amendment to a Demand Guarantee/Standby Letter of Credit"
const
Title
=
"MT 767 Amendment to a Demand Guarantee/Standby Letter of Credit"
export
default
{
Tags
,
Title
}
export
default
{
Tags
,
Title
}
\ No newline at end of file
src/swift/Tags/T23/index.js
View file @
b7b8dc57
...
@@ -16,11 +16,11 @@ export default function(props)
...
@@ -16,11 +16,11 @@ export default function(props)
let
{
mty
}
=
props
let
{
mty
}
=
props
if
(
mty
==
'mt752'
)
if
(
mty
==
'mt752'
)
return
<
T23_1
{...
props
}
SELCode
=
{
code1
}
/
>
return
<
T23_1
{...
props
}
SELCode
=
{
code1
}
/
>
if
(
mty
==
'mt760'
||
mty
==
'mt767'
)
//
if(mty== 'mt760' || mty == 'mt767')
return
<
T23_1
{...
props
}
SELCode
=
{
code2
}
/
>
//
return <T23_1 {...props} SELCode={code2} />
if
(
mty
==
'mt305'
)
if
(
mty
==
'mt305'
)
return
<
T23_305
{...
props
}
/
>
return
<
T23_305
{...
props
}
/
>
if
(
mty
==
'mt605'
)
if
(
mty
==
'mt605'
)
return
<
T23_1
{...
props
}
SELCode
=
{
code3
}
/
>
return
<
T23_1
{...
props
}
SELCode
=
{
code3
}
/
>
return
<
T23_d
{...
props
}
/
>
return
<
T23_d
{...
props
}
/
>
}
}
\ 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