Commit f298680e by gq777

1

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