Commit ceaa97d6 by s_guodong

MT541升级

parent db02e420
......@@ -8,17 +8,17 @@ const Tags = [
{tag:"23G",status:M,tno:3,letter:[],label:"Function of the Message"},
{tag:"98A",status:O,tno:4,letter:["98A","98C","98E"],label:"Preparation Date/Time"},
{cyclist:"5",cycs:[[
{tag:"99B",status:O,tno:5,letter:[],label:"Number Count"}
{tag:"99B",status:O,tno:5,letter:["99B","99C"],label:"Number Count"}
]],
pattern:[
{tag:"99B",status:O,tno:5,letter:[],label:"Number Count"}
{tag:"99B",status:O,tno:5,letter:["99B","99C"],label:"Number Count"}
] },
{seqlist:"A1",cyccnt:1,status:O,seqs:[[
{tag:"16R",status:M,tno:6,letter:[],label:"Start of Block"},
{tag:"22F",status:O,tno:7,letter:[],label:"Linkage Type Indicator"},
{tag:"13A",status:O,tno:8,letter:["13A","13B"],label:"Number Identification"},
{tag:"20C",status:M,tno:9,letter:["20C","20U"],label:"Reference"},
{tag:"36B",status:O,tno:10,letter:[],label:"Quantity of Financial Instrument"},
{tag:"36B",status:O,tno:10,letter:["36B","36D"],label:"Quantity of Financial Instrument"},
{tag:"16S",status:M,tno:11,letter:[],label:"End of Block"}
]],
pattern:[
......@@ -26,7 +26,7 @@ const Tags = [
{tag:"22F",status:O,tno:7,letter:[],label:"Linkage Type Indicator"},
{tag:"13A",status:O,tno:8,letter:["13A","13B"],label:"Number Identification"},
{tag:"20C",status:M,tno:9,letter:["20C","20U"],label:"Reference"},
{tag:"36B",status:O,tno:10,letter:[],label:"Quantity of Financial Instrument"},
{tag:"36B",status:O,tno:10,letter:["36B","36D"],label:"Quantity of Financial Instrument"},
{tag:"16S",status:M,tno:11,letter:[],label:"End of Block"}
],
desp:"-----> Optional Repetitive Subsequence A1 Linkages" },
......@@ -38,17 +38,17 @@ const Tags = [
{tag:"23G",status:M,tno:3,letter:[],label:"Function of the Message"},
{tag:"98A",status:O,tno:4,letter:["98A","98C","98E"],label:"Preparation Date/Time"},
{cyclist:"5",cycs:[[
{tag:"99B",status:O,tno:5,letter:[],label:"Number Count"}
{tag:"99B",status:O,tno:5,letter:["99B","99C"],label:"Number Count"}
]],
pattern:[
{tag:"99B",status:O,tno:5,letter:[],label:"Number Count"}
{tag:"99B",status:O,tno:5,letter:["99B","99C"],label:"Number Count"}
] },
{seqlist:"A1",cyccnt:1,status:O,seqs:[[
{tag:"16R",status:M,tno:6,letter:[],label:"Start of Block"},
{tag:"22F",status:O,tno:7,letter:[],label:"Linkage Type Indicator"},
{tag:"13A",status:O,tno:8,letter:["13A","13B"],label:"Number Identification"},
{tag:"20C",status:M,tno:9,letter:["20C","20U"],label:"Reference"},
{tag:"36B",status:O,tno:10,letter:[],label:"Quantity of Financial Instrument"},
{tag:"36B",status:O,tno:10,letter:["36B","36D"],label:"Quantity of Financial Instrument"},
{tag:"16S",status:M,tno:11,letter:[],label:"End of Block"}
]],
pattern:[
......@@ -56,7 +56,7 @@ const Tags = [
{tag:"22F",status:O,tno:7,letter:[],label:"Linkage Type Indicator"},
{tag:"13A",status:O,tno:8,letter:["13A","13B"],label:"Number Identification"},
{tag:"20C",status:M,tno:9,letter:["20C","20U"],label:"Reference"},
{tag:"36B",status:O,tno:10,letter:[],label:"Quantity of Financial Instrument"},
{tag:"36B",status:O,tno:10,letter:["36B","36D"],label:"Quantity of Financial Instrument"},
{tag:"16S",status:M,tno:11,letter:[],label:"End of Block"}
],
desp:"-----> Optional Repetitive Subsequence A1 Linkages" },
......@@ -127,10 +127,10 @@ const Tags = [
{tag:"90A",status:O,tno:28,letter:["90A","90B"],label:"Price"}
] },
{cyclist:"29",cycs:[[
{tag:"36B",status:O,tno:29,letter:[],label:"Quantity of Financial Instrument"}
{tag:"36B",status:O,tno:29,letter:["36B","36D"],label:"Quantity of Financial Instrument"}
]],
pattern:[
{tag:"36B",status:O,tno:29,letter:[],label:"Quantity of Financial Instrument"}
{tag:"36B",status:O,tno:29,letter:["36B","36D"],label:"Quantity of Financial Instrument"}
] },
{cyclist:"30",cycs:[[
{tag:"35B",status:O,tno:30,letter:[],label:"Identification of the Financial Instrument"}
......@@ -188,10 +188,10 @@ const Tags = [
{tag:"90A",status:O,tno:28,letter:["90A","90B"],label:"Price"}
] },
{cyclist:"29",cycs:[[
{tag:"36B",status:O,tno:29,letter:[],label:"Quantity of Financial Instrument"}
{tag:"36B",status:O,tno:29,letter:["36B","36D"],label:"Quantity of Financial Instrument"}
]],
pattern:[
{tag:"36B",status:O,tno:29,letter:[],label:"Quantity of Financial Instrument"}
{tag:"36B",status:O,tno:29,letter:["36B","36D"],label:"Quantity of Financial Instrument"}
] },
{cyclist:"30",cycs:[[
{tag:"35B",status:O,tno:30,letter:[],label:"Identification of the Financial Instrument"}
......@@ -288,10 +288,10 @@ const Tags = [
{tag:"90A",status:O,tno:28,letter:["90A","90B"],label:"Price"}
] },
{cyclist:"29",cycs:[[
{tag:"36B",status:O,tno:29,letter:[],label:"Quantity of Financial Instrument"}
{tag:"36B",status:O,tno:29,letter:["36B","36D"],label:"Quantity of Financial Instrument"}
]],
pattern:[
{tag:"36B",status:O,tno:29,letter:[],label:"Quantity of Financial Instrument"}
{tag:"36B",status:O,tno:29,letter:["36B","36D"],label:"Quantity of Financial Instrument"}
] },
{cyclist:"30",cycs:[[
{tag:"35B",status:O,tno:30,letter:[],label:"Identification of the Financial Instrument"}
......@@ -349,10 +349,10 @@ const Tags = [
{tag:"90A",status:O,tno:28,letter:["90A","90B"],label:"Price"}
] },
{cyclist:"29",cycs:[[
{tag:"36B",status:O,tno:29,letter:[],label:"Quantity of Financial Instrument"}
{tag:"36B",status:O,tno:29,letter:["36B","36D"],label:"Quantity of Financial Instrument"}
]],
pattern:[
{tag:"36B",status:O,tno:29,letter:[],label:"Quantity of Financial Instrument"}
{tag:"36B",status:O,tno:29,letter:["36B","36D"],label:"Quantity of Financial Instrument"}
] },
{cyclist:"30",cycs:[[
{tag:"35B",status:O,tno:30,letter:[],label:"Identification of the Financial Instrument"}
......@@ -389,10 +389,10 @@ const Tags = [
{seqlist:"C",cyccnt:0,status:M,seqs:[[
{tag:"16R",status:M,tno:38,letter:[],label:"Start of Block"},
{cyclist:"39",cycs:[[
{tag:"36B",status:M,tno:39,letter:[],label:"Quantity of Financial Instrument to be Settled"}
{tag:"36B",status:M,tno:39,letter:["36B","36D"],label:"Quantity of Financial Instrument to be Settled"}
]],
pattern:[
{tag:"36B",status:M,tno:39,letter:[],label:"Quantity of Financial Instrument to be Settled"}
{tag:"36B",status:M,tno:39,letter:["36B","36D"],label:"Quantity of Financial Instrument to be Settled"}
] },
{tag:"70D",status:O,tno:40,letter:[],label:"Denomination Choice"},
{cyclist:"41",cycs:[[
......@@ -408,10 +408,10 @@ const Tags = [
{tag:"95L",status:O,tno:42,letter:["95L","95P","95R"],label:"Party"}
] },
{cyclist:"43",cycs:[[
{tag:"97A",status:M,tno:43,letter:["97A","97B","97E"],label:"Account"}
{tag:"97A",status:M,tno:43,letter:["97A","97B","97D","97E"],label:"Account"}
]],
pattern:[
{tag:"97A",status:M,tno:43,letter:["97A","97B","97E"],label:"Account"}
{tag:"97A",status:M,tno:43,letter:["97A","97B","97D","97E"],label:"Account"}
] },
{cyclist:"44",cycs:[[
{tag:"94B",status:O,tno:44,letter:["94B","94C","94F","94L"],label:"Place of Safekeeping"}
......@@ -422,7 +422,7 @@ const Tags = [
{seqlist:"C1",cyccnt:1,status:O,seqs:[[
{tag:"16R",status:M,tno:45,letter:[],label:"Start of Block"},
{tag:"13B",status:O,tno:46,letter:[],label:"Lot Number"},
{tag:"36B",status:O,tno:47,letter:[],label:"Quantity of Financial Instrument In The Lot"},
{tag:"36B",status:O,tno:47,letter:["36B","36D"],label:"Quantity of Financial Instrument In The Lot"},
{tag:"98A",status:O,tno:48,letter:["98A","98C","98E"],label:"Lot Date/Time"},
{tag:"90A",status:O,tno:49,letter:["90A","90B"],label:"Book/Lot Price"},
{tag:"22F",status:O,tno:50,letter:[],label:"Type of Price Indicator"},
......@@ -431,7 +431,7 @@ const Tags = [
pattern:[
{tag:"16R",status:M,tno:45,letter:[],label:"Start of Block"},
{tag:"13B",status:O,tno:46,letter:[],label:"Lot Number"},
{tag:"36B",status:O,tno:47,letter:[],label:"Quantity of Financial Instrument In The Lot"},
{tag:"36B",status:O,tno:47,letter:["36B","36D"],label:"Quantity of Financial Instrument In The Lot"},
{tag:"98A",status:O,tno:48,letter:["98A","98C","98E"],label:"Lot Date/Time"},
{tag:"90A",status:O,tno:49,letter:["90A","90B"],label:"Book/Lot Price"},
{tag:"22F",status:O,tno:50,letter:[],label:"Type of Price Indicator"},
......@@ -443,10 +443,10 @@ const Tags = [
pattern:[
{tag:"16R",status:M,tno:38,letter:[],label:"Start of Block"},
{cyclist:"39",cycs:[[
{tag:"36B",status:M,tno:39,letter:[],label:"Quantity of Financial Instrument to be Settled"}
{tag:"36B",status:M,tno:39,letter:["36B","36D"],label:"Quantity of Financial Instrument to be Settled"}
]],
pattern:[
{tag:"36B",status:M,tno:39,letter:[],label:"Quantity of Financial Instrument to be Settled"}
{tag:"36B",status:M,tno:39,letter:["36B","36D"],label:"Quantity of Financial Instrument to be Settled"}
] },
{tag:"70D",status:O,tno:40,letter:[],label:"Denomination Choice"},
{cyclist:"41",cycs:[[
......@@ -462,10 +462,10 @@ const Tags = [
{tag:"95L",status:O,tno:42,letter:["95L","95P","95R"],label:"Party"}
] },
{cyclist:"43",cycs:[[
{tag:"97A",status:M,tno:43,letter:["97A","97B","97E"],label:"Account"}
{tag:"97A",status:M,tno:43,letter:["97A","97B","97D","97E"],label:"Account"}
]],
pattern:[
{tag:"97A",status:M,tno:43,letter:["97A","97B","97E"],label:"Account"}
{tag:"97A",status:M,tno:43,letter:["97A","97B","97D","97E"],label:"Account"}
] },
{cyclist:"44",cycs:[[
{tag:"94B",status:O,tno:44,letter:["94B","94C","94F","94L"],label:"Place of Safekeeping"}
......@@ -476,7 +476,7 @@ const Tags = [
{seqlist:"C1",cyccnt:1,status:O,seqs:[[
{tag:"16R",status:M,tno:45,letter:[],label:"Start of Block"},
{tag:"13B",status:O,tno:46,letter:[],label:"Lot Number"},
{tag:"36B",status:O,tno:47,letter:[],label:"Quantity of Financial Instrument In The Lot"},
{tag:"36B",status:O,tno:47,letter:["36B","36D"],label:"Quantity of Financial Instrument In The Lot"},
{tag:"98A",status:O,tno:48,letter:["98A","98C","98E"],label:"Lot Date/Time"},
{tag:"90A",status:O,tno:49,letter:["90A","90B"],label:"Book/Lot Price"},
{tag:"22F",status:O,tno:50,letter:[],label:"Type of Price Indicator"},
......@@ -485,7 +485,7 @@ const Tags = [
pattern:[
{tag:"16R",status:M,tno:45,letter:[],label:"Start of Block"},
{tag:"13B",status:O,tno:46,letter:[],label:"Lot Number"},
{tag:"36B",status:O,tno:47,letter:[],label:"Quantity of Financial Instrument In The Lot"},
{tag:"36B",status:O,tno:47,letter:["36B","36D"],label:"Quantity of Financial Instrument In The Lot"},
{tag:"98A",status:O,tno:48,letter:["98A","98C","98E"],label:"Lot Date/Time"},
{tag:"90A",status:O,tno:49,letter:["90A","90B"],label:"Book/Lot Price"},
{tag:"22F",status:O,tno:50,letter:[],label:"Type of Price Indicator"},
......@@ -594,7 +594,7 @@ const Tags = [
pattern:[
{tag:"95C",status:M,tno:65,letter:["95C","95L","95P","95Q","95R","95S"],label:"Party"}
] },
{tag:"97A",status:O,tno:66,letter:["97A","97B"],label:"Safekeeping Account"},
{tag:"97A",status:O,tno:66,letter:["97A","97B","97D"],label:"Safekeeping Account"},
{tag:"98A",status:O,tno:67,letter:["98A","98C"],label:"Processing Date/Time"},
{tag:"20C",status:O,tno:68,letter:[],label:"Processing Reference"},
{cyclist:"69",cycs:[[
......@@ -613,7 +613,7 @@ const Tags = [
pattern:[
{tag:"95C",status:M,tno:65,letter:["95C","95L","95P","95Q","95R","95S"],label:"Party"}
] },
{tag:"97A",status:O,tno:66,letter:["97A","97B"],label:"Safekeeping Account"},
{tag:"97A",status:O,tno:66,letter:["97A","97B","97D"],label:"Safekeeping Account"},
{tag:"98A",status:O,tno:67,letter:["98A","98C"],label:"Processing Date/Time"},
{tag:"20C",status:O,tno:68,letter:[],label:"Processing Reference"},
{cyclist:"69",cycs:[[
......@@ -725,7 +725,7 @@ const Tags = [
pattern:[
{tag:"95C",status:M,tno:65,letter:["95C","95L","95P","95Q","95R","95S"],label:"Party"}
] },
{tag:"97A",status:O,tno:66,letter:["97A","97B"],label:"Safekeeping Account"},
{tag:"97A",status:O,tno:66,letter:["97A","97B","97D"],label:"Safekeeping Account"},
{tag:"98A",status:O,tno:67,letter:["98A","98C"],label:"Processing Date/Time"},
{tag:"20C",status:O,tno:68,letter:[],label:"Processing Reference"},
{cyclist:"69",cycs:[[
......@@ -744,7 +744,7 @@ const Tags = [
pattern:[
{tag:"95C",status:M,tno:65,letter:["95C","95L","95P","95Q","95R","95S"],label:"Party"}
] },
{tag:"97A",status:O,tno:66,letter:["97A","97B"],label:"Safekeeping Account"},
{tag:"97A",status:O,tno:66,letter:["97A","97B","97D"],label:"Safekeeping Account"},
{tag:"98A",status:O,tno:67,letter:["98A","98C"],label:"Processing Date/Time"},
{tag:"20C",status:O,tno:68,letter:[],label:"Processing Reference"},
{cyclist:"69",cycs:[[
......@@ -849,7 +849,7 @@ const Tags = [
pattern:[
{tag:"95C",status:M,tno:84,letter:["95C","95L","95P","95Q","95R","95S"],label:"Party"}
] },
{tag:"97A",status:O,tno:85,letter:[],label:"Safekeeping Account"},
{tag:"97A",status:O,tno:85,letter:["97A","97D"],label:"Safekeeping Account"},
{cyclist:"86",cycs:[[
{tag:"70C",status:O,tno:86,letter:["70C","70D","70E"],label:"Narrative"}
]],
......@@ -867,7 +867,7 @@ const Tags = [
pattern:[
{tag:"95C",status:M,tno:84,letter:["95C","95L","95P","95Q","95R","95S"],label:"Party"}
] },
{tag:"97A",status:O,tno:85,letter:[],label:"Safekeeping Account"},
{tag:"97A",status:O,tno:85,letter:["97A","97D"],label:"Safekeeping Account"},
{cyclist:"86",cycs:[[
{tag:"70C",status:O,tno:86,letter:["70C","70D","70E"],label:"Narrative"}
]],
......
......@@ -80,6 +80,7 @@ T60M:{"s3":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"a","option
T72Z:{"s1":{"reg":"[\\w\\.,\\-\\(\\)/\u003d\u0027\\+:\\?!\"%\u0026\\*\\\u003c\\\u003e;\\{\\s@#]{0,35}","line":6,"length":35,"fixed":false,"type":"z","option":"M"}},
T97A:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,35}","line":1,"length":35,"fixed":false,"type":"x","option":"M"}},
T97B:{"s3":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s4":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,35}","line":1,"length":35,"fixed":false,"type":"x","option":"M"},"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[A-Z0-9]{1,8}","line":1,"length":8,"fixed":false,"type":"c","option":"O"}},
T97D:{"s3":{"reg":"[0-9a-zA-Z\\-\\?:\\(\\)\\.,'\\+ ]{0,140}","line":1,"length":140,"fixed":false,"type":"x","option":"M"},"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[A-Z0-9]{1,8}","line":1,"length":8,"fixed":false,"type":"c","option":"O"}},
T85A:{"s3":{"reg":"[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?","line":1,"length":8,"fixed":true,"type":"FUNC","content":"SWIFTBIC","option":"M"},"s1":{"reg":"C|D|RC|RD","line":1,"length":2,"fixed":true,"type":"FUNC","content":"DC","option":"O"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,34}","line":1,"length":34,"fixed":false,"type":"x","option":"O"}},
T97C:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"}},
T85B:{"s3":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,35}","line":1,"length":35,"fixed":false,"type":"x","option":"O"},"s1":{"reg":"C|D|RC|RD","line":1,"length":2,"fixed":true,"type":"FUNC","content":"DC","option":"O"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,34}","line":1,"length":34,"fixed":false,"type":"x","option":"O"}},
......@@ -116,6 +117,7 @@ T62M:{"s3":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"a","option
T50L:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,35}","line":1,"length":35,"fixed":false,"type":"x","option":"M"}},
T99A:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"\\d{3}","line":1,"length":3,"fixed":true,"type":"n","option":"M"}},
T99B:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"\\d{3}","line":1,"length":3,"fixed":true,"type":"n","option":"M"}},
T99C:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"\\d{6}","line":1,"length":6,"fixed":true,"type":"n","option":"M"}},
T87A:{"s3":{"reg":"[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?","line":1,"length":8,"fixed":true,"type":"FUNC","content":"SWIFTBIC","option":"M"},"s1":{"reg":"C|D|RC|RD","line":1,"length":2,"fixed":true,"type":"FUNC","content":"DC","option":"O"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,34}","line":1,"length":34,"fixed":false,"type":"x","option":"O"}},
T99C:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"\\d{6}","line":1,"length":6,"fixed":true,"type":"n","option":"M"}},
T87B:{"s3":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,35}","line":1,"length":35,"fixed":false,"type":"x","option":"O"},"s1":{"reg":"C|D|RC|RD","line":1,"length":2,"fixed":true,"type":"FUNC","content":"DC","option":"O"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,34}","line":1,"length":34,"fixed":false,"type":"x","option":"O"}},
......@@ -339,6 +341,7 @@ T35U:{"s3":{"reg":"[A-Z]{1}","line":1,"length":1,"fixed":false,"type":"a","optio
T23X:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,65}","line":1,"length":65,"fixed":false,"type":"x","option":"M"}},
T20:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,16}","line":1,"length":16,"fixed":false,"type":"x","option":"M"}},
T36B:{"s3":{"reg":"[\\d,]{1,15}","line":1,"length":15,"fixed":true,"type":"FUNC","content":"NUMBER","option":"M"},"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"}},
T36D:{"s3":{"reg":"[\\d,]{1,30}","line":1,"length":30,"fixed":true,"type":"FUNC","content":"NUMBER","option":"M"},"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"}},
T21:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,16}","line":1,"length":16,"fixed":false,"type":"x","option":"M"}},
T24B:{"s3":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[A-Z0-9]{1,8}","line":1,"length":8,"fixed":false,"type":"c","option":"O"}},
T12A:{"s3":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,30}","line":1,"length":30,"fixed":false,"type":"x","option":"M"},"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[A-Z0-9]{1,8}","line":1,"length":8,"fixed":false,"type":"c","option":"O"}},
......
......@@ -359,6 +359,7 @@ export default class T22F extends Component
<Option value="WTHD">WTHD</Option>
<Option value="COLA">COLA</Option>
<Option value="COLN">COLN</Option>
<Option value="UDMS">UDMS</Option>
</Select>
</FormItem>
</Col>
......
import React,{Component} from 'react'
import { Form, Input, DatePicker,Row, Col,Button,Icon ,Select} from 'antd';
import {InputSize,Currency,FormatAmount} from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T36D extends Component
{
name='36D'
desp = "Quantity of Financial Instrument"
pattern = ":4!c//4!c/30d"
tno = -1
keys=[1,2,3]
onChange=(index,value)=>
{
let obj = {};
if(!value)
value = ""
let objtemp =this.props.value
objtemp = objtemp && objtemp.length? objtemp[0] : {}
objtemp["s"+index] = value;
this.keys.forEach(i=>{
obj['s'+i] = objtemp['s'+i]
});
let temp = FormatAmount(obj.s3);
let mval = `:${obj.s1}//${obj.s2}/${temp}`
this.props.onValue([obj,mval])
}
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 style={{"minWidth":'100px'}} span={3}>
<FormItem
label="Qualifier"
required={this.props.status=='M' || mval?'required':null}
help={errmsg.s1}
validateStatus={errmsg.s1?'error':null}
>
<Select
placeholder="Qualifier"
showSearch
allowClear={true}
optionFilterProp="children"
notFoundContent="Wrong Code"
style={{ width: "100%" }} value={value.s1} onChange={val=>this.onChange(1,val)} >
<Option value="PAIR">PAIR</Option>
<Option value="TURN">TURN</Option>
<Option value="MION">MION</Option>
<Option value="SIZE">SIZE</Option>
<Option value="SETT">SETT</Option>
<Option value="LOST">LOST</Option>
</Select>
</FormItem>
</Col>
<Col style={{"minWidth":'200px'}} span={3}>
<FormItem
label="Quantity Type Code"
required={this.props.status=='M' || mval?'required':null}
help={errmsg.s2}
validateStatus={errmsg.s2?'error':null}
>
<Select
placeholder="Quantity Type Code"
showSearch
allowClear={true}
optionFilterProp="children"
notFoundContent="Wrong Code"
style={{ width: "100%" }} value={value.s2} onChange={val=>this.onChange(2,val)} >
<Option value="AMOR">AMOR</Option>
<Option value="FAMT">FAMT</Option>
<Option value="UNIT">UNIT</Option>
</Select>
</FormItem>
</Col>
<Col style={{ "minWidth": '300px' }} span={3}>
<FormItem
label="Quantity of Digital Tokens"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s3}
validateStatus={errmsg.s3 ? 'error' : null}
>
<Input value={value.s3} onChange={e => this.onChange(3, e.target.value)} maxLength={30} style={{ imeMode: 'disabled' }} placeholder="Quantity of Digital Tokens" />
</FormItem>
</Col>
</Row>)
}
}
import React,{Component} from 'react'
import { Form, Input, DatePicker,Row, Col,Button,Icon ,Select} from 'antd';
import {InputSize,Currency,FormatAmount} from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T97D extends Component
{
name='97D'
desp = "Blockchain Address or Wallet"
pattern = ":4!c/[8c]/140x"
tno = -1
keys=[1,2,3]
onChange=(index,value)=>
{
let obj = {};
if(!value)
value = ""
let objtemp =this.props.value
objtemp = objtemp && objtemp.length? objtemp[0] : {}
objtemp["s"+index] = value;
this.keys.forEach(i=>{
obj['s'+i] = objtemp['s'+i]
});
let mval = `:${obj.s1}//${obj.s3}`
if (obj.s2)
mval = `:${obj.s1}/${obj.s2}/${obj.s3}`
this.props.onValue([obj,mval])
}
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}>
<Col style={{"minWidth":'100px'}} span={3}>
<FormItem
label="Qualifier"
required={this.props.status=='M' || mval?'required':null}
help={errmsg.s1}
validateStatus={errmsg.s1?'error':null}
>
<Select
placeholder="Qualifier"
showSearch
allowClear={true}
optionFilterProp="children"
notFoundContent="Wrong Code"
style={{ width: "100%" }} value={value.s1} onChange={val=>this.onChange(1,val)} >
<Option value="SAFE">SAFE</Option>
<Option value="CASH">CASH</Option>
<Option value="CHAR">CHAR</Option>
<Option value="COMM">COMM</Option>
<Option value="TAXE">TAXE</Option>
</Select>
</FormItem>
</Col>
<Col span={12}>
<FormItem
label="Data Source Scheme"
help={errmsg.s2}
validateStatus={errmsg.s2 ? 'error' : null}
>
<Input type="text" value={value.s2} addonBefore="/" onChange={e =>this.onChange(2, e.target.value)} maxLength={8} style={{ imeMode:'disabled'}} placeholder="Data Source Scheme" />
</FormItem>
</Col>
</Col>
<Col style={{"minWidth":'400px'}} span={3}>
<FormItem
label="Identification of Blockchain or Wallet"
required={this.props.status=='M' || mval?'required':null}
help={errmsg.s3}
validateStatus={errmsg.s3?'error':null}
>
<Input value={value.s3} onChange={e=>this.onChange(3,e.target.value)} maxLength={140} style={{imeMode:'disabled'}} placeholder="Identification of Blockchain or Wallet"/>
</FormItem>
</Col>
</Row>
)
}
}
import React,{Component} from 'react'
import { Form, Input, DatePicker,Row, Col,Button,Icon ,Select} from 'antd';
import {InputSize,Currency,FormatAmount} from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class TT99C extends Component
{
name='T99C'
desp = "Number Count"
pattern = ":4!c//6!n"
tno = -1
keys=[1,2]
onChange=(index,value)=>
{
let obj = {};
if(!value)
value = ""
let objtemp =this.props.value
objtemp = objtemp && objtemp.length? objtemp[0] : {}
objtemp["s"+index] = value;
this.keys.forEach(i=>{
obj['s'+i] = objtemp['s'+i]
});
let mval = `:${obj.s1}//${obj.s2}`
this.props.onValue([obj,mval])
}
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 style={{"minWidth":'100px'}} span={3}>
<FormItem
label="Qualifier"
required={this.props.status=='M' || mval?'required':null}
help={errmsg.s1}
validateStatus={errmsg.s1?'error':null}
>
<Select
placeholder="Qualifier"
showSearch
allowClear={true}
optionFilterProp="children"
notFoundContent="Wrong Code"
style={{ width: "100%" }} value={value.s1} onChange={val=>this.onChange(1,val)} >
<Option value="SETT">SETT</Option>
<Option value="TOSE">TOSE</Option>
<Option value="CADE">CADE</Option>
<Option value="TOCO">TOCO</Option>
</Select>
</FormItem>
</Col>
<Col style={{"minWidth":'200px'}} span={3}>
<FormItem
label="Number"
required={this.props.status=='M' || mval?'required':null}
help={errmsg.s2}
validateStatus={errmsg.s2?'error':null}
>
<Input value={value.s2} onChange={e=>this.onChange(2,e.target.value)} maxLength={6} style={{imeMode:'disabled'}} placeholder="Number"/>
</FormItem>
</Col>
</Row>)
}
}
......@@ -302,12 +302,14 @@ import T98G from './T98G'
import T98H from './T98H'
import T20C from './T20C'
import T99B from './T99B'
import T99C from './T99C'
import T99A from './T99A'
import T23G from './T23G'
import T98A from './T98A'
import T22F from './T22F'
import T13A from './T13A'
import T36B from './T36B'
import T36D from './T36D'
import T94B from './T94B'
import T94H from './T94H'
import T94L from './T94L'
......@@ -334,6 +336,7 @@ import T92C from './T92C'
import T19A from './T19A'
import T97A from './T97A'
import T97B from './T97B'
import T97D from './T97D'
import T97E from './T97E'
import T70C from './T70C'
import T16R from './T16R'
......@@ -650,13 +653,14 @@ export default function(tag,props,onValue){
        case "T98H" :return <T98H   {...props}  onValue={onValue}   />;
case "T20C" :return <T20C   {...props}  onValue={onValue}   />;
case "T99B" :return <T99B   {...props}  onValue={onValue}   />;
case "T99C" :return <T99C   {...props}  onValue={onValue}   />;
case "T99A" :return <T99A   {...props}  onValue={onValue}   />;
case "T23G" :return <T23G   {...props}  onValue={onValue}   />;
case "T98A" :return <T98A   {...props}  onValue={onValue}   />;
case "T22F" :return <T22F   {...props}  onValue={onValue}   />;
case "T13A" :return <T13A   {...props}  onValue={onValue}   />;
case "T36B" :return <T36B   {...props}  onValue={onValue}   />;
case "T36B" :return <T36B   {...props}  onValue={onValue}   />;
case "T36D" :return <T36D   {...props}  onValue={onValue}   />;
case "T94B" :return <T94B   {...props}  onValue={onValue}   />;
case "T12A" :return <T12A   {...props}  onValue={onValue}   />;
case "T12"  :return <T12    {...props}  onValue={onValue}   />;
......@@ -684,6 +688,7 @@ export default function(tag,props,onValue){
case "T19A" :return <T19A   {...props}  onValue={onValue}   />;
case "T97A" :return <T97A   {...props}  onValue={onValue}   />;
case "T97B" :return <T97B   {...props}  onValue={onValue}   />;
case "T97D" :return <T97D   {...props}  onValue={onValue}   />;
case "T97E" :return <T97E   {...props}  onValue={onValue}   />;
case "T70C" :return <T70C   {...props}  onValue={onValue}   />;
case "T16S" :return <T16S   {...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