c,ljz,批量提交户的数据验证
Showing
3 changed files
with
12 additions
and
8 deletions
... | @@ -157,8 +157,10 @@ | ... | @@ -157,8 +157,10 @@ |
157 | watch:{ | 157 | watch:{ |
158 | cbsm: { | 158 | cbsm: { |
159 | handler: function (item) { | 159 | handler: function (item) { |
160 | console.log(item,"item") | ||
161 | console.log(this.$parent.$parent.menuType,"this.$parent.$parent.menuType") | ||
160 | if(item!='' && this.$parent.$parent.menuType == 'c'){ | 162 | if(item!='' && this.$parent.$parent.menuType == 'c'){ |
161 | this.getLjzInfo(this.item) | 163 | this.getCinfo(item) |
162 | } | 164 | } |
163 | }, | 165 | }, |
164 | immediate: true | 166 | immediate: true | ... | ... |
... | @@ -412,9 +412,11 @@ export default { | ... | @@ -412,9 +412,11 @@ export default { |
412 | Message.warning("已提交的户无法继续操作") | 412 | Message.warning("已提交的户无法继续操作") |
413 | }else{ | 413 | }else{ |
414 | batchCommit(this.bsms).then(res=>{ | 414 | batchCommit(this.bsms).then(res=>{ |
415 | if (res.success) { | 415 | if(res.code === 200){ |
416 | Message.success("提交成功"); | 416 | Message.success("提交成功"); |
417 | this.getlpbData(); | 417 | this.getlpbData(); |
418 | }else { | ||
419 | this.$message.error(res.message); | ||
418 | } | 420 | } |
419 | }) | 421 | }) |
420 | } | 422 | } | ... | ... |
... | @@ -55,33 +55,33 @@ | ... | @@ -55,33 +55,33 @@ |
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 | <el-input v-model="form.ycjzmj"></el-input> | 58 | <el-input v-model="form.ycjzmj" maxlength="8"></el-input> |
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"> |
62 | <el-input v-model="form.scjzmj"></el-input> | 62 | <el-input v-model="form.scjzmj" maxlength="8"></el-input> |
63 | </td> | 63 | </td> |
64 | </tr> | 64 | </tr> |
65 | 65 | ||
66 | <tr height="30"> | 66 | <tr height="30"> |
67 | <td colspan="2" align="center">预测地下面积(㎡)</td> | 67 | <td colspan="2" align="center">预测地下面积(㎡)</td> |
68 | <td colspan="4"> | 68 | <td colspan="4"> |
69 | <el-input v-model="form.ycdxmj"></el-input> | 69 | <el-input v-model="form.ycdxmj" maxlength="8"></el-input> |
70 | </td> | 70 | </td> |
71 | <td colspan="2" align="center">实测地下面积(㎡)</td> | 71 | <td colspan="2" align="center">实测地下面积(㎡)</td> |
72 | <td colspan="4"> | 72 | <td colspan="4"> |
73 | <el-input v-model="form.scdxmj"></el-input> | 73 | <el-input v-model="form.scdxmj" maxlength="8"></el-input> |
74 | </td> | 74 | </td> |
75 | </tr> | 75 | </tr> |
76 | 76 | ||
77 | <tr height="30"> | 77 | <tr height="30"> |
78 | <td colspan="2" align="center">预测其他面积(㎡)</td> | 78 | <td colspan="2" align="center">预测其他面积(㎡)</td> |
79 | <td colspan="4"> | 79 | <td colspan="4"> |
80 | <el-input v-model="form.ycqtmj"></el-input> | 80 | <el-input v-model="form.ycqtmj" maxlength="8"></el-input> |
81 | </td> | 81 | </td> |
82 | <td colspan="2" align="center">实测其他面积(㎡)</td> | 82 | <td colspan="2" align="center">实测其他面积(㎡)</td> |
83 | <td colspan="4"> | 83 | <td colspan="4"> |
84 | <el-input v-model="form.scqymj"></el-input> | 84 | <el-input v-model="form.scqymj" maxlength="8"></el-input> |
85 | </td> | 85 | </td> |
86 | </tr> | 86 | </tr> |
87 | 87 | ... | ... |
-
Please register or sign in to post a comment