Commit 6b76cc70 by s_guodong

MT760中39D换成39F

parent 97bf6b6c
...@@ -33,7 +33,7 @@ const Tags = [ ...@@ -33,7 +33,7 @@ const Tags = [
{tag:"23",status:O,tno:19,letter:[],label:"Advising Bank Reference"}, {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:"57A",status:O,tno:20,letter:["57A","57D"],label:"'Advise Through' Bank"},
{tag:"32B",status:M,tno:21,letter:[],label:"Undertaking Amount"}, {tag:"32B",status:M,tno:21,letter:[],label:"Undertaking Amount"},
{tag:"39D",status:O,tno:22,letter:[],label:"Additional Amount Information"}, {tag:"39F",status:O,tno:22,letter:[],label:"Supplementary Information About Amount"},
{tag:"41F",status:O,tno:23,letter:["41F","41G"],label:"Available With..."}, {tag:"41F",status:O,tno:23,letter:["41F","41G"],label:"Available With..."},
{tag:"71D",status:O,tno:24,letter:[],label:"Charges"}, {tag:"71D",status:O,tno:24,letter:[],label:"Charges"},
{tag:"45C",status:O,tno:25,letter:[],label:"Document and Presentation Instructions"}, {tag:"45C",status:O,tno:25,letter:[],label:"Document and Presentation Instructions"},
...@@ -69,7 +69,7 @@ const Tags = [ ...@@ -69,7 +69,7 @@ const Tags = [
{tag:"23",status:O,tno:19,letter:[],label:"Advising Bank Reference"}, {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:"57A",status:O,tno:20,letter:["57A","57D"],label:"'Advise Through' Bank"},
{tag:"32B",status:M,tno:21,letter:[],label:"Undertaking Amount"}, {tag:"32B",status:M,tno:21,letter:[],label:"Undertaking Amount"},
{tag:"39D",status:O,tno:22,letter:[],label:"Additional Amount Information"}, {tag:"39F",status:O,tno:22,letter:[],label:"Supplementary Information About Amount"},
{tag:"41F",status:O,tno:23,letter:["41F","41G"],label:"Available With..."}, {tag:"41F",status:O,tno:23,letter:["41F","41G"],label:"Available With..."},
{tag:"71D",status:O,tno:24,letter:[],label:"Charges"}, {tag:"71D",status:O,tno:24,letter:[],label:"Charges"},
{tag:"45C",status:O,tno:25,letter:[],label:"Document and Presentation Instructions"}, {tag:"45C",status:O,tno:25,letter:[],label:"Document and Presentation Instructions"},
...@@ -103,7 +103,7 @@ const Tags = [ ...@@ -103,7 +103,7 @@ const Tags = [
{tag:"52A",status:O,tno:50,letter:["52A","52D"],label:"Issuer"}, {tag:"52A",status:O,tno:50,letter:["52A","52D"],label:"Issuer"},
{tag:"59",status:M,tno:51,letter:[],label:"Beneficiary"}, {tag:"59",status:M,tno:51,letter:[],label:"Beneficiary"},
{tag:"32B",status:M,tno:52,letter:[],label:"Undertaking Amount"}, {tag:"32B",status:M,tno:52,letter:[],label:"Undertaking Amount"},
{tag:"39D",status:O,tno:53,letter:[],label:"Additional Amount Information"}, {tag:"39F",status:O,tno:53,letter:[],label:"Supplementary Information About Amount"},
{tag:"41F",status:O,tno:54,letter:["41F","41G"],label:"Available With..."}, {tag:"41F",status:O,tno:54,letter:["41F","41G"],label:"Available With..."},
{tag:"71D",status:O,tno:55,letter:[],label:"Charges"}, {tag:"71D",status:O,tno:55,letter:[],label:"Charges"},
{tag:"45C",status:O,tno:56,letter:[],label:"Document and Presentation Instructions"}, {tag:"45C",status:O,tno:56,letter:[],label:"Document and Presentation Instructions"},
...@@ -136,7 +136,7 @@ const Tags = [ ...@@ -136,7 +136,7 @@ const Tags = [
{tag:"52A",status:O,tno:50,letter:["52A","52D"],label:"Issuer"}, {tag:"52A",status:O,tno:50,letter:["52A","52D"],label:"Issuer"},
{tag:"59",status:M,tno:51,letter:[],label:"Beneficiary"}, {tag:"59",status:M,tno:51,letter:[],label:"Beneficiary"},
{tag:"32B",status:M,tno:52,letter:[],label:"Undertaking Amount"}, {tag:"32B",status:M,tno:52,letter:[],label:"Undertaking Amount"},
{tag:"39D",status:O,tno:53,letter:[],label:"Additional Amount Information"}, {tag:"39F",status:O,tno:53,letter:[],label:"Supplementary Information About Amount"},
{tag:"41F",status:O,tno:54,letter:["41F","41G"],label:"Available With..."}, {tag:"41F",status:O,tno:54,letter:["41F","41G"],label:"Available With..."},
{tag:"71D",status:O,tno:55,letter:[],label:"Charges"}, {tag:"71D",status:O,tno:55,letter:[],label:"Charges"},
{tag:"45C",status:O,tno:56,letter:[],label:"Document and Presentation Instructions"}, {tag:"45C",status:O,tno:56,letter:[],label:"Document and Presentation Instructions"},
......
...@@ -427,6 +427,7 @@ T39B:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,13}","line":1,"length ...@@ -427,6 +427,7 @@ T39B:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,13}","line":1,"length
T15A:{}, T15A:{},
T39C:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{0,35}","line":4,"length":35,"fixed":false,"type":"x","option":"M"}}, 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"}}, 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"}}, T39E:{"s1":{"reg":"[\\w\\.,\\-\\(\\)/\u003d\u0027\\+:\\?!\"%\u0026\\*\\\u003c\\\u003e;\\{\\s@#]{0,65}","line":12,"length":65,"fixed":false,"type":"z","option":"M"}},
T15B:{}, T15B:{},
T15C:{}, T15C:{},
......
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>)
}
}
...@@ -140,6 +140,7 @@ import T38J from './T38J' ...@@ -140,6 +140,7 @@ import T38J from './T38J'
import T39A from "./T39A" import T39A from "./T39A"
import T39C from "./T39C" import T39C from "./T39C"
import T39D from "./T39D" import T39D from "./T39D"
import T39F from "./T39F"
import T39E from "./T39E" import T39E from "./T39E"
import T39M from './T39M' import T39M from './T39M'
import T40A from "./T40A" import T40A from "./T40A"
...@@ -492,6 +493,7 @@ export default function(tag,props,onValue){ ...@@ -492,6 +493,7 @@ export default function(tag,props,onValue){
        case "T39A" :return <T39A   {...props}  onValue={onValue}   />;         case "T39A" :return <T39A   {...props}  onValue={onValue}   />;
        case "T39C" :return <T39C   {...props}  onValue={onValue}   />;         case "T39C" :return <T39C   {...props}  onValue={onValue}   />;
        case "T39D" :return <T39D   {...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 "T39E" :return <T39E   {...props}  onValue={onValue}   />;
        case "T39M" :return <T39M   {...props}  onValue={onValue}   />;         case "T39M" :return <T39M   {...props}  onValue={onValue}   />;
        case "T40A" :return <T40A   {...props}  onValue={onValue}   />;         case "T40A" :return <T40A   {...props}  onValue={onValue}   />;
......
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