Commit 0dbcb588 by gq777

gengxin

parent e535afc4
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 T14D extends Component
{
name='14D'
desp = "Day Count Fraction"
pattern = ""
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={5}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1?'error':null}
>
<Select size={InputSize}
placeholder={this.props.desp}
showSearch
allowClear={true}
optionFilterProp="children"
notFoundContent="Wrong Code"
style={{ width: "100%" }} value={value.s1} onChange={val=>this.onChange(val)} >
<Option value="30E/360">30E/360</Option>
<Option value="360/360">360/360</Option>
<Option value="ACT/360">ACT/360</Option>
<Option value="ACT/365">ACT/365</Option>
<Option value="AFI/365">AFI/365</Option>
</Select>
</FormItem>
</Col>
</Row>)
}
}
\ No newline at end of file
import React,{Component} from 'react'
import { Form, Input, DatePicker,TimePicker,Row, Col,Button,Icon ,Select} from 'antd';
import {InputSize,Currency,FormatAmount} from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T30F extends Component
{
name='30F'
desp = "Last Day of the First Interest Period"
pattern = "8!n"
tno = -1
keys=[1]
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}`
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="Date"
required={this.props.status=='M' || mval?'required':null}
help={errmsg.s1}
validateStatus={errmsg.s1?'error':null}
>
<DatePicker defaultValue="" format="yyyyMMdd" value={value.s1} onChange={(date, dateString)=>this.onChange(1,dateString)} />
</FormItem>
</Col>
</Row>)
}
}
\ No newline at end of file
import React,{Component} from 'react'
import { Form, Input, DatePicker,TimePicker,Row, Col,Button,Icon ,Select} from 'antd';
import {InputSize,Currency,FormatAmount} from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T30X extends Component
{
name='30X'
desp = "Next Interest Due Date"
pattern = "8!n"
tno = -1
keys=[1]
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}`
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="Date"
required={this.props.status=='M' || mval?'required':null}
help={errmsg.s1}
validateStatus={errmsg.s1?'error':null}
>
<DatePicker defaultValue="" format="yyyyMMdd" value={value.s1} onChange={(date, dateString)=>this.onChange(1,dateString)} />
</FormItem>
</Col>
</Row>)
}
}
\ 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, FormatAmount } from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T32H extends Component {
name = '32H'
desp = "Amount to be Settled"
pattern = "[N]3!a15d"
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 temp = FormatAmount(obj.s2);
let mval = ""
mval = `${obj.s1}${temp}`
if (obj.s3)
mval = '/' + obj.s3 + mval
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="Sign"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s3}
validateStatus={errmsg.s3 ? 'error' : null}
>
<Select allowClear={true} value={value.s3} placeholder="Sign" style={{ width: "100%" }} onChange={val => this.onChange(3, val)}>
<Option value={'+'}>{"+"}</Option>
<Option value={'-'}>{"-"}</Option>
</Select>
</FormItem>
</Col>
<Col style={{ "minWidth": '100px' }} span={3}>
<FormItem
label="Currency"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select
placeholder="Currency"
showSearch
allowClear={true}
optionFilterProp="children"
notFoundContent="Wrong Code"
style={{ width: "100%" }} value={value.s1} onChange={val => this.onChange(1, val)} >
{
Currency.map(cur => <Option key={cur} value={cur}>{cur}</Option>)
}
</Select>
</FormItem>
</Col>
<Col style={{ "minWidth": '200px' }} span={3}>
<FormItem
label="Amount"
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={15} style={{ imeMode: 'disabled' }} placeholder="Amount" />
</FormItem>
</Col>
</Row>)
}
}
\ No newline at end of file
......@@ -33,9 +33,11 @@ export default class T90A extends Component
});
let temp = FormatAmount(obj.s3);
let mval = ""
mval = `${obj.s1}${obj.s2}${temp}`
mval = `${obj.s1}${obj.s2}`
if(obj.s4)
mval = mval +'/'+obj.s4
mval = mval + `${temp}`
this.props.onValue([obj,mval])
}
......@@ -147,16 +149,6 @@ export default class T90A extends Component
</Select>
</FormItem>
</Col>
<Col style={{"minWidth":'200px'}} span={3}>
<FormItem
label="Price"
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={16} style={{imeMode:'disabled'}} placeholder="Price"/>
</FormItem>
</Col>
<Col style={{"minWidth":'100px'}} span={3}>
<FormItem
label="Sign"
......@@ -170,6 +162,17 @@ export default class T90A extends Component
</Select>
</FormItem>
</Col>
<Col style={{"minWidth":'200px'}} span={3}>
<FormItem
label="Price"
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={15} style={{imeMode:'disabled'}} placeholder="Price"/>
</FormItem>
</Col>
</Row>)
}
}
\ 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, FormatAmount } from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T34E extends Component {
name = '34E'
desp = "Currency and Interest Amount"
pattern = "[N]3!a15d"
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 temp = FormatAmount(obj.s2);
let mval = ""
mval = `${obj.s1}${temp}`
if (obj.s3)
mval = '/' + obj.s3 + mval
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="Sign"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s3}
validateStatus={errmsg.s3 ? 'error' : null}
>
<Select allowClear={true} value={value.s3} placeholder="Sign" style={{ width: "100%" }} onChange={val => this.onChange(3, val)}>
<Option value={'+'}>{"+"}</Option>
<Option value={'-'}>{"-"}</Option>
</Select>
</FormItem>
</Col>
<Col style={{ "minWidth": '100px' }} span={3}>
<FormItem
label="Currency"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select
placeholder="Currency"
showSearch
allowClear={true}
optionFilterProp="children"
notFoundContent="Wrong Code"
style={{ width: "100%" }} value={value.s1} onChange={val => this.onChange(1, val)} >
{
Currency.map(cur => <Option key={cur} value={cur}>{cur}</Option>)
}
</Select>
</FormItem>
</Col>
<Col style={{ "minWidth": '200px' }} span={3}>
<FormItem
label="Amount"
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={15} style={{ imeMode: 'disabled' }} placeholder="Amount" />
</FormItem>
</Col>
</Row>)
}
}
\ 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, FormatAmount } from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T37G extends Component {
name = '37G'
desp = "Interest Rate"
pattern = "[N]12d"
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}`
if (obj.s2)
mval = '/' + obj.s2 + mval
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="Sign"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s2}
validateStatus={errmsg.s2 ? 'error' : null}
>
<Select allowClear={true} value={value.s2} placeholder="Sign" style={{ width: "100%" }} onChange={val => this.onChange(2, val)}>
<Option value={'+'}>{"+"}</Option>
<Option value={'-'}>{"-"}</Option>
</Select>
</FormItem>
</Col>
<Col style={{ "minWidth": '200px' }} span={3}>
<FormItem
label="Rate"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Input value={value.s1} onChange={e => this.onChange(1, e.target.value)} maxLength={12} style={{ imeMode: 'disabled' }} placeholder="Rate" />
</FormItem>
</Col>
</Row>)
}
}
\ 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, FormatAmount } from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T38J extends Component {
name = '38J'
desp = "Number of Days"
pattern = " 1!a3!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="Indicator"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<Select allowClear={true} value={value.s1} placeholder="Indicator" style={{ width: "100%" }} onChange={val => this.onChange(1, val)}>
<Option value="D">D</Option>
<Option value="M">M</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.s1} onChange={e => this.onChange(2, e.target.value)} maxLength={3} style={{ imeMode: 'disabled' }} placeholder="Number" />
</FormItem>
</Col>
</Row>)
}
}
\ No newline at end of file
import React, { Component } from 'react'
import TextArea from './ZTextArea'
import { Form, Input, DatePicker, TimePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency, FormatAmount } from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T56J extends Component {
name = '56J'
desp = "Intermediary"
pattern = "5*40x"
tno = -1
keys = [1]
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}`
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}>
<FormItem
label="Party Identification"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<TextArea type="textarea" maxLength={5*40} cols={35} rows={5} style={{ imeMode: 'disabled' }} placeholder="Party Identification" value={value.s1} onChange={(e) => this.onChange(1, e.target.value)} />
</FormItem>
</Col>
</Row>
)
}
}
\ 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 T86A extends Component {
name = '86A'
desp = "Intermediary 2"
pattern = ""
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 = ""
if (obj.s1)
mval = '/' + obj.s1
if (obj.s2)
mval = mval + '/' + obj.s2
if (obj.s3)
mval = mval ? `${mval}\r\n${obj.s3}` : 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 (
<div>
<Row>
<Col style={{ "minWidth": '100px' }} span={16}>
<Col span={10}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
label="D/C"
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="D/C" onChange={(val) => this.onChange(1, val)}>
<Option value="C">C</Option>
<Option value="D">D</Option>
</Select>
</FormItem>
</Col>
<Col span={14}>
<FormItem
help={errmsg.s2}
validateStatus={errmsg.s2 ? 'error' : null}
label="Account"
>
<Input addonBefore="/" maxLength={34} style={{ imeMode: 'disabled' }} placeholder="Account" value={value.s2} onChange={(e) => this.onChange(2, e.target.value)} />
</FormItem>
</Col>
</Col>
</Row>
<Row>
<Col>
<FormItem
label="Identifier Code"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s3}
validateStatus={errmsg.s3 ? 'error' : null}
>
<Input addonAfter={<YBIC onSelect={obj => this.onChange(3, obj.bic)} />} maxLength={16} style={{ imeMode: 'disabled' }} placeholder="Identifier Code" value={value.s3} onChange={(e) => this.onChange(3, e.target.value)} />
</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 TextArea from './ZTextArea'
import YBIC from './YBIC'
const FormItem = Form.Item;
const Option = Select.Option
export default class T86D extends Component
{
name='86D'
desp = "Intermediary 2"
pattern = ""
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 = ""
if(obj.s1)
mval = '/' + obj.s1
if(obj.s2)
mval = mval +'/' + obj.s2
if(obj.s3)
mval = mval?`${mval}\r\n${obj.s3}`: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 (
<div>
<Row>
<Col style={{"minWidth":'100px'}} span={16}>
<Col span={10}>
<FormItem
help={errmsg.s1}
validateStatus={errmsg.s1?'error':null}
label="D/C"
>
<Select allowClear={true} value={value.s1} style={{ width: "100%" }} placeholder="D/C" onChange={(val)=>this.onChange(1,val)}>
<Option value="C">C</Option>
<Option value="D">D</Option>
</Select>
</FormItem>
</Col>
<Col span={14}>
<FormItem
help={errmsg.s2}
validateStatus={errmsg.s2?'error':null}
label="Account"
>
<Input addonBefore="/" maxLength={34} style={{imeMode:'disabled'}} placeholder="Account" value={value.s2} onChange={(e)=>this.onChange(2,e.target.value)}/>
</FormItem>
</Col>
</Col>
</Row>
<Row>
<Col>
<FormItem
label="Name and Address"
required={this.props.status=='M' || mval?'required':null}
help={errmsg.s3}
validateStatus={errmsg.s3?'error':null}
>
<TextArea rows={4} cols={35} addonAfter={ <YBIC onSelect={obj=>this.onChange(3,obj.name)} /> } type= "textarea" maxLength={140} style={{imeMode:'disabled'}} placeholder="Name and Address" value={value.s3} onChange={(e)=>this.onChange(3,e.target.value)}/>
</FormItem>
</Col>
</Row>
</div>
)
}
}
\ No newline at end of file
import React, { Component } from 'react'
import TextArea from './ZTextArea'
import { Form, Input, DatePicker, TimePicker, Row, Col, Button, Icon, Select } from 'antd';
import { InputSize, Currency, FormatAmount } from "./Utils"
const FormItem = Form.Item;
const Option = Select.Option
export default class T86J extends Component {
name = '86J'
desp = "Intermediary 2"
pattern = "5*40x"
tno = -1
keys = [1]
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}`
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}>
<FormItem
label="Party Identification"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s1}
validateStatus={errmsg.s1 ? 'error' : null}
>
<TextArea type="textarea" maxLength={5*40} cols={35} rows={5} style={{ imeMode: 'disabled' }} placeholder="Party Identification" value={value.s1} onChange={(e) => this.onChange(1, e.target.value)} />
</FormItem>
</Col>
</Row>
)
}
}
\ No newline at end of file
......@@ -33,9 +33,11 @@ export default class T90A extends Component
});
let temp = FormatAmount(obj.s3);
let mval = ""
mval = `${obj.s1}${obj.s2}${temp}`
mval = `${obj.s1}${obj.s2}`
if(obj.s4)
mval = mval +'/'+obj.s4
mval = mval+`${temp}`
this.props.onValue([obj,mval])
}
......@@ -97,16 +99,6 @@ export default class T90A extends Component
</Select>
</FormItem>
</Col>
<Col style={{"minWidth":'200px'}} span={3}>
<FormItem
label="Price"
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={16} style={{imeMode:'disabled'}} placeholder="Price"/>
</FormItem>
</Col>
<Col style={{"minWidth":'100px'}} span={3}>
<FormItem
label="Sign"
......@@ -120,6 +112,17 @@ export default class T90A extends Component
</Select>
</FormItem>
</Col>
<Col style={{"minWidth":'200px'}} span={3}>
<FormItem
label="Price"
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={15} style={{imeMode:'disabled'}} placeholder="Price"/>
</FormItem>
</Col>
</Row>)
}
}
\ No newline at end of file
......@@ -123,7 +123,7 @@ export default class T90B extends Component
validateStatus={errmsg.s4?'error':null}
>
<Input value={value.s4} onChange={e=>this.onChange(4,e.target.value)} maxLength={16} style={{imeMode:'disabled'}} placeholder="Price"/>
<Input value={value.s4} onChange={e=>this.onChange(4,e.target.value)} maxLength={15} style={{imeMode:'disabled'}} placeholder="Price"/>
</FormItem>
</Col>
</Row>)
......
......@@ -124,11 +124,6 @@ import T64 from './T64'
import T86 from './T86'
import T65 from './T65'
import T25P from './T25P'
<<<<<<< HEAD
=======
//xinzeng
>>>>>>> 5f958ca09fec2e32c28fb7949d1f4f41a25f80e9
import T90A from './T90A'
import T90B from './T90B'
import T90C from './T90C'
......@@ -157,11 +152,6 @@ import T22L from './T22L'
import T15E from './T15E'
import T24D from './T24D'
import T14S from './T14S'
<<<<<<< HEAD
=======
//新增
>>>>>>> 5f958ca09fec2e32c28fb7949d1f4f41a25f80e9
import T15A from './T15A'
import T94A from './T94A'
import T22C from './T22C'
......@@ -196,7 +186,6 @@ import T14C from './T14C'
import T32E from './T32E'
import T30U from './T30U'
import T39M from './T39M'
<<<<<<< HEAD
import T21A from './T21A'
import T14E from './T14E'
import T15B from './T15B'
......@@ -214,8 +203,17 @@ import T96A from './T96A'
import T21N from './T21N'
import T22B from './T22B'
import T30P from './T30P'
=======
>>>>>>> 5f958ca09fec2e32c28fb7949d1f4f41a25f80e9
import T32H from './T32H'
import T30X from './T30X'
import T34E from './T34E'
import T37G from './T37G'
import T14D from './T14D'
import T30F from './T30F'
import T38J from './T38J'
import T56J from './T56J'
import T86A from './T86A'
import T86D from './T86D'
import T86J from './T86J'
export default function(tag,props,onValue){
switch(tag)
......@@ -345,12 +343,7 @@ 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 "T16A" :return <T16A {...props} onValue={onValue} />;
//Gaoq
=======
>>>>>>> 5f958ca09fec2e32c28fb7949d1f4f41a25f80e9
case "T90A" :return <T90A {...props} onValue={onValue} />;
case "T90B" :return <T90B {...props} onValue={onValue} />;
case "T90C" :return <T90C {...props} onValue={onValue} />;
......@@ -379,7 +372,6 @@ 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} />;
<<<<<<< HEAD
case "T21A" :return <T21A {...props} onValue={onValue} />;
case "T14E" :return <T14E {...props} onValue={onValue} />;
case "T15B" :return <T15B {...props} onValue={onValue} />;
......@@ -396,11 +388,6 @@ export default function(tag,props,onValue){
case "T22B" :return <T22B {...props} onValue={onValue} />;
case "T21N" :return <T21N {...props} onValue={onValue} />;
case "T30P" :return <T30P {...props} onValue={onValue} />;
//Z
=======
//新增
>>>>>>> 5f958ca09fec2e32c28fb7949d1f4f41a25f80e9
case "T15A" :return <T15A {...props} onValue={onValue} />;
case "T94A" :return <T94A {...props} onValue={onValue} />;
case "T22C" :return <T22C {...props} onValue={onValue} />;
......@@ -435,7 +422,17 @@ export default function(tag,props,onValue){
case "T32E" :return <T32E {...props} onValue={onValue} />;
case "T30U" :return <T30U {...props} onValue={onValue} />;
case "T39M" :return <T39M {...props} onValue={onValue} />;
case "T32H" :return <T32H {...props} onValue={onValue} />;
case "T30X" :return <T30X {...props} onValue={onValue} />;
case "T34E" :return <T34E {...props} onValue={onValue} />;
case "T37G" :return <T37G {...props} onValue={onValue} />;
case "T14D" :return <T14D {...props} onValue={onValue} />;
case "T30F" :return <T30F {...props} onValue={onValue} />;
case "T38J" :return <T38J {...props} onValue={onValue} />;
case "T56J" :return <T56J {...props} onValue={onValue} />;
case "T86A" :return <T86A {...props} onValue={onValue} />;
case "T86D" :return <T86D {...props} onValue={onValue} />;
case "T86J" :return <T86J {...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