Browse Source

修改输入框问题

See999 5 years ago
parent
commit
89ef84959f
1 changed files with 15 additions and 15 deletions
  1. 15 15
      src/pages/main/dialog/PrescriptionDialog.vue

+ 15 - 15
src/pages/main/dialog/PrescriptionDialog.vue View File

@@ -31,14 +31,14 @@
31 31
         <div class="item" v-if="isShow('血流量')">
32 32
           <label class="name" for="xll">血流量(ml/min)</label>
33 33
           <div class="content">
34
-            <input type="tel" @focus="inputFocus" id="xll" v-model="dialysisPrescription.blood_flow_volume"/>
34
+            <input type="number" @focus="inputFocus" id="xll" v-model="dialysisPrescription.blood_flow_volume"/>
35 35
           </div>
36 36
         </div>
37 37
 
38 38
         <div class="item" v-if="isShow('目标超滤量')">
39 39
           <label class="name" for="mbcll">目标超滤量(L)</label>
40 40
           <div class="content">
41
-            <input type="tel" @focus="inputFocus" id="mbcll" v-model="dialysisPrescription.target_ultrafiltration"/>
41
+            <input type="number" @focus="inputFocus" id="mbcll" v-model="dialysisPrescription.target_ultrafiltration"/>
42 42
           </div>
43 43
         </div>
44 44
         <div @click="showSubMenu('dialysate_formulation')" class="item" ref="dialysate_formulation"
@@ -67,10 +67,10 @@
67 67
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 5">首剂(mg)</label>
68 68
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">首剂(mg)</label>
69 69
             <div class="content">
70
-              <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
70
+              <input v-if="dialysisPrescription.anticoagulant != 1" type="number" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
71 71
                      :disabled="anticoagulant.shouji==1?false:true"/>
72 72
 
73
-              <input v-if="dialysisPrescription.anticoagulant == 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_shouji"
73
+              <input v-if="dialysisPrescription.anticoagulant == 1" type="number" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_shouji"
74 74
                      disabled="true"/>
75 75
             </div>
76 76
           </div>
@@ -82,11 +82,11 @@
82 82
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 5">维持(ml/h)</label>
83 83
             <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">维持(mg/h)</label>
84 84
             <div class="content">
85
-              <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="wz" class="inputBox"
85
+              <input v-if="dialysisPrescription.anticoagulant != 1" type="number" @focus="inputFocus" id="wz" class="inputBox"
86 86
                      v-model="dialysisPrescription.anticoagulant_weichi"
87 87
                      :disabled="anticoagulant.weichi==1?false:true">
88 88
 
89
-              <input v-if="dialysisPrescription.anticoagulant == 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_weichi"
89
+              <input v-if="dialysisPrescription.anticoagulant == 1" type="number" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_weichi"
90 90
                      disabled="true"/>
91 91
             </div>
92 92
           </div>
@@ -100,11 +100,11 @@
100 100
 
101 101
 
102 102
             <div class="content">
103
-              <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="zl" class="inputBox"
103
+              <input v-if="dialysisPrescription.anticoagulant != 1" type="number" @focus="inputFocus" id="zl" class="inputBox"
104 104
                      v-model="dialysisPrescription.anticoagulant_zongliang"
105 105
                      :disabled="anticoagulant.zongliang==1?false:true">
106 106
 
107
-              <input v-if="dialysisPrescription.anticoagulant == 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_zongliang"
107
+              <input v-if="dialysisPrescription.anticoagulant == 1" type="number" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_zongliang"
108 108
                      disabled="true"/>
109 109
             </div>
110 110
           </div>
@@ -143,13 +143,13 @@
143 143
         <div class="item" v-if="isShow('钾')">
144 144
           <label class="name" for="j">钾(mmol/L)</label>
145 145
           <div class="content">
146
-            <input type="tel" @focus="inputFocus" id="j" v-model="dialysisPrescription.kalium"/>
146
+            <input type="number" @focus="inputFocus" id="j" v-model="dialysisPrescription.kalium"/>
147 147
           </div>
148 148
         </div>
149 149
         <div class="item" v-if="isShow('钠')">
150 150
           <label class="name" for="n">钠(mmol/L):</label>
151 151
           <div class="content">
152
-            <input type="tel" @focus="inputFocus" id="n" v-model="dialysisPrescription.sodium"/>
152
+            <input type="number" @focus="inputFocus" id="n" v-model="dialysisPrescription.sodium"/>
153 153
           </div>
154 154
         </div>
155 155
         <div class="item" v-if="isShow('钙')">
@@ -161,14 +161,14 @@
161 161
         <div class="item" v-if="isShow('碳酸氢盐')">
162 162
           <label class="name" for="tsqy">碳酸氢盐(mmol/L)</label>
163 163
           <div class="content">
164
-            <input type="tel" @focus="inputFocus" id="tsqy" v-model="dialysisPrescription.bicarbonate"/>
164
+            <input type="number" @focus="inputFocus" id="tsqy" v-model="dialysisPrescription.bicarbonate"/>
165 165
 
166 166
           </div>
167 167
         </div>
168 168
         <div class="item" v-if="isShow('葡萄糖')">
169 169
           <label class="name" for="ptt">葡萄糖(mmol/L)</label>
170 170
           <div class="content">
171
-            <input type="tel" @focus="inputFocus" id="ptt" v-model="dialysisPrescription.glucose"/>
171
+            <input type="number" @focus="inputFocus" id="ptt" v-model="dialysisPrescription.glucose"/>
172 172
           </div>
173 173
         </div>
174 174
 
@@ -177,7 +177,7 @@
177 177
         <div class="item" v-if="isShow('透析液流量')">
178 178
           <label class="name" for="txyll">透析液流量(ml/min)</label>
179 179
           <div class="content">
180
-            <input type="tel" @focus="inputFocus" id="txyll" v-model="dialysisPrescription.dialysate_flow"/>
180
+            <input type="number" @focus="inputFocus" id="txyll" v-model="dialysisPrescription.dialysate_flow"/>
181 181
           </div>
182 182
         </div>
183 183
         <div class="item" v-if="isShow('透析液温度')">
@@ -185,7 +185,7 @@
185 185
           <div class="content">
186 186
             <!--<span class="text">HD</span>-->
187 187
             <!--<span class="iconfont">&#xe6f9;</span>-->
188
-            <input type="tel" @focus="inputFocus" id="txywd" v-model="dialysisPrescription.dialysate_temperature"/>
188
+            <input type="number" @focus="inputFocus" id="txywd" v-model="dialysisPrescription.dialysate_temperature"/>
189 189
 
190 190
           </div>
191 191
         </div>
@@ -193,7 +193,7 @@
193 193
           <label class="name" for="dtl">电导度(mS/m)</label>
194 194
           <div class="content">
195 195
 
196
-            <input type="tel" @focus="inputFocus" id="dtl" v-model="dialysisPrescription.conductivity"/>
196
+            <input type="number" @focus="inputFocus" id="dtl" v-model="dialysisPrescription.conductivity"/>
197 197
           </div>
198 198
         </div>
199 199
         <div class="item" v-if="isShow('透析器/灌流器')">