8b9ca82b by weimo934

style(plc):修改批量层样式,表单输入验证

1 parent 4fd24016
......@@ -10,51 +10,51 @@
<div>
<table border="1">
<tr>
<td>层建筑面积</td>
<td>层建筑面积(㎡)</td>
<td>
<input type="text" v-model="qlcData.cjzmj" class="inputtitle"/>
<el-input v-model="qlcData.cjzmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层建筑面积(㎡)"></el-input>
</td>
<td>
层套内建筑面积
层套内建筑面积(㎡)
</td>
<td>
<input text="text" v-model="qlcData.ctnjzmj" class="inputtitle"/>
<el-input v-model="qlcData.ctnjzmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层套内建筑面积(㎡)" ></el-input>
</td>
</tr>
<tr>
<td>层阳台面积</td>
<td>层阳台面积(㎡)</td>
<td>
<input type="text" v-model="qlcData.cytmj" class="inputtitle"/>
<el-input v-model="qlcData.cytmj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层阳台面积(㎡)"></el-input>
</td>
<td>
层半墙面积
层半墙面积(㎡)
</td>
<td>
<input text="text" v-model="qlcData.cbqmj" class="inputtitle"/>
<el-input v-model="qlcData.cbqmj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层半墙面积(㎡)"></el-input>
</td>
</tr>
<tr>
<td>层共有建筑面积(㎡)</td>
<td>
<input type="text" v-model="qlcData.cgyjzmj" class="inputtitle"/>
<el-input v-model="qlcData.cgyjzmj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层共有建筑面积(㎡)"></el-input>
</td>
<td>
层分摊建筑面积(㎡)
</td>
<td>
<input text="text" v-model="qlcData.cftjzmj" class="inputtitle"/>
<el-input v-model="qlcData.cftjzmj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层分摊建筑面积(㎡)"></el-input>
</td>
</tr>
<tr>
<td>层高</td>
<td>层高(m)</td>
<td>
<input type="text" v-model="qlcData.cg" class="inputtitle"/>
<el-input v-model="qlcData.cg" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="层高(m)"></el-input>
</td>
<td>
水平投影面积(㎡)
</td>
<td>
<input text="text" v-model="qlcData.sptymj" class="inputtitle"/>
<el-input v-model="qlcData.sptymj" class="" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" placeholder="水平投影面积(㎡)"></el-input>
</td>
</tr>
</table>
......
......@@ -12,7 +12,7 @@
<table border="1">
<tr>
<td>室号前缀</td>
<td>单元号</td>
<td>单元号</td>
<td>分割符A</td>
<td>层号前自动补0</td>
<td></td>
......