|
|
@@ -31,7 +31,7 @@ import BillModel, {
|
|
|
billReadOnly,
|
|
|
} from '../../../model/common/BillModel'
|
|
|
|
|
|
-//import MapSearch from '../map/MapSearch'
|
|
|
+import MapSearch from '../map/MapSearch'
|
|
|
|
|
|
/**
|
|
|
* Created by RaoMeng on 2020/2/19
|
|
|
@@ -456,10 +456,10 @@ export default class FormInput extends Component {
|
|
|
title={billModel.caption}
|
|
|
popup
|
|
|
>
|
|
|
- {/*<div className='map-modal-root'>
|
|
|
+ <div className='map-modal-root'>
|
|
|
<MapSearch
|
|
|
onLocationSelect={this.onMapSelect}/>
|
|
|
- </div>*/}
|
|
|
+ </div>
|
|
|
</Modal>
|
|
|
</div>
|
|
|
|
|
|
@@ -524,7 +524,7 @@ export default class FormInput extends Component {
|
|
|
/**
|
|
|
* 地图选择
|
|
|
* */
|
|
|
- /*onMapSelect = (location) => {
|
|
|
+ onMapSelect = (location) => {
|
|
|
const { billModel } = this.state
|
|
|
this.setState({
|
|
|
modalOpen: false,
|
|
|
@@ -558,7 +558,7 @@ export default class FormInput extends Component {
|
|
|
},
|
|
|
},
|
|
|
], 'default', location.title)
|
|
|
- }*/
|
|
|
+ }
|
|
|
/**
|
|
|
* 多选本地数据确认
|
|
|
*/
|