Quellcode durchsuchen

输血时间图标

zhouna vor 3 Jahren
Ursprung
Commit
c33ae8bdf9

BIN
src/common/images/end_time.png


+ 6 - 3
src/components/AddNewInspect/SlideIpt/index.jsx

@@ -1,6 +1,7 @@
 import React, { Component } from "react";
 import $ from 'jquery';
 import config from '@config/index';
+import billing from '@common/images/billing_time.png';
 
 class SlideIpt extends Component {
   constructor(props) {
@@ -33,17 +34,19 @@ class SlideIpt extends Component {
   }
   render() {
     const {item,idx} = this.props;
-    return (
+    return (<span>
+              <img src={billing} title={'开单时间'}
+                   style={{verticalAlign:'text-bottom',marginRight:'3px'}}/>
       <input type="text"
           class="canEdit"
-          style={{color:'#333'}}
+          style={{color:'#333',width:'140px'}}
           placeholder='时间'
           autoComplete="off"
           value={item.time}
           onInput={(e)=>{this.handleInput(e,item,1,idx)}}
           onFocus={()=>{this.handleFocus()}}
           />
-          
+        </span>
     );
   }
 }

+ 6 - 2
src/components/AddNewInspect/SlideIpt2/index.jsx

@@ -1,5 +1,6 @@
 import React, { Component } from "react";
 import config from '@config/index';
+import report from '@common/images/end_time.png';
 
 class SlideIpt extends Component {
   constructor(props) {
@@ -35,16 +36,19 @@ class SlideIpt extends Component {
     if(item.flg!==8||(item.flg===8&&item.check)){
       return null;
     }
-    return (
+    return (<span>
+                  <img  src={report} title={'报告时间'}
+						style={{verticalAlign:'text-bottom',marginRight:'3px'}}/>
       <input type="text"
           class="canEdit"
-          style={{color:'#333'}}
+          style={{color:'#333',width:'140px'}}
           placeholder='时间'
           autoComplete="off"
           value={item.finishDateValue}
           onInput={(e)=>{this.handleInput(e,item,3,idx)}}
           onFocus={()=>{this.handleFocus()}}
           />
+        </span>
           
     );
   }

+ 3 - 3
src/components/AddNewInspect/SlidePic/index.less

@@ -48,15 +48,15 @@
         .ellipsis;
         width: 193px;
         font-weight: bold;
-        margin-right: 15px;
+        margin-right: 10px;
     }
     .smallname {
         width: 80px;
         margin-right: 10px;
     }
     .edit {
-        width: 150px;
-        margin-right: 5px;
+        width: 132px;
+        /*margin-right: 5px;*/
         input {
             width: 100%;
         }