dc212c5e by zhaoqian

表单输入参数限制

1 parent 0dea450b
......@@ -39,7 +39,7 @@
<tr height="30">
<td colspan="2" align="center" >共有土地面积(㎡)</td>
<td colspan="4" >
<input class="formInput" v-model="form.zdmj">
<input class="formInput" type="number" v-model="form.zdmj">
</td>
<td colspan="2" align="center" >竣工日期</td>
<td colspan="4" >
......@@ -55,7 +55,7 @@
<tr height="30">
<td colspan="2" align="center" >分摊土地面积(㎡)</td>
<td colspan="4" >
<input class="formInput" v-model="form.fttdsymj">
<input class="formInput" type="number" v-model="form.fttdsymj">
</td>
<td colspan="2" align="center" >产别</td>
<td colspan="4" >
......@@ -71,7 +71,7 @@
</tr>
<tr height="30">
<td colspan="2" align="center" >多幢独用土地面积(㎡)</td>
<td colspan="2" align="center" type="number" >多幢独用土地面积(㎡)</td>
<td colspan="4" >
<input class="formInput" v-model="form.dlsytdmj">
</td>
......
......@@ -52,9 +52,9 @@
</tr>
<tr height="30">
<td colspan="2" align="center" >构(建)筑物面积(㎡)</td>
<td colspan="2" align="center">构(建)筑物面积(㎡)</td>
<td colspan="4" >
<input class="formInput" v-model="form.mj" :disabled="form.qszt!=='0'">
<input class="formInput" type="number" v-model="form.mj" :disabled="form.qszt!=='0'">
</td>
<td colspan="2" align="center" >竣工日期</td>
<td colspan="4" >
......
......@@ -179,7 +179,7 @@
</td>
<td colspan="2" class="tdright">价格(元)</td>
<td colspan="4" class="psr">
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jg"/>
<input :disabled="formData.qszt!='0'" class="formInput" type="number" v-model="formData.jg"/>
</td>
</tr>
<tr>
......
......@@ -153,62 +153,62 @@
<td colspan="2" rowspan="6" align="center" >预测</td>
<td colspan="2" align="center" >建筑面积(㎡) </td>
<td colspan="2" align="center" >
<el-input v-model="form.ycjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
<el-input v-model="form.ycjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" rowspan="6" align="center" >实测</td>
<td colspan="2" align="center" >建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.scjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
<el-input v-model="form.scjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >套内建筑面积(㎡))</td>
<td colspan="2" align="center" >
<el-input v-model="form.yctnjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
<el-input v-model="form.yctnjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >套内建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.sctnjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
<el-input v-model="form.sctnjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >分摊建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.ycftjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
<el-input v-model="form.ycftjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >分摊建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.scftjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
<el-input v-model="form.scftjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >地下部分建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.ycdxbfjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
<el-input v-model="form.ycdxbfjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >地下部分建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.scdxbfjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
<el-input v-model="form.scdxbfjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >其它建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.ycqtjzmj" :disabled="form.scyclx==='1'||disableFlag"></el-input>
<el-input v-model="form.ycqtjzmj" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >其它建筑面积(㎡)</td>
<td colspan="2" align="center" >
<el-input v-model="form.scqtjzmj" :disabled="form.scyclx==='0'||disableFlag"></el-input>
<el-input v-model="form.scqtjzmj" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >分摊系数</td>
<td colspan="2" align="center" >
<el-input v-model="form.ycftxs" :disabled="form.scyclx==='1'||disableFlag"></el-input>
<el-input v-model="form.ycftxs" type="number" :disabled="form.scyclx==='1'||disableFlag"></el-input>
</td>
<td colspan="2" align="center" >分摊系数</td>
<td colspan="2" align="center" >
<el-input v-model="form.scftxs" :disabled="form.scyclx==='0'||disableFlag"></el-input>
<el-input v-model="form.scftxs" type="number" :disabled="form.scyclx==='0'||disableFlag"></el-input>
</td>
</tr>
......@@ -296,15 +296,15 @@
<tr height="30">
<td colspan="2" align="center" >共有土地面积(㎡)</td>
<td colspan="2" >
<el-input v-model="form.gytdmj" :disabled="disableFlag"></el-input>
<el-input v-model="form.gytdmj" type="number" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" align="center" >分摊土地面积(㎡)</td>
<td colspan="2" >
<el-input v-model="form.fttdmj" :disabled="disableFlag"></el-input>
<el-input v-model="form.fttdmj" type="number" :disabled="disableFlag"></el-input>
</td>
<td colspan="2" align="center" >多幢独用土地面积(㎡)</td>
<td colspan="2" >
<el-input v-model="form.dytdmj" :disabled="disableFlag"></el-input>
<el-input v-model="form.dytdmj" type="number" :disabled="disableFlag"></el-input>
</td>
</tr>
......
......@@ -66,22 +66,22 @@
<tr>
<td colspan="2" class="tdright">地下层数</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.dxcs">
<input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dxcs">
</td>
<td colspan="2" class="tdright">地上层数</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.dscs">
<input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dscs">
</td>
</tr>
<tr>
<td colspan="2" class="tdright">总层数</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zcs">
<input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zcs">
</td>
<td colspan="2" class="tdright">总套数</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zts">
<input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zts">
</td>
</tr>
......@@ -92,29 +92,29 @@
</td>
<td colspan="2" class="tdright">地下深度(m)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.dxsd">
<input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dxsd">
</td>
</tr>
<tr>
<td colspan="2" class="tdright">幢用地面积(㎡)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zydmj">
<input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zydmj">
</td>
<td colspan="2" class="tdright">幢占用地面积(㎡)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zzdmj">
<input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zzdmj">
</td>
</tr>
<tr>
<td colspan="2" class="tdright">预测建筑面积(㎡)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.ycjzmj">
<input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.ycjzmj">
</td>
<td colspan="2" class="tdright">实测建筑面积(㎡)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.scjzmj">
<input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.scjzmj">
</td>
</tr>
......