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
daixuan
swifteditor
Commits
82855b52
Commit
82855b52
authored
4 years ago
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支持910.修改区块链版本
parent
fdf5809e
blc
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
3 deletions
+24
-3
LeadPage.js
src/swift/LeadPage.js
+1
-0
MT910.js
src/swift/MT/MT910.js
+16
-0
index.js
src/swift/MT/index.js
+5
-1
SWFPage2.js
src/swift/SWFPage2.js
+2
-2
No files found.
src/swift/LeadPage.js
View file @
82855b52
...
...
@@ -75,6 +75,7 @@ export const mty=[
{
mty
:
"mt768"
,
desp
:
"MT 768 Acknowledgement of a Guarantee/Standby Message"
},
{
mty
:
"mt769"
,
desp
:
"MT 769 Advice of Reduction or Release"
},
{
mty
:
"mt799"
,
desp
:
"MT 799 Free Format Message"
},
{
mty
:
"mt910"
,
desp
:
"MT 910 Confirmation of Credit"
},
{
mty
:
"mt940"
,
desp
:
"MT 940 Customer Statement Message"
},
{
mty
:
"mt950"
,
desp
:
"MT 950 Statement Message"
},
{
mty
:
"mt999"
,
desp
:
"MT 999 Free Format Message"
},
...
...
This diff is collapsed.
Click to expand it.
src/swift/MT/MT910.js
0 → 100644
View file @
82855b52
const
Tags
=
[
{
"tag"
:
"20"
,
"status"
:
"M"
,
"tno"
:
1
,
"letter"
:[],
"label"
:
"Transaction Reference Number"
,
"tagValue"
:[{},
null
]},
{
"tag"
:
"21"
,
"status"
:
"M"
,
"tno"
:
2
,
"letter"
:[],
"label"
:
"Related Reference"
,
"tagValue"
:[{},
null
]},
{
"tag"
:
"25"
,
"status"
:
"M"
,
"tno"
:
3
,
"letter"
:[
"25"
,
"25P"
],
"label"
:
"Account Identification"
,
"tagValue"
:[{},
null
]},
{
"tag"
:
"13D"
,
"status"
:
"O"
,
"tno"
:
4
,
"letter"
:[],
"label"
:
"Date/Time Indication"
,
"tagValue"
:[{},
null
]},
{
"tag"
:
"32A"
,
"status"
:
"M"
,
"tno"
:
5
,
"letter"
:[],
"label"
:
"Value Date, Currency Code, Amount"
,
"tagValue"
:[{},
null
]},
{
"tag"
:
"50A"
,
"status"
:
"O"
,
"tno"
:
6
,
"letter"
:[
"50A"
,
"50F"
,
"50K"
],
"label"
:
"Ordering Customer"
,
"tagValue"
:[{},
null
]},
{
"tag"
:
"52A"
,
"status"
:
"O"
,
"tno"
:
7
,
"letter"
:[
"52A"
,
"52D"
],
"label"
:
"Ordering Institution"
,
"tagValue"
:[{},
null
]},
{
"tag"
:
"56A"
,
"status"
:
"O"
,
"tno"
:
8
,
"letter"
:[
"56A"
,
"56D"
],
"label"
:
"Intermediary"
,
"tagValue"
:[{},
null
]},
{
"tag"
:
"72"
,
"status"
:
"O"
,
"tno"
:
9
,
"letter"
:[],
"label"
:
"Sender to Receiver Information"
,
"tagValue"
:[{},
null
]}
]
const
Title
=
"MT 910 Confirmation of Credit"
export
default
{
Tags
,
Title
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/swift/MT/index.js
View file @
82855b52
...
...
@@ -48,10 +48,14 @@ import MT541 from './MT541'
import
MT707
from
'./MT707'
import
MT1000
from
'./MT1000'
import
MT910
from
'./MT910'
export
default
function
MTFactory
(
mty
)
{
if
(
mty
==
'mt910'
)
return
MT910
if
(
mty
==
"mt210"
)
return
MT210
if
(
mty
==
"mt750"
)
...
...
This diff is collapsed.
Click to expand it.
src/swift/SWFPage2.js
View file @
82855b52
...
...
@@ -367,7 +367,7 @@ export class SWFPage extends Component
<
/Col
>
<
Col
span
=
{
8
}
>
<
SNDBIC
flag
=
{
true
}
snd_bic
=
{
window
.
BANK_BIC
}
err_msg
=
{
null
}
onChange
=
{(
val
,
msg
)
=>
{
snd_bic_info
.
snd_bic
=
val
;
snd_bic_info
.
err_msg
=
msg
}}
/
>
<
SNDBIC
flag
=
{
false
}
snd_bic
=
{
snd_bic_info
.
snd_bic
}
err_msg
=
{
null
}
onChange
=
{(
val
,
msg
)
=>
{
snd_bic_info
.
snd_bic
=
val
;
snd_bic_info
.
err_msg
=
msg
}}
/
>
<
/Col
>
<
/Row
>
<
Row
style
=
{{}}
>
...
...
@@ -501,7 +501,7 @@ class SNDBIC extends Component{
this
.
props
.
flag
?
<
p
style
=
{{
fontWeight
:
'bolder'
,
fontSize
:
'1.2em'
,
paddingBottom
:
'0em'
,
paddingLeft
:
'1em'
,
borderBottom
:
'1px solid #37b8f2'
}}
>
{
this
.
state
.
snd_bic
}
<
/p
>
:
<
Input
addonAfter
=
{
<
YBIC
pty
=
"jz"
onSelect
=
{
obj
=>
this
.
onChange
(
obj
.
bic
)}
/> } placeholder="发报行BIC" maxLength=
{11}
value={this.state.snd_bic} onChange={e=>this.onChange
(
e.target.value
)
}/
>
<
Input
addonAfter
=
{
<
YBIC
onSelect
=
{
obj
=>
this
.
onChange
(
obj
.
bic
)}
/> } placeholder="发报行BIC" maxLength=
{11}
value={this.state.snd_bic} onChange={e=>this.onChange
(
e.target.value
)
}/
>
}
<
/FormItem>
)
}
...
...
This diff is collapsed.
Click to expand it.
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