style(plc):修改批量层样式,表单输入验证
Showing
2 changed files
with
14 additions
and
14 deletions
... | @@ -10,51 +10,51 @@ | ... | @@ -10,51 +10,51 @@ |
10 | <div> | 10 | <div> |
11 | <table border="1"> | 11 | <table border="1"> |
12 | <tr> | 12 | <tr> |
13 | <td>层建筑面积</td> | 13 | <td>层建筑面积(㎡)</td> |
14 | <td> | 14 | <td> |
15 | <input type="text" v-model="qlcData.cjzmj" class="inputtitle"/> | 15 | <el-input v-model="qlcData.cjzmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层建筑面积(㎡)"></el-input> |
16 | </td> | 16 | </td> |
17 | <td> | 17 | <td> |
18 | 层套内建筑面积 | 18 | 层套内建筑面积(㎡) |
19 | </td> | 19 | </td> |
20 | <td> | 20 | <td> |
21 | <input text="text" v-model="qlcData.ctnjzmj" class="inputtitle"/> | 21 | <el-input v-model="qlcData.ctnjzmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层套内建筑面积(㎡)" ></el-input> |
22 | </td> | 22 | </td> |
23 | </tr> | 23 | </tr> |
24 | <tr> | 24 | <tr> |
25 | <td>层阳台面积</td> | 25 | <td>层阳台面积(㎡)</td> |
26 | <td> | 26 | <td> |
27 | <input type="text" v-model="qlcData.cytmj" class="inputtitle"/> | 27 | <el-input v-model="qlcData.cytmj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层阳台面积(㎡)"></el-input> |
28 | </td> | 28 | </td> |
29 | <td> | 29 | <td> |
30 | 层半墙面积 | 30 | 层半墙面积(㎡) |
31 | </td> | 31 | </td> |
32 | <td> | 32 | <td> |
33 | <input text="text" v-model="qlcData.cbqmj" class="inputtitle"/> | 33 | <el-input v-model="qlcData.cbqmj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层半墙面积(㎡)"></el-input> |
34 | </td> | 34 | </td> |
35 | </tr> | 35 | </tr> |
36 | <tr> | 36 | <tr> |
37 | <td>层共有建筑面积(㎡)</td> | 37 | <td>层共有建筑面积(㎡)</td> |
38 | <td> | 38 | <td> |
39 | <input type="text" v-model="qlcData.cgyjzmj" class="inputtitle"/> | 39 | <el-input v-model="qlcData.cgyjzmj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层共有建筑面积(㎡)"></el-input> |
40 | </td> | 40 | </td> |
41 | <td> | 41 | <td> |
42 | 层分摊建筑面积(㎡) | 42 | 层分摊建筑面积(㎡) |
43 | </td> | 43 | </td> |
44 | <td> | 44 | <td> |
45 | <input text="text" v-model="qlcData.cftjzmj" class="inputtitle"/> | 45 | <el-input v-model="qlcData.cftjzmj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层分摊建筑面积(㎡)"></el-input> |
46 | </td> | 46 | </td> |
47 | </tr> | 47 | </tr> |
48 | <tr> | 48 | <tr> |
49 | <td>层高</td> | 49 | <td>层高(m)</td> |
50 | <td> | 50 | <td> |
51 | <input type="text" v-model="qlcData.cg" class="inputtitle"/> | 51 | <el-input v-model="qlcData.cg" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层高(m)"></el-input> |
52 | </td> | 52 | </td> |
53 | <td> | 53 | <td> |
54 | 水平投影面积(㎡) | 54 | 水平投影面积(㎡) |
55 | </td> | 55 | </td> |
56 | <td> | 56 | <td> |
57 | <input text="text" v-model="qlcData.sptymj" class="inputtitle"/> | 57 | <el-input v-model="qlcData.sptymj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="水平投影面积(㎡)"></el-input> |
58 | </td> | 58 | </td> |
59 | </tr> | 59 | </tr> |
60 | </table> | 60 | </table> | ... | ... |
-
Please register or sign in to post a comment