Commit 25bbd6ff by snail

更新17域

parent 08e61838
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17E extends Component {
name = '17E'
desp = "Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
......@@ -40,8 +40,8 @@ export default class T17F extends Component {
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="C">N</Option>
<Option value="D">Y</Option>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
......
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17H extends Component {
name = '17H'
desp = "Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="A">A</Option>
<Option value="P">P</Option>
<Option value="U">U</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
......@@ -40,8 +40,8 @@ export default class T17I extends Component {
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="C">N</Option>
<Option value="D">Y</Option>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
......
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17L extends Component {
name = '17L'
desp = "Portfolio Compression Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17M extends Component {
name = '17M'
desp = "Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="A">A</Option>
<Option value="C">C</Option>
<Option value="F">F</Option>
<Option value="I">I</Option>
<Option value="L">L</Option>
<Option value="O">O</Option>
<Option value="R">R</Option>
<Option value="U">U</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
......@@ -40,8 +40,8 @@ export default class T17O extends Component {
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="C">N</Option>
<Option value="D">Y</Option>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
......
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17P extends Component {
name = '17P'
desp = "Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="F">F</Option>
<Option value="O">O</Option>
<Option value="P">P</Option>
<Option value="U">U</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17Q extends Component {
name = '17Q'
desp = "Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17S extends Component {
name = '17S'
desp = "Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
......@@ -40,8 +40,8 @@ export default class T17T extends Component {
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="C">N</Option>
<Option value="D">Y</Option>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
......
......@@ -40,8 +40,8 @@ export default class T17U extends Component {
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="C">N</Option>
<Option value="D">Y</Option>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
......
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17W extends Component {
name = '17W'
desp = "Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17X extends Component {
name = '17X'
desp = "Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17Y extends Component {
name = '17Y'
desp = "Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="F">F</Option>
<Option value="N">N</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
import React, { Component } from 'react'
import { Form, Input, DatePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency } from "./Utils"
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T17Z extends Component {
name = '17Z'
desp = "Block Trade Indicator"
pattern = "1!a"
tno = -1
onChange = (index, 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 (
<div>
<Row>
<Col span={3}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="N/Y" onChange={(val) => this.onChange(1, val)}>
<Option value="N">N</Option>
<Option value="Y">Y</Option>
</Select>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
......@@ -124,7 +124,7 @@ import T64 from './T64'
import T86 from './T86'
import T65 from './T65'
import T25P from './T25P'
<<<<<<< HEAD
//xinzeng
import T90A from './T90A'
import T90B from './T90B'
import T90C from './T90C'
......@@ -153,14 +153,26 @@ import T22L from './T22L'
import T15E from './T15E'
import T24D from './T24D'
import T14S from './T14S'
=======
//新增
import T15A from './T15A'
import T94A from './T94A'
import T22C from './T22C'
import T17E from './T17E'
import T17F from './T17F'
import T17H from './T17H'
import T17I from './T17I'
import T17L from './T17L'
import T17M from './T17M'
import T17O from './T17O'
import T17P from './T17P'
import T17Q from './T17Q'
import T17S from './T17S'
import T17T from './T17T'
import T17U from './T17U'
import T17I from './T17I'
import T17W from './T17W'
import T17X from './T17X'
import T17Y from './T17Y'
import T17Z from './T17Z'
import T82A from './T82A'
import T82D from './T82D'
import T82J from './T82J'
......@@ -176,7 +188,6 @@ import T14C from './T14C'
import T32E from './T32E'
import T30U from './T30U'
import T39M from './T39M'
>>>>>>> 17586701b8b55cff5a5d09db8bb21e9918f59300
export default function(tag,props,onValue){
switch(tag)
......@@ -306,7 +317,6 @@ export default function(tag,props,onValue){
case "T65" :return <T65 {...props} onValue={onValue} />;
case "T86" :return <T86 {...props} onValue={onValue} />;
case "T25P" :return <T25P {...props} onValue={onValue} />;
<<<<<<< HEAD
case "T90A" :return <T90A {...props} onValue={onValue} />;
case "T90B" :return <T90B {...props} onValue={onValue} />;
case "T90C" :return <T90C {...props} onValue={onValue} />;
......@@ -335,14 +345,26 @@ export default function(tag,props,onValue){
case "T15E" :return <T15E {...props} onValue={onValue} />;
case "T24D" :return <T24D {...props} onValue={onValue} />;
case "T14S" :return <T14S {...props} onValue={onValue} />;
=======
//新增
case "T15A" :return <T15A {...props} onValue={onValue} />;
case "T94A" :return <T94A {...props} onValue={onValue} />;
case "T22C" :return <T22C {...props} onValue={onValue} />;
case "T17E" :return <T17E {...props} onValue={onValue} />;
case "T17F" :return <T17F {...props} onValue={onValue} />;
case "T17H" :return <T17H {...props} onValue={onValue} />;
case "T17I" :return <T17I {...props} onValue={onValue} />;
case "T17L" :return <T17L {...props} onValue={onValue} />;
case "T17M" :return <T17M {...props} onValue={onValue} />;
case "T17O" :return <T17O {...props} onValue={onValue} />;
case "T17P" :return <T17P {...props} onValue={onValue} />;
case "T17Q" :return <T17Q {...props} onValue={onValue} />;
case "T17S" :return <T17S {...props} onValue={onValue} />;
case "T17T" :return <T17T {...props} onValue={onValue} />;
case "T17U" :return <T17U {...props} onValue={onValue} />;
case "T17I" :return <T17I {...props} onValue={onValue} />;
case "T17W" :return <T17W {...props} onValue={onValue} />;
case "T17X" :return <T17X {...props} onValue={onValue} />;
case "T17Y" :return <T17Y {...props} onValue={onValue} />;
case "T17Z" :return <T17Z {...props} onValue={onValue} />;
case "T82A" :return <T82A {...props} onValue={onValue} />;
case "T82D" :return <T82D {...props} onValue={onValue} />;
case "T82J" :return <T82J {...props} onValue={onValue} />;
......@@ -360,7 +382,6 @@ export default function(tag,props,onValue){
case "T39M" :return <T39M {...props} onValue={onValue} />;
>>>>>>> 17586701b8b55cff5a5d09db8bb21e9918f59300
}
}
\ 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