afd2c3d3 by zhaoqian

c,ljz,批量提交户的数据验证

1 parent 907569b0
......@@ -157,8 +157,10 @@
watch:{
cbsm: {
handler: function (item) {
console.log(item,"item")
console.log(this.$parent.$parent.menuType,"this.$parent.$parent.menuType")
if(item!='' && this.$parent.$parent.menuType == 'c'){
this.getLjzInfo(this.item)
this.getCinfo(item)
}
},
immediate: true
......
......@@ -412,9 +412,11 @@ export default {
Message.warning("已提交的户无法继续操作")
}else{
batchCommit(this.bsms).then(res=>{
if (res.success) {
if(res.code === 200){
Message.success("提交成功");
this.getlpbData();
}else {
this.$message.error(res.message);
}
})
}
......
......@@ -55,33 +55,33 @@
<tr height="30">
<td colspan="2" align="center">预测建筑面积(㎡)</td>
<td colspan="4">
<el-input v-model="form.ycjzmj"></el-input>
<el-input v-model="form.ycjzmj" maxlength="8"></el-input>
</td>
<td colspan="2" align="center">实测建筑面积(㎡)</td>
<td colspan="4">
<el-input v-model="form.scjzmj"></el-input>
<el-input v-model="form.scjzmj" maxlength="8"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center">预测地下面积(㎡)</td>
<td colspan="4">
<el-input v-model="form.ycdxmj"></el-input>
<el-input v-model="form.ycdxmj" maxlength="8"></el-input>
</td>
<td colspan="2" align="center">实测地下面积(㎡)</td>
<td colspan="4">
<el-input v-model="form.scdxmj"></el-input>
<el-input v-model="form.scdxmj" maxlength="8"></el-input>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center">预测其他面积(㎡)</td>
<td colspan="4">
<el-input v-model="form.ycqtmj"></el-input>
<el-input v-model="form.ycqtmj" maxlength="8"></el-input>
</td>
<td colspan="2" align="center">实测其他面积(㎡)</td>
<td colspan="4">
<el-input v-model="form.scqymj"></el-input>
<el-input v-model="form.scqymj" maxlength="8"></el-input>
</td>
</tr>
......