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
97bf6b6c
Commit
97bf6b6c
authored
Oct 18, 2023
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MT710、MT720增加78D域
parent
815b9289
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
8 deletions
+56
-8
MT710.js
src/swift/MT/MT710.js
+4
-4
MT720.js
src/swift/MT/MT720.js
+4
-4
TagRegMap.js
src/swift/TagRegMap.js
+1
-0
T78D.js
src/swift/Tags/T78D.js
+45
-0
index.js
src/swift/Tags/index.js
+2
-0
No files found.
src/swift/MT/MT710.js
View file @
97bf6b6c
...
...
@@ -42,9 +42,10 @@ const Tags = [
{
tag
:
"58A"
,
status
:
O
,
tno
:
38
,
letter
:[
"58A"
,
"58D"
],
label
:
"Requested Confirmation Party"
},
{
tag
:
"53A"
,
status
:
O
,
tno
:
39
,
letter
:[
"53A"
,
"53D"
],
label
:
"Reimbursing Bank"
},
{
tag
:
"78"
,
status
:
O
,
tno
:
40
,
letter
:[],
label
:
"Instructions to the Paying/Accepting/Negotiating Bank"
},
{
tag
:
"57A"
,
status
:
O
,
tno
:
41
,
letter
:[
"57A"
,
"57B"
,
"57D"
],
label
:
"'Advise Through' Bank"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
42
,
letter
:[],
label
:
"Sender to Receiver Information"
}
{
tag
:
"78D"
,
status
:
O
,
tno
:
41
,
letter
:[],
label
:
"Instructions from Intermediary Bank"
},
{
tag
:
"57A"
,
status
:
O
,
tno
:
42
,
letter
:[
"57A"
,
"57B"
,
"57D"
],
label
:
"'Advise Through' Bank"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
43
,
letter
:[],
label
:
"Sender to Receiver Information"
}
]
const
Title
=
"MT 710 Advice of a Third Bank's or a Non-Bank's Documentary Credit"
export
default
{
Tags
,
Title
}
\ No newline at end of file
export
default
{
Tags
,
Title
}
src/swift/MT/MT720.js
View file @
97bf6b6c
...
...
@@ -39,9 +39,10 @@ const Tags = [
{
tag
:
"49"
,
status
:
M
,
tno
:
35
,
letter
:[],
label
:
"Confirmation Instructions"
},
{
tag
:
"58A"
,
status
:
O
,
tno
:
36
,
letter
:[
"58A"
,
"58D"
],
label
:
"Requested Confirmation Party"
},
{
tag
:
"78"
,
status
:
O
,
tno
:
37
,
letter
:[],
label
:
"Instructions to the Paying/Accepting/Negotiating Bank"
},
{
tag
:
"57A"
,
status
:
O
,
tno
:
38
,
letter
:[
"57A"
,
"57B"
,
"57D"
],
label
:
"'Advise Through' Bank"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
39
,
letter
:[],
label
:
"Sender to Receiver Information"
}
{
tag
:
"78D"
,
status
:
O
,
tno
:
38
,
letter
:[],
label
:
"Instructions from Intermediary Bank"
},
{
tag
:
"57A"
,
status
:
O
,
tno
:
39
,
letter
:[
"57A"
,
"57B"
,
"57D"
],
label
:
"'Advise Through' Bank"
},
{
tag
:
"72Z"
,
status
:
O
,
tno
:
40
,
letter
:[],
label
:
"Sender to Receiver Information"
}
]
const
Title
=
"MT 720 Transfer of a Documentary Credit"
export
default
{
Tags
,
Title
}
\ No newline at end of file
export
default
{
Tags
,
Title
}
src/swift/TagRegMap.js
View file @
97bf6b6c
...
...
@@ -472,6 +472,7 @@ T17F:{"s1":{"reg":"[A-Z]{1}","line":1,"length":1,"fixed":false,"type":"a","optio
T77
:{
"s1"
:{
"reg"
:
"[
\\
w
\\
.,
\\
-
\\
(
\\
)/
\
u003d
\
u0027
\\
+:
\\
?!
\"
%
\
u0026
\\
*
\\\
u003c
\\\
u003e;
\\
{
\\
s@#]{0,35}"
,
"line"
:
20
,
"length"
:
35
,
"fixed"
:
false
,
"type"
:
"z"
,
"option"
:
"M"
}},
T17G
:{
"s1"
:{
"reg"
:
"[A-Z]{1}"
,
"line"
:
1
,
"length"
:
1
,
"fixed"
:
false
,
"type"
:
"a"
,
"option"
:
"M"
}},
T78
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{0,65}"
,
"line"
:
12
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T78D
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{0,65}"
,
"line"
:
12
,
"length"
:
65
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
T29H
:{
"s1"
:{
"reg"
:
"[A-Z0-9]{4}"
,
"line"
:
1
,
"length"
:
4
,
"fixed"
:
true
,
"type"
:
"c"
,
"option"
:
"M"
}},
T17H
:{
"s1"
:{
"reg"
:
"[A-Z]{1}"
,
"line"
:
1
,
"length"
:
1
,
"fixed"
:
false
,
"type"
:
"a"
,
"option"
:
"M"
}},
T79
:{
"s1"
:{
"reg"
:
"[
\\
w/
\\
-
\\
?:
\\
(
\\
)
\\
.,
\
u0027+
\\
{
\\
} ]{0,50}"
,
"line"
:
35
,
"length"
:
50
,
"fixed"
:
false
,
"type"
:
"x"
,
"option"
:
"M"
}},
...
...
src/swift/Tags/T78D.js
0 → 100644
View file @
97bf6b6c
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
T78D
extends
Component
{
name
=
'78D'
desp
=
"Instructions from Intermediary Bank"
pattern
=
""
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
=
"Narrative"
value
=
{
value
.
s1
}
onChange
=
{(
e
)
=>
this
.
onChange
(
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
/Col
>
<
/Row>
)
}
}
src/swift/Tags/index.js
View file @
97bf6b6c
...
...
@@ -257,6 +257,7 @@ import T77T from "./T77T"
import
T77L
from
"./T77L"
import
T77U
from
"./T77U"
import
T78
from
"./T78"
import
T78D
from
"./T78D"
import
T79
from
"./T79"
import
T79Z
from
"./T79Z"
import
T81A
from
'./T81A'
...
...
@@ -608,6 +609,7 @@ export default function(tag,props,onValue){
case
"T77L"
:
return
<
T77L
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T77U"
:
return
<
T77U
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T78"
:
return
<
T78
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T78D"
:
return
<
T78D
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T79"
:
return
<
T79
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T79Z"
:
return
<
T79Z
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T81A"
:
return
<
T81A
{...
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