Commit f298680e by gq777

1

parent ea84be7f
...@@ -51,6 +51,7 @@ export default class T14A extends Component { ...@@ -51,6 +51,7 @@ export default class T14A extends Component {
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="Convention" placeholder="Convention"
allowClear={true}
style={{ width: "100%" }} value={value.s1} onChange={val => this.onChange(1, val)} > style={{ width: "100%" }} value={value.s1} onChange={val => this.onChange(1, val)} >
<Option value="FOLLOWING">FOLLOWING</Option> <Option value="FOLLOWING">FOLLOWING</Option>
<Option value="FRN">FRN</Option> <Option value="FRN">FRN</Option>
......
...@@ -14,7 +14,7 @@ export default class T14G extends Component { ...@@ -14,7 +14,7 @@ export default class T14G extends Component {
pattern = "1!a/8!a" pattern = "1!a/8!a"
tno = -1 tno = -1
keys = [1] keys = [1,2]
onChange = (index, value) => { onChange = (index, value) => {
let obj = {}; let obj = {};
if (!value) if (!value)
...@@ -64,8 +64,8 @@ export default class T14G extends Component { ...@@ -64,8 +64,8 @@ export default class T14G extends Component {
<FormItem <FormItem
label="Method" label="Method"
required={this.props.status == 'M' || mval ? 'required' : null} required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s1} help={errmsg.s2}
validateStatus={errmsg.s1 ? 'error' : null} validateStatus={errmsg.s2 ? 'error' : null}
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="Method" placeholder="Method"
......
...@@ -51,6 +51,7 @@ export default class T14J extends Component { ...@@ -51,6 +51,7 @@ export default class T14J extends Component {
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="" placeholder=""
allowClear={true}
style={{ width: "100%" }} value={value.s1} onChange={val => this.onChange(1, val)} > style={{ width: "100%" }} value={value.s1} onChange={val => this.onChange(1, val)} >
<Option value="FIRST">FIRST</Option> <Option value="FIRST">FIRST</Option>
<Option value="LAST">LAST</Option> <Option value="LAST">LAST</Option>
......
...@@ -51,6 +51,7 @@ export default class T23A extends Component { ...@@ -51,6 +51,7 @@ export default class T23A extends Component {
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="Type of Swap" placeholder="Type of Swap"
allowClear={true}
style={{ width: "100%" }} value={value.s1} onChange={val => this.onChange(1, val)} > style={{ width: "100%" }} value={value.s1} onChange={val => this.onChange(1, val)} >
<Option value="CAPBUYER">CAPBUYER</Option> <Option value="CAPBUYER">CAPBUYER</Option>
<Option value="CAPSELLER">CAPSELLER</Option> <Option value="CAPSELLER">CAPSELLER</Option>
...@@ -75,6 +76,7 @@ export default class T23A extends Component { ...@@ -75,6 +76,7 @@ export default class T23A extends Component {
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="Settlement Method" placeholder="Settlement Method"
allowClear={true}
style={{ width: "100%" }} value={value.s2} onChange={val => this.onChange(2, val)} > style={{ width: "100%" }} value={value.s2} onChange={val => this.onChange(2, val)} >
<Option value="CROSS">CROSS</Option> <Option value="CROSS">CROSS</Option>
<Option value="NET">NET</Option> <Option value="NET">NET</Option>
......
...@@ -61,6 +61,7 @@ export default class T38E extends Component { ...@@ -61,6 +61,7 @@ export default class T38E extends Component {
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="Period" placeholder="Period"
allowClear={true}
style={{ width: "100%" }} value={value.s2} onChange={val => this.onChange(2, val)} > style={{ width: "100%" }} value={value.s2} onChange={val => this.onChange(2, val)} >
<Option value="D">D</Option> <Option value="D">D</Option>
<Option value="M">M</Option> <Option value="M">M</Option>
......
...@@ -61,6 +61,7 @@ export default class T38G extends Component { ...@@ -61,6 +61,7 @@ export default class T38G extends Component {
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="Period From" placeholder="Period From"
allowClear={true}
style={{ width: "100%" }} value={value.s2} onChange={val => this.onChange(2, val)} > style={{ width: "100%" }} value={value.s2} onChange={val => this.onChange(2, val)} >
<Option value="D">D</Option> <Option value="D">D</Option>
<Option value="M">M</Option> <Option value="M">M</Option>
...@@ -89,6 +90,7 @@ export default class T38G extends Component { ...@@ -89,6 +90,7 @@ export default class T38G extends Component {
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="Period To" placeholder="Period To"
allowClear={true}
style={{ width: "100%" }} value={value.s4} onChange={val => this.onChange(4, val)} > style={{ width: "100%" }} value={value.s4} onChange={val => this.onChange(4, val)} >
<Option value="D">D</Option> <Option value="D">D</Option>
<Option value="M">M</Option> <Option value="M">M</Option>
......
...@@ -61,6 +61,7 @@ export default class T38H extends Component { ...@@ -61,6 +61,7 @@ export default class T38H extends Component {
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="Period From" placeholder="Period From"
allowClear={true}
style={{ width: "100%" }} value={value.s2} onChange={val => this.onChange(2, val)} > style={{ width: "100%" }} value={value.s2} onChange={val => this.onChange(2, val)} >
<Option value="D">D</Option> <Option value="D">D</Option>
<Option value="M">M</Option> <Option value="M">M</Option>
...@@ -89,6 +90,7 @@ export default class T38H extends Component { ...@@ -89,6 +90,7 @@ export default class T38H extends Component {
> >
<Select size={InputSize} <Select size={InputSize}
placeholder="Period To" placeholder="Period To"
allowClear={true}
style={{ width: "100%" }} value={value.s4} onChange={val => this.onChange(4, val)} > style={{ width: "100%" }} value={value.s4} onChange={val => this.onChange(4, val)} >
<Option value="D">D</Option> <Option value="D">D</Option>
<Option value="M">M</Option> <Option value="M">M</Option>
......
...@@ -33,6 +33,7 @@ export default class T39M extends Component { ...@@ -33,6 +33,7 @@ export default class T39M extends Component {
> >
<Select placeholder="Country Code" <Select placeholder="Country Code"
showSearch showSearch
allowClear={true}
optionFilterProp="children" optionFilterProp="children"
notFoundContent="Wrong Code" notFoundContent="Wrong Code"
size={InputSize} style={{ width: "100%",zIndex:99 }} value={value.s1} onChange={(val)=>this.onChange(val)}> size={InputSize} style={{ width: "100%",zIndex:99 }} value={value.s1} onChange={(val)=>this.onChange(val)}>
......
...@@ -99,7 +99,7 @@ export class T72BAK extends Component ...@@ -99,7 +99,7 @@ export class T72BAK extends Component
label="Code" label="Code"
required required
> >
<Select size={InputSize} style={{ width: "100%" }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}> <Select size={InputSize} allowClear={true} style={{ width: "100%" }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}>
<Option value="ACC">ACC-Account with institution</Option> <Option value="ACC">ACC-Account with institution</Option>
<Option value="INS">INS-Instructing institution</Option> <Option value="INS">INS-Instructing institution</Option>
<Option value="INT">INT-Intermediary institution</Option> <Option value="INT">INT-Intermediary institution</Option>
......
...@@ -101,7 +101,7 @@ export class T72ZBAK extends Component ...@@ -101,7 +101,7 @@ export class T72ZBAK extends Component
label="Code" label="Code"
required required
> >
<Select size={InputSize} style={{ width: "100%" }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}> <Select size={InputSize} allowClear={true} style={{ width: "100%" }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}>
<Option value="PHONBEN">PHONBEN</Option> <Option value="PHONBEN">PHONBEN</Option>
<Option value="TELEBEN">TELEBEN</Option> <Option value="TELEBEN">TELEBEN</Option>
...@@ -189,7 +189,7 @@ class SubItem extends Component ...@@ -189,7 +189,7 @@ class SubItem extends Component
label="Code" label="Code"
required required
> >
<Select size={InputSize} style={{ width: "100%" }} placeholder="Code" value={item.val1} onChange={(val)=>{item.val1=val;this.props.onValue([value,this.combineValue(value)])}}> <Select size={InputSize} allowClear={true} style={{ width: "100%" }} placeholder="Code" value={item.val1} onChange={(val)=>{item.val1=val;this.props.onValue([value,this.combineValue(value)])}}>
<Option value="PHONBEN">PHONBEN</Option> <Option value="PHONBEN">PHONBEN</Option>
<Option value="TELEBEN">TELEBEN</Option> <Option value="TELEBEN">TELEBEN</Option>
</Select> </Select>
......
...@@ -173,7 +173,7 @@ export class T75BAK extends Component ...@@ -173,7 +173,7 @@ export class T75BAK extends Component
label="Code" label="Code"
required required
> >
<Select size={InputSize} style={{ width: "100%" }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}> <Select size={InputSize} allowClear={true} style={{ width: "100%" }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}>
{ {
getCode(this.props.mty).map(item=><Option key={item} value={""+item}>{item+""}</Option>) getCode(this.props.mty).map(item=><Option key={item} value={""+item}>{item+""}</Option>)
...@@ -262,7 +262,7 @@ class SubItem extends Component ...@@ -262,7 +262,7 @@ class SubItem extends Component
label="Code" label="Code"
required required
> >
<Select size={InputSize} style={{ width: "100%" }} placeholder="Code" value={item.val1} onChange={(val)=>{item.val1=val;this.props.onValue([value,this.combineValue(value)])}}> <Select size={InputSize} allowClear={true} style={{ width: "100%" }} placeholder="Code" value={item.val1} onChange={(val)=>{item.val1=val;this.props.onValue([value,this.combineValue(value)])}}>
{ {
getCode(this.props.mty).map(item=><Option key={item} value={""+item}>{item+""}</Option>) getCode(this.props.mty).map(item=><Option key={item} value={""+item}>{item+""}</Option>)
} }
......
...@@ -126,7 +126,7 @@ export class T76BAK extends Component ...@@ -126,7 +126,7 @@ export class T76BAK extends Component
label="Code" label="Code"
required required
> >
<Select size={InputSize} style={{ width: "100%" }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}> <Select size={InputSize} allowClear={true} style={{ width: "100%" }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}>
{ {
getCode(this.props.mty).map(item=><Option key={item} value={""+item}>{item+""}</Option>) getCode(this.props.mty).map(item=><Option key={item} value={""+item}>{item+""}</Option>)
...@@ -215,7 +215,7 @@ class SubItem extends Component ...@@ -215,7 +215,7 @@ class SubItem extends Component
label="Code" label="Code"
required required
> >
<Select size={InputSize} style={{ width: "100%" }} placeholder="Code" value={item.val1} onChange={(val)=>{item.val1=val;this.props.onValue([value,this.combineValue(value)])}}> <Select size={InputSize} allowClear={true} style={{ width: "100%" }} placeholder="Code" value={item.val1} onChange={(val)=>{item.val1=val;this.props.onValue([value,this.combineValue(value)])}}>
{ {
getCode(this.props.mty).map(item=><Option key={item} value={""+item}>{item+""}</Option>) getCode(this.props.mty).map(item=><Option key={item} value={""+item}>{item+""}</Option>)
} }
......
...@@ -97,6 +97,7 @@ export class T77Bbak extends Component ...@@ -97,6 +97,7 @@ export class T77Bbak extends Component
> >
<Select size={InputSize} <Select size={InputSize}
showSearch showSearch
allowClear={true}
optionFilterProp="children" optionFilterProp="children"
notFoundContent="Wrong Code" notFoundContent="Wrong Code"
style={{ width: "100%",zIndex:99 }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}> style={{ width: "100%",zIndex:99 }} placeholder="Code" value={value.s1} onChange={(val)=>this.onChange(1,val)}>
...@@ -113,6 +114,7 @@ export class T77Bbak extends Component ...@@ -113,6 +114,7 @@ export class T77Bbak extends Component
> >
<Select placeholder="Country Code" <Select placeholder="Country Code"
showSearch showSearch
allowClear={true}
optionFilterProp="children" optionFilterProp="children"
notFoundContent="Wrong Code" notFoundContent="Wrong Code"
size={InputSize} style={{ width: "100%",zIndex:99 }} value={value.s2} onChange={(val)=>this.onChange(2,val)}> size={InputSize} style={{ width: "100%",zIndex:99 }} value={value.s2} onChange={(val)=>this.onChange(2,val)}>
......
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