自然幢信息保存前判断自然幢号和不动产单元号的前19位是否和宗地代码一致
Showing
1 changed file
with
10 additions
and
16 deletions
... | @@ -348,22 +348,6 @@ | ... | @@ -348,22 +348,6 @@ |
348 | sx:'', //顺序 | 348 | sx:'', //顺序 |
349 | }], | 349 | }], |
350 | }, | 350 | }, |
351 | options: [{ | ||
352 | value: '选项1', | ||
353 | label: '黄金糕' | ||
354 | }, { | ||
355 | value: '选项2', | ||
356 | label: '双皮奶' | ||
357 | }, { | ||
358 | value: '选项3', | ||
359 | label: '蚵仔煎' | ||
360 | }, { | ||
361 | value: '选项4', | ||
362 | label: '龙须面' | ||
363 | }, { | ||
364 | value: '选项5', | ||
365 | label: '北京烤鸭' | ||
366 | }], | ||
367 | value: '', | 351 | value: '', |
368 | ytTitleRowspan:1, //用途的单元格垂直合并数量 | 352 | ytTitleRowspan:1, //用途的单元格垂直合并数量 |
369 | fwjgTitleRowspan:1, //房屋结构的单元格垂直合并数量 | 353 | fwjgTitleRowspan:1, //房屋结构的单元格垂直合并数量 |
... | @@ -412,6 +396,14 @@ | ... | @@ -412,6 +396,14 @@ |
412 | } | 396 | } |
413 | }, | 397 | }, |
414 | onSave(){ | 398 | onSave(){ |
399 | //判断自然幢号和不动产单元号是否手动修改过(自然幢号和不动产单元号的前19位是否和宗地代码一致) | ||
400 | console.log(this.form,'this.form'); | ||
401 | if(this.form.zrzh.substring(0,19) != this.form.zddm || this.form.bdcdyh.substring(0,19) != this.form.zddm){ | ||
402 | this.$message({ | ||
403 | message: '自然幢号或不动产单元号有误,请核对后再试一次', | ||
404 | type: "warning", | ||
405 | }); | ||
406 | }else{ | ||
415 | this.loading=true; | 407 | this.loading=true; |
416 | this.form.zrzbsm=this.bsm; | 408 | this.form.zrzbsm=this.bsm; |
417 | this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList(); | 409 | this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList(); |
... | @@ -429,6 +421,8 @@ | ... | @@ -429,6 +421,8 @@ |
429 | }) | 421 | }) |
430 | this.loading=false; | 422 | this.loading=false; |
431 | } | 423 | } |
424 | } | ||
425 | |||
432 | }, | 426 | }, |
433 | onSubmit(){ | 427 | onSubmit(){ |
434 | let data={ | 428 | let data={ | ... | ... |
-
Please register or sign in to post a comment