Commit 929ab8ae by gq777

update

parent ba511ce2
...@@ -102,6 +102,7 @@ export default class T95R extends Component ...@@ -102,6 +102,7 @@ export default class T95R extends Component
<FormItem <FormItem
label="Data Source Scheme" label="Data Source Scheme"
help={errmsg.s2} help={errmsg.s2}
required={this.props.status=='M' || mval?'required':null}
validateStatus={errmsg.s2 ? 'error' : null} validateStatus={errmsg.s2 ? 'error' : null}
> >
...@@ -112,6 +113,7 @@ export default class T95R extends Component ...@@ -112,6 +113,7 @@ export default class T95R extends Component
<Col span={14}> <Col span={14}>
<FormItem <FormItem
help={errmsg.s3} help={errmsg.s3}
required={this.props.status=='M' || mval?'required':null}
validateStatus={errmsg.s3?'error':null} validateStatus={errmsg.s3?'error':null}
label="Proprietary Code" label="Proprietary Code"
> >
......
...@@ -143,7 +143,9 @@ export default class T95S extends Component ...@@ -143,7 +143,9 @@ export default class T95S extends Component
<Col style={{"minWidth":'100px'}} span={5}> <Col style={{"minWidth":'100px'}} span={5}>
<FormItem <FormItem
label="Country Code" label="Country Code"
required required={this.props.status=='M' || mval?'required':null}
help={errmsg.s4}
validateStatus={errmsg.s4?'error':null}
> >
<Select placeholder="Country Code" <Select placeholder="Country Code"
showSearch showSearch
......
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