Commit 29066e16 by snail

更新31G

parent 523a3695
......@@ -33,7 +33,7 @@ export default class T31G extends Component {
let mval = "";
mval = `${obj.s1 || ''}${obj.s2 ? `/${obj.s2}` : ''}${obj.s3 ? `/${obj.s3}` : ''}`
this.props.onValue([obj, mval])
}
......@@ -65,85 +65,20 @@ export default class T31G extends Component {
validateStatus={errmsg.s2 ? 'error' : null}
>
<TimePicker defaultValue="" format="HHmm" value={value.s2} onChange={(date, dateString) => this.onChange(2, dateString)} />
<TimePicker defaultValue="" format="HHmm" value={value.s2} onChange={(date, dateString) => this.onChange(2, dateString)} />
</FormItem>
</Col>
<Col span={4}>
<Col span={5}>
<FormItem
label="Location"
required={this.props.status == 'M' || mval ? 'required' : null}
help={errmsg.s3}
validateStatus={errmsg.s3 ? 'error' : null}
>
<Select allowClear={true} value={value.s3} style={{ width: "100%" }} placeholder="Location" onChange={(val) => this.onChange(3, val)}>
<Option value="ARBA">ARBA</Option>
<Option value="ATVI">ATVI</Option>
<Option value="AUME">AUME</Option>
<Option value="AUSY">AUSY</Option>
<Option value="BEBR">BEBR</Option>
<Option value="BRSP">BRSP</Option>
<Option value="CAMO">CAMO</Option>
<Option value="CATO">CATO</Option>
<Option value="CHGE">CHGE</Option>
<Option value="CHZU">CHZU</Option>
<Option value="CLSA">CLSA</Option>
<Option value="CNBE">CNBE</Option>
<Option value="CZPR">CZPR</Option>
<Option value="DECB">DECB</Option>
<Option value="DEFR">DEFR</Option>
<Option value="DKCO">DKCO</Option>
<Option value="EETA">EETA</Option>
<Option value="ESMA">ESMA</Option>
<Option value="EUTA">EUTA</Option>
<Option value="FIHE">FIHE</Option>
<Option value="FRPA">FRPA</Option>
<Option value="GBLO">GBLO</Option>
<Option value="GRAT">GRAT</Option>
<Option value="HKHK">HKHK</Option>
<Option value="HUBU">HUBU</Option>
<Option value="IDJA">IDJA</Option>
<Option value="IEDU">IEDU</Option>
<Option value="ILTA">ILTA</Option>
<Option value="INMU">INMU</Option>
<Option value="ITMI">ITMI</Option>
<Option value="ITRO">ITRO</Option>
<Option value="JPTO">JPTO</Option>
<Option value="KRSE">KRSE</Option>
<Option value="LBBE">LBBE</Option>
<Option value="LKCO">LKCO</Option>
<Option value="LULU">LULU</Option>
<Option value="MXMC">MXMC</Option>
<Option value="MYKL">MYKL</Option>
<Option value="NLAM">NLAM</Option>
<Option value="NOOS">NOOS</Option>
<Option value="NYFD">NYFD</Option>
<Option value="NYSE">NYSE</Option>
<Option value="NZAU">NZAU</Option>
<Option value="NZWE">NZWE</Option>
<Option value="PAPC">PAPC</Option>
<Option value="PHMA">PHMA</Option>
<Option value="PLWA">PLWA</Option>
<Option value="PTLI">PTLI</Option>
<Option value="ROBU">ROBU</Option>
<Option value="RUMO">RUMO</Option>
<Option value="SARI">SARI</Option>
<Option value="SEST">SEST</Option>
<Option value="SGSI">SGSI</Option>
<Option value="SKBR">SKBR</Option>
<Option value="THBA">THBA</Option>
<Option value="TRAN">TRAN</Option>
<Option value="TRIS">TRIS</Option>
<Option value="TWTA">TWTA</Option>
<Option value="USCH">USCH</Option>
<Option value="USGS">USGS</Option>
<Option value="USLA">USLA</Option>
<Option value="USNY">USNY</Option>
<Option value="VNHA">VNHA</Option>
<Option value="ZAJO">ZAJO</Option>
</Select>
<Input value={value.s3} onChange={e => this.onChange(3, e.target.value)} maxLength={12} style={{ imeMode: 'disabled' }} placeholder="Location" />
</FormItem>
</Col>
</Row>)
......
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