--no commit message
Showing
15 changed files
with
238 additions
and
87 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:01 | 4 | * @LastEditTime: 2023-08-04 15:53:09 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -843,6 +843,14 @@ | ... | @@ -843,6 +843,14 @@ |
843 | } | 843 | } |
844 | this.ruleForm.qlrData[0].sfczr = "1"; | 844 | this.ruleForm.qlrData[0].sfczr = "1"; |
845 | } else { | 845 | } else { |
846 | if (this.ruleForm.qlrList.length <= 1) { | ||
847 | this.$message({ | ||
848 | showClose: true, | ||
849 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
850 | type: "error", | ||
851 | }); | ||
852 | return false; | ||
853 | } | ||
846 | //是否分别持证 | 854 | //是否分别持证 |
847 | if (this.ruleForm.sldy.sqfbcz == "1") { | 855 | if (this.ruleForm.sldy.sqfbcz == "1") { |
848 | //是 | 856 | //是 | ... | ... |
... | @@ -733,6 +733,14 @@ | ... | @@ -733,6 +733,14 @@ |
733 | } | 733 | } |
734 | this.ruleForm.qlrData[0].sfczr = "1"; | 734 | this.ruleForm.qlrData[0].sfczr = "1"; |
735 | } else { | 735 | } else { |
736 | if (this.ruleForm.qlrList.length <= 1) { | ||
737 | this.$message({ | ||
738 | showClose: true, | ||
739 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
740 | type: "error", | ||
741 | }); | ||
742 | return false; | ||
743 | } | ||
736 | //是否分别持证 | 744 | //是否分别持证 |
737 | if (this.ruleForm.sldy.sqfbcz == "1") { | 745 | if (this.ruleForm.sldy.sqfbcz == "1") { |
738 | //是 | 746 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:16 | 4 | * @LastEditTime: 2023-08-04 15:53:29 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -773,6 +773,14 @@ djlxchange(val) { | ... | @@ -773,6 +773,14 @@ djlxchange(val) { |
773 | } | 773 | } |
774 | this.ruleForm.qlrData[0].sfczr = "1"; | 774 | this.ruleForm.qlrData[0].sfczr = "1"; |
775 | } else { | 775 | } else { |
776 | if (this.ruleForm.qlrList.length <= 1) { | ||
777 | this.$message({ | ||
778 | showClose: true, | ||
779 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
780 | type: "error", | ||
781 | }); | ||
782 | return false; | ||
783 | } | ||
776 | //是否分别持证 | 784 | //是否分别持证 |
777 | if (this.ruleForm.sldy.sqfbcz == "1") { | 785 | if (this.ruleForm.sldy.sqfbcz == "1") { |
778 | //是 | 786 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:24 | 4 | * @LastEditTime: 2023-08-04 15:53:36 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -578,6 +578,15 @@ export default { | ... | @@ -578,6 +578,15 @@ export default { |
578 | onSubmit () { | 578 | onSubmit () { |
579 | this.$refs.ruleForm.validate((valid) => { | 579 | this.$refs.ruleForm.validate((valid) => { |
580 | if (valid) { | 580 | if (valid) { |
581 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
582 | if (arr.length > 0) { | ||
583 | this.$message({ | ||
584 | showClose: true, | ||
585 | message: "土地用途不能为空", | ||
586 | type: "error", | ||
587 | }); | ||
588 | return false; | ||
589 | } | ||
581 | if (this.ruleForm.qlrData.length == 0) { | 590 | if (this.ruleForm.qlrData.length == 0) { |
582 | this.$message({ | 591 | this.$message({ |
583 | showClose: true, | 592 | showClose: true, |
... | @@ -605,6 +614,14 @@ export default { | ... | @@ -605,6 +614,14 @@ export default { |
605 | } | 614 | } |
606 | this.ruleForm.qlrData[0].sfczr = "1"; | 615 | this.ruleForm.qlrData[0].sfczr = "1"; |
607 | } else { | 616 | } else { |
617 | if (this.ruleForm.qlrList.length <= 1) { | ||
618 | this.$message({ | ||
619 | showClose: true, | ||
620 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
621 | type: "error", | ||
622 | }); | ||
623 | return false; | ||
624 | } | ||
608 | //是否分别持证 | 625 | //是否分别持证 |
609 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 626 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
610 | //是 | 627 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:28 | 4 | * @LastEditTime: 2023-08-04 15:53:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -665,6 +665,15 @@ export default { | ... | @@ -665,6 +665,15 @@ export default { |
665 | onSubmit () { | 665 | onSubmit () { |
666 | this.$refs.ruleForm.validate((valid) => { | 666 | this.$refs.ruleForm.validate((valid) => { |
667 | if (valid) { | 667 | if (valid) { |
668 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
669 | if (arr.length > 0) { | ||
670 | this.$message({ | ||
671 | showClose: true, | ||
672 | message: "土地用途不能为空", | ||
673 | type: "error", | ||
674 | }); | ||
675 | return false; | ||
676 | } | ||
668 | if (this.ruleForm.qlrData.length == 0) { | 677 | if (this.ruleForm.qlrData.length == 0) { |
669 | this.$message({ | 678 | this.$message({ |
670 | showClose: true, | 679 | showClose: true, |
... | @@ -684,6 +693,14 @@ export default { | ... | @@ -684,6 +693,14 @@ export default { |
684 | } | 693 | } |
685 | this.ruleForm.qlrData[0].sfczr = "1"; | 694 | this.ruleForm.qlrData[0].sfczr = "1"; |
686 | } else { | 695 | } else { |
696 | if (this.ruleForm.qlrList.length <= 1) { | ||
697 | this.$message({ | ||
698 | showClose: true, | ||
699 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
700 | type: "error", | ||
701 | }); | ||
702 | return false; | ||
703 | } | ||
687 | //是否分别持证 | 704 | //是否分别持证 |
688 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 705 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
689 | //是 | 706 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:33 | 4 | * @LastEditTime: 2023-08-04 15:53:44 |
5 | :show-message="false" | 5 | :show-message="false" |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
... | @@ -818,6 +818,14 @@ created() { | ... | @@ -818,6 +818,14 @@ created() { |
818 | } | 818 | } |
819 | this.ruleForm.qlrData[0].sfczr = "1"; | 819 | this.ruleForm.qlrData[0].sfczr = "1"; |
820 | } else { | 820 | } else { |
821 | if (this.ruleForm.qlrList.length <= 1) { | ||
822 | this.$message({ | ||
823 | showClose: true, | ||
824 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
825 | type: "error", | ||
826 | }); | ||
827 | return false; | ||
828 | } | ||
821 | //是否分别持证 | 829 | //是否分别持证 |
822 | if (this.ruleForm.sldy.sqfbcz == "1") { | 830 | if (this.ruleForm.sldy.sqfbcz == "1") { |
823 | //是 | 831 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:42 | 4 | * @LastEditTime: 2023-08-04 15:53:48 |
5 | :show-message="false" | 5 | :show-message="false" |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
... | @@ -723,6 +723,14 @@ created() { | ... | @@ -723,6 +723,14 @@ created() { |
723 | } | 723 | } |
724 | this.ruleForm.qlrData[0].sfczr = "1"; | 724 | this.ruleForm.qlrData[0].sfczr = "1"; |
725 | } else { | 725 | } else { |
726 | if (this.ruleForm.qlrList.length <= 1) { | ||
727 | this.$message({ | ||
728 | showClose: true, | ||
729 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
730 | type: "error", | ||
731 | }); | ||
732 | return false; | ||
733 | } | ||
726 | //是否分别持证 | 734 | //是否分别持证 |
727 | if (this.ruleForm.sldy.sqfbcz == "1") { | 735 | if (this.ruleForm.sldy.sqfbcz == "1") { |
728 | //是 | 736 | //是 | ... | ... |
... | @@ -787,6 +787,14 @@ export default { | ... | @@ -787,6 +787,14 @@ export default { |
787 | } | 787 | } |
788 | this.ruleForm.qlrData[0].sfczr = "1"; | 788 | this.ruleForm.qlrData[0].sfczr = "1"; |
789 | } else { | 789 | } else { |
790 | if (this.ruleForm.qlrList.length <= 1) { | ||
791 | this.$message({ | ||
792 | showClose: true, | ||
793 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
794 | type: "error", | ||
795 | }); | ||
796 | return false; | ||
797 | } | ||
790 | //是否分别持证 | 798 | //是否分别持证 |
791 | if (this.ruleForm.sldy.sqfbcz == "1") { | 799 | if (this.ruleForm.sldy.sqfbcz == "1") { |
792 | //是 | 800 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-02 08:40:35 | 4 | * @LastEditTime: 2023-08-04 15:45:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -90,85 +90,84 @@ | ... | @@ -90,85 +90,84 @@ |
90 | 房屋多幢明细 | 90 | 房屋多幢明细 |
91 | <div class="triangle"></div> | 91 | <div class="triangle"></div> |
92 | <fdcqxmTable | 92 | <fdcqxmTable |
93 | :ableOperation="ableOperation" | 93 | :ableOperation="ableOperation" |
94 | :tableData="ruleForm.fdcqxm" | 94 | :tableData="ruleForm.fdcqxm" |
95 | @upDateTdytxxList="upDateTdytxxList" /> | 95 | @upDateTdytxxList="upDateTdytxxList" /> |
96 | <div class="slxx_title title-block"> | 96 | <div class="slxx_title title-block"> |
97 | 土地用途 | 97 | 土地用途 |
98 | <div class="triangle"></div> | 98 | <div class="triangle"></div> |
99 | </div> | 99 | </div> |
100 | <tdytTable | 100 | <tdytTable |
101 | :ableOperation="ableOperation" | 101 | :ableOperation="ableOperation" |
102 | :tableData="ruleForm.tdytqxList" | 102 | :tableData="ruleForm.tdytqxList" |
103 | @upDateTdytxxList="upDateTdytxxList" /> | 103 | @upDateTdytxxList="upDateTdytxxList" /> |
104 | <div class="slxx_title title-block"> | 104 | <div class="slxx_title title-block"> |
105 | 权利人信息 | 105 | 权利人信息 |
106 | <div class="triangle"></div> | 106 | <div class="triangle"></div> |
107 | </div> | 107 | </div> |
108 | <el-row :gutter="10"> | 108 | <el-row :gutter="10"> |
109 | <el-col :span="14" v-if="ruleForm.qlxx"> | 109 | <el-col :span="14" v-if="ruleForm.qlxx"> |
110 | <el-form-item label="共有方式:"> | 110 | <el-form-item label="共有方式:"> |
111 | <el-radio-group :disabled="!ableOperation" @change="showCZInfo" | 111 | <el-radio-group :disabled="!ableOperation" @change="showCZInfo" |
112 | v-model="ruleForm.sldy.gyfs"> | 112 | v-model="ruleForm.sldy.gyfs"> |
113 | <el-radio label="0">单独所有</el-radio> | 113 | <el-radio label="0">单独所有</el-radio> |
114 | <el-radio label="1">共同共有</el-radio> | 114 | <el-radio label="1">共同共有</el-radio> |
115 | <el-radio label="2">按份所有</el-radio> | 115 | <el-radio label="2">按份所有</el-radio> |
116 | <el-radio label="3">其它共有</el-radio> | 116 | <el-radio label="3">其它共有</el-radio> |
117 | </el-radio-group> | 117 | </el-radio-group> |
118 | </el-form-item> | 118 | </el-form-item> |
119 | </el-col> | 119 | </el-col> |
120 | <el-col :span="5"> | 120 | <el-col :span="5"> |
121 | <el-form-item label="发证方式:"> | 121 | <el-form-item label="发证方式:"> |
122 | <el-radio-group v-model="ruleForm.slsq.fzfs" :disabled="!ableOperation"> | 122 | <el-radio-group v-model="ruleForm.slsq.fzfs" :disabled="!ableOperation"> |
123 | <el-radio label="1">小证</el-radio> | 123 | <el-radio label="1">小证</el-radio> |
124 | <el-radio label="2">大证</el-radio> | 124 | <el-radio label="2">大证</el-radio> |
125 | </el-radio-group> | 125 | </el-radio-group> |
126 | </el-form-item> | 126 | </el-form-item> |
127 | </el-col> | 127 | </el-col> |
128 | |||
129 | 128 | ||
130 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> | 129 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> |
131 | <el-form-item label="是否分别持证:"> | 130 | <el-form-item label="是否分别持证:"> |
132 | <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation"> | 131 | <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation"> |
133 | <el-radio label="1">是</el-radio> | 132 | <el-radio label="1">是</el-radio> |
134 | <el-radio label="0">否</el-radio> | 133 | <el-radio label="0">否</el-radio> |
135 | </el-radio-group> | 134 | </el-radio-group> |
136 | </el-form-item> | 135 | </el-form-item> |
137 | </el-col> | 136 | </el-col> |
138 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> | 137 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> |
139 | <el-form-item label="持证人:"> | 138 | <el-form-item label="持证人:"> |
140 | <el-select v-model="ruleForm.slsq.czr" placeholder="持证人" :disabled="!ableOperation"> | 139 | <el-select v-model="ruleForm.slsq.czr" placeholder="持证人" :disabled="!ableOperation"> |
141 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 140 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
142 | </el-option> | 141 | </el-option> |
143 | </el-select> | 142 | </el-select> |
144 | </el-form-item> | 143 | </el-form-item> |
145 | </el-col> | 144 | </el-col> |
146 | </el-row> | 145 | </el-row> |
147 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" | 146 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" |
148 | :gyfs="ruleForm.slsq.gyfs" /> | 147 | :gyfs="ruleForm.slsq.gyfs" /> |
149 | 148 | ||
150 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> | 149 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> |
150 | <div class="slxx_title title-block"> | ||
151 | 义务人信息 | ||
152 | <div class="triangle"></div> | ||
153 | </div> | ||
154 | <qlrCommonTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" | ||
155 | :gyfs="ruleForm.qlxx.gyfs" /> | ||
156 | </div> | ||
151 | <div class="slxx_title title-block"> | 157 | <div class="slxx_title title-block"> |
152 | 义务人信息 | 158 | 登记原因 |
153 | <div class="triangle"></div> | 159 | <div class="triangle"></div> |
154 | </div> | 160 | </div> |
155 | <qlrCommonTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" | 161 | <el-row :gutter="10"> |
156 | :gyfs="ruleForm.qlxx.gyfs" /> | 162 | <el-col> |
157 | </div> | 163 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
158 | <div class="slxx_title title-block"> | 164 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" |
159 | 登记原因 | 165 | v-model="ruleForm.fdcq1.djyy"> |
160 | <div class="triangle"></div> | 166 | </el-input> |
167 | </el-form-item> | ||
168 | </el-col> | ||
169 | </el-row> | ||
161 | </div> | 170 | </div> |
162 | <el-row :gutter="10"> | ||
163 | <el-col> | ||
164 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | ||
165 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | ||
166 | v-model="ruleForm.fdcq1.djyy"> | ||
167 | </el-input> | ||
168 | </el-form-item> | ||
169 | </el-col> | ||
170 | </el-row> | ||
171 | </div> | ||
172 | </div> | 171 | </div> |
173 | <el-row class="btn" v-if="ableOperation"> | 172 | <el-row class="btn" v-if="ableOperation"> |
174 | <el-form-item> | 173 | <el-form-item> |
... | @@ -205,7 +204,7 @@ | ... | @@ -205,7 +204,7 @@ |
205 | } | 204 | } |
206 | }); | 205 | }); |
207 | }, | 206 | }, |
208 | components: { qlrCommonTable, tdytTable ,fdcqxmTable}, | 207 | components: { qlrCommonTable, tdytTable, fdcqxmTable }, |
209 | computed: { | 208 | computed: { |
210 | ...mapGetters(["dictData", "flag"]), | 209 | ...mapGetters(["dictData", "flag"]), |
211 | }, | 210 | }, |
... | @@ -283,6 +282,15 @@ | ... | @@ -283,6 +282,15 @@ |
283 | * @author: renchao | 282 | * @author: renchao |
284 | */ | 283 | */ |
285 | onSubmit () { | 284 | onSubmit () { |
285 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
286 | if (arr.length > 0) { | ||
287 | this.$message({ | ||
288 | showClose: true, | ||
289 | message: "土地用途不能为空", | ||
290 | type: "error", | ||
291 | }); | ||
292 | return false; | ||
293 | } | ||
286 | saveData(this.ruleForm).then((res) => { | 294 | saveData(this.ruleForm).then((res) => { |
287 | if (res.code === 200) { | 295 | if (res.code === 200) { |
288 | this.$message({ | 296 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 08:46:35 | 4 | * @LastEditTime: 2023-08-04 15:45:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -392,6 +392,15 @@ | ... | @@ -392,6 +392,15 @@ |
392 | * @author: renchao | 392 | * @author: renchao |
393 | */ | 393 | */ |
394 | onSubmit () { | 394 | onSubmit () { |
395 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
396 | if (arr.length > 0) { | ||
397 | this.$message({ | ||
398 | showClose: true, | ||
399 | message: "土地用途不能为空", | ||
400 | type: "error", | ||
401 | }); | ||
402 | return false; | ||
403 | } | ||
395 | saveData(this.ruleForm).then((res) => { | 404 | saveData(this.ruleForm).then((res) => { |
396 | if (res.code === 200) { | 405 | if (res.code === 200) { |
397 | this.$message({ | 406 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-01 18:14:28 | 4 | * @LastEditTime: 2023-08-04 15:45:47 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -293,6 +293,15 @@ | ... | @@ -293,6 +293,15 @@ |
293 | * @author: renchao | 293 | * @author: renchao |
294 | */ | 294 | */ |
295 | onSubmit () { | 295 | onSubmit () { |
296 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
297 | if (arr.length > 0) { | ||
298 | this.$message({ | ||
299 | showClose: true, | ||
300 | message: "土地用途不能为空", | ||
301 | type: "error", | ||
302 | }); | ||
303 | return false; | ||
304 | } | ||
296 | fristReg(this.ruleForm).then((res) => { | 305 | fristReg(this.ruleForm).then((res) => { |
297 | if (res.code === 200 && res.result) { | 306 | if (res.code === 200 && res.result) { |
298 | console.log(res); | 307 | console.log(res); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:56:39 | 4 | * @LastEditTime: 2023-08-04 15:54:00 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -276,7 +276,6 @@ | ... | @@ -276,7 +276,6 @@ |
276 | } | 276 | } |
277 | }, | 277 | }, |
278 | methods: { | 278 | methods: { |
279 | // 更新土地用途信息 | ||
280 | /** | 279 | /** |
281 | * @description: 更新土地用途信息 | 280 | * @description: 更新土地用途信息 |
282 | * @param {*} val | 281 | * @param {*} val |
... | @@ -313,6 +312,15 @@ | ... | @@ -313,6 +312,15 @@ |
313 | */ | 312 | */ |
314 | onSubmit () { | 313 | onSubmit () { |
315 | let that = this | 314 | let that = this |
315 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
316 | if (arr.length > 0) { | ||
317 | this.$message({ | ||
318 | showClose: true, | ||
319 | message: "土地用途不能为空", | ||
320 | type: "error", | ||
321 | }); | ||
322 | return false; | ||
323 | } | ||
316 | if (this.ruleForm.qlrList.length == 0) { | 324 | if (this.ruleForm.qlrList.length == 0) { |
317 | this.$message({ | 325 | this.$message({ |
318 | showClose: true, | 326 | showClose: true, |
... | @@ -332,6 +340,14 @@ | ... | @@ -332,6 +340,14 @@ |
332 | } | 340 | } |
333 | this.ruleForm.qlrList[0].sfczr = "1"; | 341 | this.ruleForm.qlrList[0].sfczr = "1"; |
334 | } else { | 342 | } else { |
343 | if (this.ruleForm.qlrList.length <= 1) { | ||
344 | this.$message({ | ||
345 | showClose: true, | ||
346 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
347 | type: "error", | ||
348 | }); | ||
349 | return false; | ||
350 | } | ||
335 | //是否分别持证 | 351 | //是否分别持证 |
336 | if (this.ruleForm.sldy.sqfbcz == "1") { | 352 | if (this.ruleForm.sldy.sqfbcz == "1") { |
337 | //是 | 353 | //是 | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <!-- | 2 | <!-- |
3 | * @Description: | 3 | * @Description: |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-08-02 08:45:44 | 5 | * @LastEditTime: 2023-08-04 15:46:02 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -280,6 +280,15 @@ | ... | @@ -280,6 +280,15 @@ |
280 | * @author: renchao | 280 | * @author: renchao |
281 | */ | 281 | */ |
282 | onSubmit () { | 282 | onSubmit () { |
283 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
284 | if (arr.length > 0) { | ||
285 | this.$message({ | ||
286 | showClose: true, | ||
287 | message: "土地用途不能为空", | ||
288 | type: "error", | ||
289 | }); | ||
290 | return false; | ||
291 | } | ||
283 | saveData(this.ruleForm).then((res) => { | 292 | saveData(this.ruleForm).then((res) => { |
284 | if (res.code === 200) { | 293 | if (res.code === 200) { |
285 | this.$message({ | 294 | this.$message({ | ... | ... |
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:55 | 4 | * @LastEditTime: 2023-08-04 15:51:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -430,6 +430,16 @@ | ... | @@ -430,6 +430,16 @@ |
430 | * @author: renchao | 430 | * @author: renchao |
431 | */ | 431 | */ |
432 | onSubmit () { | 432 | onSubmit () { |
433 | let that = this | ||
434 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
435 | if (arr.length > 0) { | ||
436 | this.$message({ | ||
437 | showClose: true, | ||
438 | message: "土地用途不能为空", | ||
439 | type: "error", | ||
440 | }); | ||
441 | return false; | ||
442 | } | ||
433 | if (this.ruleForm.qlrList.length == 0) { | 443 | if (this.ruleForm.qlrList.length == 0) { |
434 | this.$message({ | 444 | this.$message({ |
435 | showClose: true, | 445 | showClose: true, |
... | @@ -450,6 +460,14 @@ | ... | @@ -450,6 +460,14 @@ |
450 | } | 460 | } |
451 | this.ruleForm.qlrList[0].sfczr = "1"; | 461 | this.ruleForm.qlrList[0].sfczr = "1"; |
452 | } else { | 462 | } else { |
463 | if (this.ruleForm.qlrList.length <= 1) { | ||
464 | this.$message({ | ||
465 | showClose: true, | ||
466 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
467 | type: "error", | ||
468 | }); | ||
469 | return false; | ||
470 | } | ||
453 | //是否分别持证 | 471 | //是否分别持证 |
454 | if (this.ruleForm.sldy.sqfbcz == "1") { | 472 | if (this.ruleForm.sldy.sqfbcz == "1") { |
455 | //是 | 473 | //是 | ... | ... |
-
Please register or sign in to post a comment