|
@@ -197,12 +197,15 @@ class EgressDetails extends Component{
|
|
|
<View className='item'>
|
|
|
<View className='title'>
|
|
|
公出地点:
|
|
|
- {this.$instance.router.params.type === '0' && dtails.status === 0 ? <AtIcon value='edit' size='18' color='#3864ef' onClick={()=>{
|
|
|
- this.setState({
|
|
|
- isModifyOpened:true,
|
|
|
- modifyType:2,
|
|
|
- })
|
|
|
- }}/> : null}
|
|
|
+ {this.$instance.router.params.type === '0' && dtails.status === 0 ?
|
|
|
+ <View className='edit' onClick={()=>{
|
|
|
+ this.setState({
|
|
|
+ isModifyOpened:true,
|
|
|
+ modifyType:2,
|
|
|
+ })
|
|
|
+ }}>
|
|
|
+ <AtIcon value='edit' size='18' color='#3864ef'/>
|
|
|
+ </View> : null}
|
|
|
</View>
|
|
|
<View className='value'>{dtails.userName}</View>
|
|
|
<View className='timeContent'>
|
|
@@ -334,6 +337,11 @@ class EgressDetails extends Component{
|
|
|
id={this.$instance.router.params.id}
|
|
|
isOpened={this.state.isModifyOpened}
|
|
|
modifyType={this.state.modifyType}
|
|
|
+ onModalClose={()=>{
|
|
|
+ this.setState({
|
|
|
+ isModifyOpened:false,
|
|
|
+ })
|
|
|
+ }}
|
|
|
onClose={()=>{
|
|
|
this.setState({
|
|
|
isModifyOpened:false,
|