Commit 82855b52 by fukai

支持910.修改区块链版本

parent fdf5809e
......@@ -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"},
......
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
......@@ -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")
......
......@@ -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> )
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment