|
@@ -289,6 +289,10 @@ class DiagnosticList extends Component {
|
|
hasEnterImg: false
|
|
hasEnterImg: false
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ handleFocus(){
|
|
|
|
+ const {getBilling} = this.props;
|
|
|
|
+ getBilling&&getBilling({mode:10});
|
|
|
|
+ }
|
|
handleInput(e,index){
|
|
handleInput(e,index){
|
|
const {editDiagName,getBilling} = this.props;
|
|
const {editDiagName,getBilling} = this.props;
|
|
let name = (e.target.value).trim()
|
|
let name = (e.target.value).trim()
|
|
@@ -327,7 +331,7 @@ class DiagnosticList extends Component {
|
|
onMouseLeave = {this.handleMouseLeaveDrug.bind(this)}
|
|
onMouseLeave = {this.handleMouseLeaveDrug.bind(this)}
|
|
>
|
|
>
|
|
<span title={item.name} className={style['diag-name-box']} style={{'max-width': '300px'}}>
|
|
<span title={item.name} className={style['diag-name-box']} style={{'max-width': '300px'}}>
|
|
- <input type="text" value={item.name} onBlur={(e)=>{this.handleBlur(e,item,index)}} onInput={(e)=>this.handleInput(e,index)}/>
|
|
|
|
|
|
+ <input type="text" value={item.name} onFocus={(e)=>{this.handleFocus()}} onBlur={(e)=>{this.handleBlur(e,item,index)}} onInput={(e)=>this.handleInput(e,index)}/>
|
|
</span>
|
|
</span>
|
|
{/* <img className={`${style['info-img']}`}
|
|
{/* <img className={`${style['info-img']}`}
|
|
title='点击i图标可查看详细说明'
|
|
title='点击i图标可查看详细说明'
|