|
@@ -97,19 +97,19 @@
|
97
|
97
|
<span>一级</span>
|
98
|
98
|
</el-col>
|
99
|
99
|
<el-col :span="4">
|
100
|
|
- <el-input v-model.number="form.first_ro_membrane_water" style="width:100px" type="number"></el-input>
|
|
100
|
+ <el-input v-model="form.first_ro_membrane_water" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
101
|
101
|
</el-col>
|
102
|
102
|
<el-col :span="4">
|
103
|
|
- <el-input v-model.number="form.first_ro_film_thick_water" style="width:100px" type="number"></el-input>
|
|
103
|
+ <el-input v-model="form.first_ro_film_thick_water" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
104
|
104
|
</el-col>
|
105
|
105
|
<el-col :span="4">
|
106
|
|
- <el-input v-model.number="form.first_ro_membrane_effluent" style="width:100px" type="number"></el-input>
|
|
106
|
+ <el-input v-model="form.first_ro_membrane_effluent" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
107
|
107
|
</el-col>
|
108
|
108
|
<el-col :span="4">
|
109
|
|
- <el-input v-model.number="form.first_production_of_water_conductivity" style="width:100px" type="number"></el-input>
|
|
109
|
+ <el-input v-model="form.first_production_of_water_conductivity" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
110
|
110
|
</el-col>
|
111
|
111
|
<el-col :span="4">
|
112
|
|
- <el-input v-model.number="form.first_water_yield" style="width:100px" type="number"></el-input>
|
|
112
|
+ <el-input v-model="form.first_water_yield" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
113
|
113
|
</el-col>
|
114
|
114
|
</el-row>
|
115
|
115
|
<el-row :gutter="20">
|
|
@@ -117,42 +117,42 @@
|
117
|
117
|
<span>二级</span>
|
118
|
118
|
</el-col>
|
119
|
119
|
<el-col :span="4">
|
120
|
|
- <el-input v-model.number="form.last_ro_membrane_water" style="width:100px" type="number"></el-input>
|
|
120
|
+ <el-input v-model="form.last_ro_membrane_water" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
121
|
121
|
</el-col>
|
122
|
122
|
<el-col :span="4">
|
123
|
|
- <el-input v-model="form.last_ro_film_thick_water" style="width:100px" type="number"></el-input>
|
|
123
|
+ <el-input v-model="form.last_ro_film_thick_water" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
124
|
124
|
</el-col>
|
125
|
125
|
<el-col :span="4">
|
126
|
|
- <el-input v-model="form.last_ro_membrane_effluent" style="width:100px" type="number"></el-input>
|
|
126
|
+ <el-input v-model="form.last_ro_membrane_effluent" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
127
|
127
|
</el-col>
|
128
|
128
|
<el-col :span="4">
|
129
|
|
- <el-input v-model="form.last_production_of_water_conductivity" style="width:100px" type="number"></el-input>
|
|
129
|
+ <el-input v-model="form.last_production_of_water_conductivity" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
130
|
130
|
</el-col>
|
131
|
131
|
<el-col :span="4">
|
132
|
|
- <el-input v-model.number="form.last_water_yield" style="width:100px" type="number"></el-input>
|
|
132
|
+ <el-input v-model="form.last_water_yield" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
133
|
133
|
</el-col>
|
134
|
134
|
</el-row>
|
135
|
135
|
<el-row>
|
136
|
136
|
<el-col :span="8">
|
137
|
137
|
<el-form-item label="碳罐(MPa):" class="st">
|
138
|
|
- <el-input v-model="form.carbon_tank" type="number" style="width:100px"></el-input>
|
|
138
|
+ <el-input v-model="form.carbon_tank" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
139
|
139
|
</el-form-item>
|
140
|
140
|
</el-col>
|
141
|
141
|
<el-col :span="8">
|
142
|
142
|
<el-form-item label="砂罐(MPa):" class="st">
|
143
|
|
- <el-input v-model="form.snd_tank" type="number" style="width:100px"></el-input>
|
|
143
|
+ <el-input v-model="form.snd_tank" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
144
|
144
|
</el-form-item>
|
145
|
145
|
</el-col>
|
146
|
146
|
<el-col :span="8">
|
147
|
147
|
<el-form-item label="树脂罐(MPa):" class="st">
|
148
|
|
- <el-input v-model="form.resin_tank" type="number" style="width:100px"></el-input>
|
|
148
|
+ <el-input v-model="form.resin_tank" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
149
|
149
|
</el-form-item>
|
150
|
150
|
</el-col>
|
151
|
151
|
</el-row>
|
152
|
152
|
<el-row>
|
153
|
153
|
<el-col :span="8">
|
154
|
154
|
<el-form-item label="精密过滤器(MPa):" class="st">
|
155
|
|
- <el-input v-model="form.ultrafilter" type="number" style="width:100px"></el-input>
|
|
155
|
+ <el-input v-model.number="form.ultrafilter" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
156
|
156
|
</el-form-item>
|
157
|
157
|
</el-col>
|
158
|
158
|
</el-row>
|
|
@@ -214,7 +214,7 @@
|
214
|
214
|
</el-col>
|
215
|
215
|
<el-col :span="8">
|
216
|
216
|
<el-form-item label="时长(h):" class="st">
|
217
|
|
- <el-input v-model="form.first_disinfection_time" type="number" style="width:100px"></el-input>
|
|
217
|
+ <el-input v-model="form.first_disinfection_time" type="number" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
218
|
218
|
</el-form-item>
|
219
|
219
|
</el-col>
|
220
|
220
|
</el-row>
|
|
@@ -237,7 +237,7 @@
|
237
|
237
|
</el-col>
|
238
|
238
|
<el-col :span="8">
|
239
|
239
|
<el-form-item label="时长(h):" class="st">
|
240
|
|
- <el-input v-model="form.last_disinfection_time" type="number" style="width:100px"></el-input>
|
|
240
|
+ <el-input v-model="form.last_disinfection_time" type="number" style="width:100px" oninput="value=value.replace(/[^\d^\.]/g, '')"></el-input>
|
241
|
241
|
</el-form-item>
|
242
|
242
|
</el-col>
|
243
|
243
|
</el-row>
|
|
@@ -247,7 +247,8 @@
|
247
|
247
|
<el-col :span="8">
|
248
|
248
|
<el-form-item label="过滤器更换(只):" class="st">
|
249
|
249
|
<el-input v-model="form.filter_replacement" style="width:100px"
|
250
|
|
- oninput="value=value.replace(/[^\d^\.]/g,'')" maxlength='4'></el-input>
|
|
250
|
+ oninput="value=value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')"
|
|
251
|
+ ></el-input>
|
251
|
252
|
</el-form-item>
|
252
|
253
|
</el-col>
|
253
|
254
|
|