Commit 815b9289 by s_guodong

修改44E,44F的规则

parent 15184a62
...@@ -214,11 +214,11 @@ T44C:{"s1":{"reg":"\\d{6}","line":1,"length":5,"fixed":true,"type":"FUNC","conte ...@@ -214,11 +214,11 @@ T44C:{"s1":{"reg":"\\d{6}","line":1,"length":5,"fixed":true,"type":"FUNC","conte
T32B:{"s1":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"FUNC","content":"CUR","option":"M"},"s2":{"reg":"[\\d,]{1,15}","line":1,"length":15,"fixed":true,"type":"FUNC","content":"AMOUNT","option":"M"}}, T32B:{"s1":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"FUNC","content":"CUR","option":"M"},"s2":{"reg":"[\\d,]{1,15}","line":1,"length":15,"fixed":true,"type":"FUNC","content":"AMOUNT","option":"M"}},
T44D:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{0,65}","line":6,"length":65,"fixed":false,"type":"x","option":"M"}}, T44D:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{0,65}","line":6,"length":65,"fixed":false,"type":"x","option":"M"}},
T20C:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,16}","line":1,"length":16,"fixed":false,"type":"x","option":"M"}}, T20C:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,16}","line":1,"length":16,"fixed":false,"type":"x","option":"M"}},
T44E:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,65}","line":1,"length":65,"fixed":false,"type":"x","option":"M"}}, T44E:{"s1":{"reg":"[\\w\\.,\\-\\(\\)/\u003d\u0027\\+:\\?!\"%\u0026\\*\\\u003c\\\u003e;\\{\\s@#]{0,140}","line":1,"length":140,"fixed":false,"type":"z","option":"M"}},
T44F:{"s1":{"reg":"[\\w\\.,\\-\\(\\)/\u003d\u0027\\+:\\?!\"%\u0026\\*\\\u003c\\\u003e;\\{\\s@#]{0,140}","line":1,"length":140,"fixed":false,"type":"z","option":"M"}},
T32C:{"s3":{"reg":"[\\d,]{1,15}","line":1,"length":15,"fixed":true,"type":"FUNC","content":"AMOUNT","option":"M"},"s1":{"reg":"\\d{6}","line":1,"length":5,"fixed":true,"type":"FUNC","content":"DATE2","option":"M"},"s2":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"FUNC","content":"CUR","option":"M"}}, T32C:{"s3":{"reg":"[\\d,]{1,15}","line":1,"length":15,"fixed":true,"type":"FUNC","content":"AMOUNT","option":"M"},"s1":{"reg":"\\d{6}","line":1,"length":5,"fixed":true,"type":"FUNC","content":"DATE2","option":"M"},"s2":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"FUNC","content":"CUR","option":"M"}},
T32D:{"s3":{"reg":"[\\d,]{1,15}","line":1,"length":15,"fixed":true,"type":"FUNC","content":"AMOUNT","option":"M"},"s1":{"reg":"\\d{6}","line":1,"length":5,"fixed":true,"type":"FUNC","content":"DATE2","option":"M"},"s2":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"FUNC","content":"CUR","option":"M"}}, T32D:{"s3":{"reg":"[\\d,]{1,15}","line":1,"length":15,"fixed":true,"type":"FUNC","content":"AMOUNT","option":"M"},"s1":{"reg":"\\d{6}","line":1,"length":5,"fixed":true,"type":"FUNC","content":"DATE2","option":"M"},"s2":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"FUNC","content":"CUR","option":"M"}},
T20D:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,25}","line":1,"length":25,"fixed":false,"type":"x","option":"M"}}, T20D:{"s1":{"reg":"[A-Z0-9]{4}","line":1,"length":4,"fixed":true,"type":"c","option":"M"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,25}","line":1,"length":25,"fixed":false,"type":"x","option":"M"}},
T44F:{"s1":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,65}","line":1,"length":65,"fixed":false,"type":"x","option":"M"}},
T44H:{"s1":{"reg":"[A-Z]{2}","line":1,"length":2,"fixed":true,"type":"a","option":"M"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,65}","line":1,"length":65,"fixed":false,"type":"x","option":"O"}}, T44H:{"s1":{"reg":"[A-Z]{2}","line":1,"length":2,"fixed":true,"type":"a","option":"M"},"s2":{"reg":"[\\w/\\-\\?:\\(\\)\\.,\u0027+\\{\\} ]{1,65}","line":1,"length":65,"fixed":false,"type":"x","option":"O"}},
T32E:{"s1":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"FUNC","content":"CUR","option":"M"}}, T32E:{"s1":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"FUNC","content":"CUR","option":"M"}},
T32F:{"s1":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"a","option":"M"},"s2":{"reg":"[\\d,]{1,15}","line":1,"length":15,"fixed":true,"type":"FUNC","content":"NUMBER","option":"M"}}, T32F:{"s1":{"reg":"[A-Z]{3}","line":1,"length":3,"fixed":true,"type":"a","option":"M"},"s2":{"reg":"[\\d,]{1,15}","line":1,"length":15,"fixed":true,"type":"FUNC","content":"NUMBER","option":"M"}},
......
...@@ -10,7 +10,7 @@ export default class T44E extends Component ...@@ -10,7 +10,7 @@ export default class T44E extends Component
name='44E' name='44E'
desp = "Port of Loading/Airport of Departure" desp = "Port of Loading/Airport of Departure"
pattern = "" pattern = ""
tno = -1 tno = -1
...@@ -27,14 +27,14 @@ export default class T44E extends Component ...@@ -27,14 +27,14 @@ export default class T44E extends Component
value = value && value.length? value[0] : {} value = value && value.length? value[0] : {}
return (<Row> return (<Row>
<Col span={24}> <Col span={24}>
<FormItem <FormItem
help={errmsg.s1} help={errmsg.s1}
validateStatus={errmsg.s1?'error':null} validateStatus={errmsg.s1?'error':null}
> >
<Input maxLength={65} value={value.s1} placeholder="Narrative" style={{'imeMode':'disabled'}} onChange={e=>this.onChange(e.target.value)}/> <Input maxLength={140} value={value.s1} placeholder="Narrative" style={{'imeMode':'disabled'}} onChange={e=>this.onChange(e.target.value)}/>
</FormItem> </FormItem>
</Col> </Col>
</Row>) </Row>)
} }
} }
\ No newline at end of file
...@@ -10,7 +10,7 @@ export default class T44F extends Component ...@@ -10,7 +10,7 @@ export default class T44F extends Component
name='44F' name='44F'
desp = "Port of Discharge/Airport of Destination" desp = "Port of Discharge/Airport of Destination"
pattern = "" pattern = ""
tno = -1 tno = -1
...@@ -27,14 +27,14 @@ export default class T44F extends Component ...@@ -27,14 +27,14 @@ export default class T44F extends Component
value = value && value.length? value[0] : {} value = value && value.length? value[0] : {}
return (<Row> return (<Row>
<Col span={24}> <Col span={24}>
<FormItem <FormItem
help={errmsg.s1} help={errmsg.s1}
validateStatus={errmsg.s1?'error':null} validateStatus={errmsg.s1?'error':null}
> >
<Input maxLength={65} value={value.s1} placeholder="Narrative" style={{'imeMode':'disabled'}} onChange={e=>this.onChange(e.target.value)}/> <Input maxLength={140} value={value.s1} placeholder="Narrative" style={{'imeMode':'disabled'}} onChange={e=>this.onChange(e.target.value)}/>
</FormItem> </FormItem>
</Col> </Col>
</Row>) </Row>)
} }
} }
\ No newline at end of file
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