宗地表单保存前判断宗地代码和不动产单元号前14位是否和底盘代码一致
Showing
1 changed file
with
17 additions
and
7 deletions
... | @@ -454,7 +454,7 @@ export default { | ... | @@ -454,7 +454,7 @@ export default { |
454 | }) | 454 | }) |
455 | } | 455 | } |
456 | //权利性质数据传给子组件 | 456 | //权利性质数据传给子组件 |
457 | this.$refs.qlxzModule.countList = res.result.list | 457 | this.$refs.qlxzModule.countList = res.result.list; |
458 | } | 458 | } |
459 | } | 459 | } |
460 | }) | 460 | }) |
... | @@ -485,7 +485,6 @@ export default { | ... | @@ -485,7 +485,6 @@ export default { |
485 | this.dpdm = this.dpdm + item.dm; | 485 | this.dpdm = this.dpdm + item.dm; |
486 | } | 486 | } |
487 | }); | 487 | }); |
488 | console.log(this.dpdm) | ||
489 | }, | 488 | }, |
490 | 489 | ||
491 | //不动产单元号再次生成提示框 | 490 | //不动产单元号再次生成提示框 |
... | @@ -540,8 +539,13 @@ export default { | ... | @@ -540,8 +539,13 @@ export default { |
540 | this.formData.jyrjl = this.isInterval(this.formData.jyrjl) ? this.rjl : this.formData.jyrjl; | 539 | this.formData.jyrjl = this.isInterval(this.formData.jyrjl) ? this.rjl : this.formData.jyrjl; |
541 | this.formData.jyjzmd = this.isInterval(this.formData.jyjzmd) ? this.jzmd : this.formData.jyjzmd; | 540 | this.formData.jyjzmd = this.isInterval(this.formData.jyjzmd) ? this.jzmd : this.formData.jyjzmd; |
542 | this.formData.jyjzxg = this.isInterval(this.formData.jyjzxg) ? this.jzxg : this.formData.jyjzxg; | 541 | this.formData.jyjzxg = this.isInterval(this.formData.jyjzxg) ? this.jzxg : this.formData.jyjzxg; |
543 | 542 | //判断宗地代码和不动产单元号是否手动修改过(宗地代码和不动产单元号的前14位是否和底盘代码一致) | |
544 | 543 | if(this.formData.zddm.substring(0,14) != this.dpdm || this.formData.bdcdyh.substring(0,14) != this.dpdm){ | |
544 | this.$message({ | ||
545 | message: '宗地代码或不动产单元号有误,请核对后再试一次', | ||
546 | type: "warning", | ||
547 | }); | ||
548 | }else{ | ||
545 | // FIXME:表单验证错误 | 549 | // FIXME:表单验证错误 |
546 | /* this.$refs['ruleForm'].validate((valid) => { | 550 | /* this.$refs['ruleForm'].validate((valid) => { |
547 | debugger | 551 | debugger |
... | @@ -571,6 +575,9 @@ export default { | ... | @@ -571,6 +575,9 @@ export default { |
571 | } | 575 | } |
572 | }) | 576 | }) |
573 | .catch((error) => {}); | 577 | .catch((error) => {}); |
578 | } | ||
579 | |||
580 | |||
574 | 581 | ||
575 | }, | 582 | }, |
576 | //提交宗地基本信息 | 583 | //提交宗地基本信息 |
... | @@ -629,14 +636,17 @@ export default { | ... | @@ -629,14 +636,17 @@ export default { |
629 | this.$store.state.xzqList = res.result; | 636 | this.$store.state.xzqList = res.result; |
630 | }) | 637 | }) |
631 | .catch((error) => {}); | 638 | .catch((error) => {}); |
639 | |||
640 | getListByPbsm(djqdm) | ||
641 | .then((res) => { | ||
642 | this.$store.state.djzqList = res.result; | ||
632 | getListByXzqbsm(xzqdm) | 643 | getListByXzqbsm(xzqdm) |
633 | .then((res) => { | 644 | .then((res) => { |
634 | this.$store.state.djqList = res.result; | 645 | this.$store.state.djqList = res.result; |
646 | //生成底盘代码 | ||
647 | this.generatorDpdm(); | ||
635 | }) | 648 | }) |
636 | .catch((error) => {}); | 649 | .catch((error) => {}); |
637 | getListByPbsm(djqdm) | ||
638 | .then((res) => { | ||
639 | this.$store.state.djzqList = res.result; | ||
640 | }) | 650 | }) |
641 | .catch((error) => {}); | 651 | .catch((error) => {}); |
642 | } | 652 | } | ... | ... |
-
Please register or sign in to post a comment