dc212c5e by zhaoqian

表单输入参数限制

1 parent 0dea450b
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
39 <tr height="30"> 39 <tr height="30">
40 <td colspan="2" align="center" >共有土地面积(㎡)</td> 40 <td colspan="2" align="center" >共有土地面积(㎡)</td>
41 <td colspan="4" > 41 <td colspan="4" >
42 <input class="formInput" v-model="form.zdmj"> 42 <input class="formInput" type="number" v-model="form.zdmj">
43 </td> 43 </td>
44 <td colspan="2" align="center" >竣工日期</td> 44 <td colspan="2" align="center" >竣工日期</td>
45 <td colspan="4" > 45 <td colspan="4" >
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
55 <tr height="30"> 55 <tr height="30">
56 <td colspan="2" align="center" >分摊土地面积(㎡)</td> 56 <td colspan="2" align="center" >分摊土地面积(㎡)</td>
57 <td colspan="4" > 57 <td colspan="4" >
58 <input class="formInput" v-model="form.fttdsymj"> 58 <input class="formInput" type="number" v-model="form.fttdsymj">
59 </td> 59 </td>
60 <td colspan="2" align="center" >产别</td> 60 <td colspan="2" align="center" >产别</td>
61 <td colspan="4" > 61 <td colspan="4" >
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 </tr> 71 </tr>
72 72
73 <tr height="30"> 73 <tr height="30">
74 <td colspan="2" align="center" >多幢独用土地面积(㎡)</td> 74 <td colspan="2" align="center" type="number" >多幢独用土地面积(㎡)</td>
75 <td colspan="4" > 75 <td colspan="4" >
76 <input class="formInput" v-model="form.dlsytdmj"> 76 <input class="formInput" v-model="form.dlsytdmj">
77 </td> 77 </td>
......
...@@ -52,9 +52,9 @@ ...@@ -52,9 +52,9 @@
52 </tr> 52 </tr>
53 53
54 <tr height="30"> 54 <tr height="30">
55 <td colspan="2" align="center" >构(建)筑物面积(㎡)</td> 55 <td colspan="2" align="center">构(建)筑物面积(㎡)</td>
56 <td colspan="4" > 56 <td colspan="4" >
57 <input class="formInput" v-model="form.mj" :disabled="form.qszt!=='0'"> 57 <input class="formInput" type="number" v-model="form.mj" :disabled="form.qszt!=='0'">
58 </td> 58 </td>
59 <td colspan="2" align="center" >竣工日期</td> 59 <td colspan="2" align="center" >竣工日期</td>
60 <td colspan="4" > 60 <td colspan="4" >
......
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
179 </td> 179 </td>
180 <td colspan="2" class="tdright">价格(元)</td> 180 <td colspan="2" class="tdright">价格(元)</td>
181 <td colspan="4" class="psr"> 181 <td colspan="4" class="psr">
182 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jg"/> 182 <input :disabled="formData.qszt!='0'" class="formInput" type="number" v-model="formData.jg"/>
183 </td> 183 </td>
184 </tr> 184 </tr>
185 <tr> 185 <tr>
......
...@@ -153,62 +153,62 @@ ...@@ -153,62 +153,62 @@
153 <td colspan="2" rowspan="6" align="center" >预测</td> 153 <td colspan="2" rowspan="6" align="center" >预测</td>
154 <td colspan="2" align="center" >建筑面积(㎡) </td> 154 <td colspan="2" align="center" >建筑面积(㎡) </td>
155 <td colspan="2" align="center" > 155 <td colspan="2" align="center" >
156 <el-input v-model="form.ycjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input> 156 <el-input v-model="form.ycjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
157 </td> 157 </td>
158 <td colspan="2" rowspan="6" align="center" >实测</td> 158 <td colspan="2" rowspan="6" align="center" >实测</td>
159 <td colspan="2" align="center" >建筑面积(㎡)</td> 159 <td colspan="2" align="center" >建筑面积(㎡)</td>
160 <td colspan="2" align="center" > 160 <td colspan="2" align="center" >
161 <el-input v-model="form.scjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input> 161 <el-input v-model="form.scjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
162 </td> 162 </td>
163 </tr> 163 </tr>
164 <tr height="30"> 164 <tr height="30">
165 <td colspan="2" align="center" >套内建筑面积(㎡))</td> 165 <td colspan="2" align="center" >套内建筑面积(㎡))</td>
166 <td colspan="2" align="center" > 166 <td colspan="2" align="center" >
167 <el-input v-model="form.yctnjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input> 167 <el-input v-model="form.yctnjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
168 </td> 168 </td>
169 <td colspan="2" align="center" >套内建筑面积(㎡)</td> 169 <td colspan="2" align="center" >套内建筑面积(㎡)</td>
170 <td colspan="2" align="center" > 170 <td colspan="2" align="center" >
171 <el-input v-model="form.sctnjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input> 171 <el-input v-model="form.sctnjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
172 </td> 172 </td>
173 </tr> 173 </tr>
174 <tr height="30"> 174 <tr height="30">
175 <td colspan="2" align="center" >分摊建筑面积(㎡)</td> 175 <td colspan="2" align="center" >分摊建筑面积(㎡)</td>
176 <td colspan="2" align="center" > 176 <td colspan="2" align="center" >
177 <el-input v-model="form.ycftjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input> 177 <el-input v-model="form.ycftjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
178 </td> 178 </td>
179 <td colspan="2" align="center" >分摊建筑面积(㎡)</td> 179 <td colspan="2" align="center" >分摊建筑面积(㎡)</td>
180 <td colspan="2" align="center" > 180 <td colspan="2" align="center" >
181 <el-input v-model="form.scftjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input> 181 <el-input v-model="form.scftjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
182 </td> 182 </td>
183 </tr> 183 </tr>
184 <tr height="30"> 184 <tr height="30">
185 <td colspan="2" align="center" >地下部分建筑面积(㎡)</td> 185 <td colspan="2" align="center" >地下部分建筑面积(㎡)</td>
186 <td colspan="2" align="center" > 186 <td colspan="2" align="center" >
187 <el-input v-model="form.ycdxbfjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input> 187 <el-input v-model="form.ycdxbfjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
188 </td> 188 </td>
189 <td colspan="2" align="center" >地下部分建筑面积(㎡)</td> 189 <td colspan="2" align="center" >地下部分建筑面积(㎡)</td>
190 <td colspan="2" align="center" > 190 <td colspan="2" align="center" >
191 <el-input v-model="form.scdxbfjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input> 191 <el-input v-model="form.scdxbfjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
192 </td> 192 </td>
193 </tr> 193 </tr>
194 <tr height="30"> 194 <tr height="30">
195 <td colspan="2" align="center" >其它建筑面积(㎡)</td> 195 <td colspan="2" align="center" >其它建筑面积(㎡)</td>
196 <td colspan="2" align="center" > 196 <td colspan="2" align="center" >
197 <el-input v-model="form.ycqtjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input> 197 <el-input v-model="form.ycqtjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
198 </td> 198 </td>
199 <td colspan="2" align="center" >其它建筑面积(㎡)</td> 199 <td colspan="2" align="center" >其它建筑面积(㎡)</td>
200 <td colspan="2" align="center" > 200 <td colspan="2" align="center" >
201 <el-input v-model="form.scqtjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input> 201 <el-input v-model="form.scqtjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
202 </td> 202 </td>
203 </tr> 203 </tr>
204 <tr height="30"> 204 <tr height="30">
205 <td colspan="2" align="center" >分摊系数</td> 205 <td colspan="2" align="center" >分摊系数</td>
206 <td colspan="2" align="center" > 206 <td colspan="2" align="center" >
207 <el-input v-model="form.ycftxs" :disabled="form.scyclx==='1'||disableFlag"></el-input> 207 <el-input v-model="form.ycftxs" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
208 </td> 208 </td>
209 <td colspan="2" align="center" >分摊系数</td> 209 <td colspan="2" align="center" >分摊系数</td>
210 <td colspan="2" align="center" > 210 <td colspan="2" align="center" >
211 <el-input v-model="form.scftxs" :disabled="form.scyclx==='0'||disableFlag"></el-input> 211 <el-input v-model="form.scftxs" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
212 </td> 212 </td>
213 </tr> 213 </tr>
214 214
...@@ -296,15 +296,15 @@ ...@@ -296,15 +296,15 @@
296 <tr height="30"> 296 <tr height="30">
297 <td colspan="2" align="center" >共有土地面积(㎡)</td> 297 <td colspan="2" align="center" >共有土地面积(㎡)</td>
298 <td colspan="2" > 298 <td colspan="2" >
299 <el-input v-model="form.gytdmj" :disabled="disableFlag"></el-input> 299 <el-input v-model="form.gytdmj" type="number" :disabled="disableFlag"></el-input>
300 </td> 300 </td>
301 <td colspan="2" align="center" >分摊土地面积(㎡)</td> 301 <td colspan="2" align="center" >分摊土地面积(㎡)</td>
302 <td colspan="2" > 302 <td colspan="2" >
303 <el-input v-model="form.fttdmj" :disabled="disableFlag"></el-input> 303 <el-input v-model="form.fttdmj" type="number" :disabled="disableFlag"></el-input>
304 </td> 304 </td>
305 <td colspan="2" align="center" >多幢独用土地面积(㎡)</td> 305 <td colspan="2" align="center" >多幢独用土地面积(㎡)</td>
306 <td colspan="2" > 306 <td colspan="2" >
307 <el-input v-model="form.dytdmj" :disabled="disableFlag"></el-input> 307 <el-input v-model="form.dytdmj" type="number" :disabled="disableFlag"></el-input>
308 </td> 308 </td>
309 </tr> 309 </tr>
310 310
......
...@@ -66,22 +66,22 @@ ...@@ -66,22 +66,22 @@
66 <tr> 66 <tr>
67 <td colspan="2" class="tdright">地下层数</td> 67 <td colspan="2" class="tdright">地下层数</td>
68 <td colspan="4" > 68 <td colspan="4" >
69 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.dxcs"> 69 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dxcs">
70 </td> 70 </td>
71 <td colspan="2" class="tdright">地上层数</td> 71 <td colspan="2" class="tdright">地上层数</td>
72 <td colspan="4" > 72 <td colspan="4" >
73 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.dscs"> 73 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dscs">
74 </td> 74 </td>
75 </tr> 75 </tr>
76 76
77 <tr> 77 <tr>
78 <td colspan="2" class="tdright">总层数</td> 78 <td colspan="2" class="tdright">总层数</td>
79 <td colspan="4" > 79 <td colspan="4" >
80 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.zcs"> 80 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zcs">
81 </td> 81 </td>
82 <td colspan="2" class="tdright">总套数</td> 82 <td colspan="2" class="tdright">总套数</td>
83 <td colspan="4" > 83 <td colspan="4" >
84 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.zts"> 84 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zts">
85 </td> 85 </td>
86 86
87 </tr> 87 </tr>
...@@ -92,29 +92,29 @@ ...@@ -92,29 +92,29 @@
92 </td> 92 </td>
93 <td colspan="2" class="tdright">地下深度(m)</td> 93 <td colspan="2" class="tdright">地下深度(m)</td>
94 <td colspan="4" > 94 <td colspan="4" >
95 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.dxsd"> 95 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dxsd">
96 </td> 96 </td>
97 </tr> 97 </tr>
98 98
99 <tr> 99 <tr>
100 <td colspan="2" class="tdright">幢用地面积(㎡)</td> 100 <td colspan="2" class="tdright">幢用地面积(㎡)</td>
101 <td colspan="4" > 101 <td colspan="4" >
102 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.zydmj"> 102 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zydmj">
103 </td> 103 </td>
104 <td colspan="2" class="tdright">幢占用地面积(㎡)</td> 104 <td colspan="2" class="tdright">幢占用地面积(㎡)</td>
105 <td colspan="4" > 105 <td colspan="4" >
106 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.zzdmj"> 106 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zzdmj">
107 </td> 107 </td>
108 </tr> 108 </tr>
109 109
110 <tr> 110 <tr>
111 <td colspan="2" class="tdright">预测建筑面积(㎡)</td> 111 <td colspan="2" class="tdright">预测建筑面积(㎡)</td>
112 <td colspan="4" > 112 <td colspan="4" >
113 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.ycjzmj"> 113 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.ycjzmj">
114 </td> 114 </td>
115 <td colspan="2" class="tdright">实测建筑面积(㎡)</td> 115 <td colspan="2" class="tdright">实测建筑面积(㎡)</td>
116 <td colspan="4" > 116 <td colspan="4" >
117 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.scjzmj"> 117 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.scjzmj">
118 </td> 118 </td>
119 </tr> 119 </tr>
120 120
......