0e2efcd6 by tianhaohao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents db1f1728 a0b422f4
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-31 15:43:30 4 * @LastEditTime: 2023-08-07 14:43:46
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 <el-button type="primary" @click="clickImage" v-if="previewImg.imgList.length>0">(放大) 显示(缩小)</el-button> 25 <el-button type="primary" @click="clickImage" v-if="previewImg.imgList.length>0">(放大) 显示(缩小)</el-button>
26 <el-upload class="fileUpdate" ref="upload" :key="key" action="" :show-file-list="false" :multiple="true" :auto-upload="false" 26 <el-upload class="fileUpdate" ref="upload" :key="key" action="" :show-file-list="false" :multiple="true" :auto-upload="false"
27 :on-change="handleChange" 27 :on-change="handleChange"
28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> 28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg">
29 <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button> 29 <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button>
30 </el-upload> 30 </el-upload>
31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" 31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete"
...@@ -225,28 +225,12 @@ ...@@ -225,28 +225,12 @@
225 this.showViewer = true 225 this.showViewer = true
226 }, 226 },
227 /** 227 /**
228 * @description: 上传
229 * @param {*} file
230 * @author: renchao
231 */
232 beforeUpload (file) {
233 const isLt5M = file.size / 1024 / 1024 < 5;
234 if (!isLt5M) {
235 this.$message.error('上传图片大小不能超过 5MB!');
236 return false;
237 }
238
239 // 所有条件满足时返回 true
240 return true;
241 },
242 /**
243 * @description: handleChange 228 * @description: handleChange
244 * @param {*} file 229 * @param {*} file
245 * @param {*} files 230 * @param {*} files
246 * @author: renchao 231 * @author: renchao
247 */ 232 */
248 async handleChange (file, fileList) { 233 async handleChange (file, fileList) {
249 if (!this.beforeUpload(file)) return
250 let length = fileList.length; 234 let length = fileList.length;
251 this.maxFileLength = Math.max(length, this.maxFileLength) 235 this.maxFileLength = Math.max(length, this.maxFileLength)
252 var formData = new FormData(); 236 var formData = new FormData();
...@@ -254,8 +238,12 @@ ...@@ -254,8 +238,12 @@
254 if (this.maxFileLength !== length) { 238 if (this.maxFileLength !== length) {
255 return 239 return
256 } 240 }
257 let num = 0 241 let num = 0, max = 0;
242 const isLt5M = file.size / 1024 / 1024 < 5;
258 fileList.forEach(item => { 243 fileList.forEach(item => {
244 if (!isLt5M) {
245 max++
246 }
259 if (!['image/jpeg', 'image/png', 'image/jpg', 'image/gif'].includes(item.raw.type)) { 247 if (!['image/jpeg', 'image/png', 'image/jpg', 'image/gif'].includes(item.raw.type)) {
260 num++ 248 num++
261 } else { 249 } else {
...@@ -268,6 +256,11 @@ ...@@ -268,6 +256,11 @@
268 this.key++ 256 this.key++
269 return; 257 return;
270 } 258 }
259 if (max >= 1) {
260 this.$message.error('上传图片大小不能超过 5MB!');
261 this.key++
262 return;
263 }
271 formData.append("bsmSj", this.previewImg.bsmSj); 264 formData.append("bsmSj", this.previewImg.bsmSj);
272 formData.append("bsmSlsq", this.previewImg.bsmSlsq); 265 formData.append("bsmSlsq", this.previewImg.bsmSlsq);
273 uploadBatch(formData).then((res) => { 266 uploadBatch(formData).then((res) => {
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
107 </el-col> 107 </el-col>
108 <el-col :span="8"> 108 <el-col :span="8">
109 <el-form-item label="坐落:"> 109 <el-form-item label="坐落:">
110 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 110 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
111 </el-form-item> 111 </el-form-item>
112 </el-col> 112 </el-col>
113 </el-row> 113 </el-row>
...@@ -189,23 +189,11 @@ ...@@ -189,23 +189,11 @@
189 <el-form-item 189 <el-form-item
190 label="是否被续封:" 190 label="是否被续封:"
191 prop="cfdj.sfbxf" 191 prop="cfdj.sfbxf"
192 <<<<<<< HEAD
193 :rules="rules.sfbxfrules"> 192 :rules="rules.sfbxfrules">
194 <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> 193 <el-radio-group v-model="ruleForm.cfdj.sfbxf" @change="djlxchange">
195 <el-option
196 v-for="item in sfbxflist"
197 :key="item.dcode"
198 :label="item.dname"
199 :value="item.dcode"></el-option>
200 </el-select>
201 =======
202 :rules="rules.sfbxfrules"
203 >
204 <el-radio-group v-model="ruleForm.cfdj.sfbxf">
205 <el-radio label="1"></el-radio> 194 <el-radio label="1"></el-radio>
206 <el-radio label="2"></el-radio> 195 <el-radio label="2"></el-radio>
207 </el-radio-group> 196 </el-radio-group>
208 >>>>>>> 1f8b14f926a91690cf660a297aa8a8f4a2658f8b
209 </el-form-item> 197 </el-form-item>
210 </el-col> 198 </el-col>
211 <el-col :span="8"> 199 <el-col :span="8">
...@@ -519,7 +507,6 @@ ...@@ -519,7 +507,6 @@
519 }, 507 },
520 // 弹框事件 508 // 弹框事件
521 ssQlxxchangediolog (val) { 509 ssQlxxchangediolog (val) {
522 console.log("确定了", this.ruleForm);
523 this.$confirm("是否将上手权利信息同步到表单", "提示", { 510 this.$confirm("是否将上手权利信息同步到表单", "提示", {
524 iconClass: "el-icon-question", //自定义图标样式 511 iconClass: "el-icon-question", //自定义图标样式
525 confirmButtonText: "确认", //确认按钮文字更换 512 confirmButtonText: "确认", //确认按钮文字更换
...@@ -530,8 +517,6 @@ ...@@ -530,8 +517,6 @@
530 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 517 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
531 if (res.code == 200) { 518 if (res.code == 200) {
532 this.nowlist = res.result; 519 this.nowlist = res.result;
533 console.log("his.nowlist", this.nowlist);
534 console.log("this.ruleForm", this.ruleForm);
535 for (var key in this.ruleForm.cfdj) { 520 for (var key in this.ruleForm.cfdj) {
536 if ( 521 if (
537 this.ruleForm.cfdj[key] == "" || 522 this.ruleForm.cfdj[key] == "" ||
...@@ -545,13 +530,11 @@ ...@@ -545,13 +530,11 @@
545 (this.ruleForm.qlxx[key] == null && key != "ywh") || 530 (this.ruleForm.qlxx[key] == null && key != "ywh") ||
546 this.ruleForm.qlxx[key] == null 531 this.ruleForm.qlxx[key] == null
547 ) { 532 ) {
548 console.log("this.ruleForm.qlxx[key]", key);
549 if (key != "ywh") { 533 if (key != "ywh") {
550 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 534 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
551 } 535 }
552 } 536 }
553 } 537 }
554 console.log("this.ruleForm", this.ruleForm);
555 this.$message({ 538 this.$message({
556 type: "success", 539 type: "success",
557 message: "同步成功!", 540 message: "同步成功!",
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
103 </el-col> 103 </el-col>
104 <el-col :span="8"> 104 <el-col :span="8">
105 <el-form-item label="坐落:"> 105 <el-form-item label="坐落:">
106 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 106 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
107 </el-form-item> 107 </el-form-item>
108 </el-col> 108 </el-col>
109 </el-row> 109 </el-row>
...@@ -479,7 +479,7 @@ ...@@ -479,7 +479,7 @@
479 <el-form-item label="共有方式:"> 479 <el-form-item label="共有方式:">
480 <el-radio-group 480 <el-radio-group
481 :disabled="!ableOperation" 481 :disabled="!ableOperation"
482 v-model="ruleForm.sldy.gyfs"> 482 v-model="ruleForm.qlxx.gyfs">
483 <el-radio label="0">单独所有</el-radio> 483 <el-radio label="0">单独所有</el-radio>
484 <el-radio label="1">共同共有</el-radio> 484 <el-radio label="1">共同共有</el-radio>
485 <el-radio label="2">按份所有</el-radio> 485 <el-radio label="2">按份所有</el-radio>
...@@ -487,10 +487,10 @@ ...@@ -487,10 +487,10 @@
487 </el-radio-group> 487 </el-radio-group>
488 </el-form-item> 488 </el-form-item>
489 </el-col> 489 </el-col>
490 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> 490 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
491 <el-form-item label="是否分别持证:"> 491 <el-form-item label="是否分别持证:">
492 <el-radio-group 492 <el-radio-group
493 v-model="ruleForm.sldy.sqfbcz" 493 v-model="ruleForm.qlxx.sqfbcz"
494 :disabled="!ableOperation"> 494 :disabled="!ableOperation">
495 <el-radio :label="1"></el-radio> 495 <el-radio :label="1"></el-radio>
496 <el-radio :label="0"></el-radio> 496 <el-radio :label="0"></el-radio>
...@@ -499,7 +499,7 @@ ...@@ -499,7 +499,7 @@
499 </el-col> 499 </el-col>
500 <el-col 500 <el-col
501 :span="6" 501 :span="6"
502 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> 502 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
503 <el-form-item label="持证人:"> 503 <el-form-item label="持证人:">
504 <el-select 504 <el-select
505 v-model="ruleForm.czr" 505 v-model="ruleForm.czr"
...@@ -513,7 +513,7 @@ ...@@ -513,7 +513,7 @@
513 </el-option> 513 </el-option>
514 </el-select> 514 </el-select>
515 </el-form-item> 515 </el-form-item>
516 </el-col> 516 </el-col> -->
517 </el-row> 517 </el-row>
518 <qlrCommonTable 518 <qlrCommonTable
519 :tableData="ruleForm.qlrData" 519 :tableData="ruleForm.qlrData"
...@@ -835,7 +835,7 @@ ...@@ -835,7 +835,7 @@
835 }); 835 });
836 return false; 836 return false;
837 } 837 }
838 if (this.ruleForm.sldy.gyfs == "0") { 838 if (this.ruleForm.qlxx.gyfs == "0") {
839 if (this.ruleForm.qlrData.length > 1) { 839 if (this.ruleForm.qlrData.length > 1) {
840 this.$message({ 840 this.$message({
841 showClose: true, 841 showClose: true,
...@@ -846,7 +846,7 @@ ...@@ -846,7 +846,7 @@
846 } 846 }
847 this.ruleForm.qlrData[0].sfczr = "1"; 847 this.ruleForm.qlrData[0].sfczr = "1";
848 } else { 848 } else {
849 if (this.ruleForm.qlrList.length <= 1) { 849 if (this.ruleForm.qlrData.length <= 1) {
850 this.$message({ 850 this.$message({
851 showClose: true, 851 showClose: true,
852 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 852 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
...@@ -854,29 +854,29 @@ ...@@ -854,29 +854,29 @@
854 }); 854 });
855 return false; 855 return false;
856 } 856 }
857 //是否分别持证 857 // //是否分别持证
858 if (this.ruleForm.sldy.sqfbcz == "1") { 858 // if (this.ruleForm.qlxx.sqfbcz == "1") {
859 //是 859 // //是
860 this.ruleForm.qlrList.forEach((item, index) => { 860 // this.ruleForm.qlrData.forEach((item, index) => {
861 item.sfczr = "1"; 861 // item.sfczr = "1";
862 }); 862 // });
863 } else { 863 // } else {
864 if (!that.ruleForm.czr) { 864 // if (!that.ruleForm.czr) {
865 that.$message({ 865 // that.$message({
866 showClose: true, 866 // showClose: true,
867 message: "请选择持证人", 867 // message: "请选择持证人",
868 type: "error", 868 // type: "error",
869 }); 869 // });
870 return false; 870 // return false;
871 } 871 // }
872 this.ruleForm.qlrList.forEach((item, index) => { 872 // this.ruleForm.qlrData.forEach((item, index) => {
873 if (item.zjh == this.ruleForm.czr) { 873 // if (item.zjh == this.ruleForm.czr) {
874 item.sfczr = "1"; 874 // item.sfczr = "1";
875 } else { 875 // } else {
876 item.sfczr = "0"; 876 // item.sfczr = "0";
877 } 877 // }
878 }) 878 // })
879 } 879 // }
880 } 880 }
881 save(this.ruleForm).then((res) => { 881 save(this.ruleForm).then((res) => {
882 if (res.code === 200) { 882 if (res.code === 200) {
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
105 </el-col> 105 </el-col>
106 <el-col :span="8"> 106 <el-col :span="8">
107 <el-form-item label="坐落:"> 107 <el-form-item label="坐落:">
108 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 108 <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input>
109 </el-form-item> 109 </el-form-item>
110 </el-col> 110 </el-col>
111 </el-row> 111 </el-row>
...@@ -722,7 +722,7 @@ ...@@ -722,7 +722,7 @@
722 }); 722 });
723 return false; 723 return false;
724 } 724 }
725 if (this.ruleForm.sldy.gyfs == "0") { 725 if (this.ruleForm.qlxx.gyfs == "0") {
726 if (this.ruleForm.qlrData.length > 1) { 726 if (this.ruleForm.qlrData.length > 1) {
727 this.$message({ 727 this.$message({
728 showClose: true, 728 showClose: true,
...@@ -731,7 +731,6 @@ ...@@ -731,7 +731,6 @@
731 }); 731 });
732 return false; 732 return false;
733 } 733 }
734 this.ruleForm.qlrData[0].sfczr = "1";
735 } else { 734 } else {
736 if (this.ruleForm.qlrList.length <= 1) { 735 if (this.ruleForm.qlrList.length <= 1) {
737 this.$message({ 736 this.$message({
...@@ -741,29 +740,7 @@ ...@@ -741,29 +740,7 @@
741 }); 740 });
742 return false; 741 return false;
743 } 742 }
744 //是否分别持证 743
745 if (this.ruleForm.sldy.sqfbcz == "1") {
746 //是
747 this.ruleForm.qlrList.forEach((item, index) => {
748 item.sfczr = "1";
749 });
750 } else {
751 if (!that.ruleForm.czr) {
752 that.$message({
753 showClose: true,
754 message: "请选择持证人",
755 type: "error",
756 });
757 return false;
758 }
759 this.ruleForm.qlrList.forEach((item, index) => {
760 if (item.zjh == this.ruleForm.czr) {
761 item.sfczr = "1";
762 } else {
763 item.sfczr = "0";
764 }
765 });
766 }
767 } 744 }
768 save(this.ruleForm).then((res) => { 745 save(this.ruleForm).then((res) => {
769 if (res.code === 200) { 746 if (res.code === 200) {
......
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
399 <el-form-item label="共有方式:"> 399 <el-form-item label="共有方式:">
400 <el-radio-group 400 <el-radio-group
401 :disabled="!ableOperation" 401 :disabled="!ableOperation"
402 v-model="ruleForm.sldy.gyfs"> 402 v-model="ruleForm.qlxx.gyfs">
403 <el-radio label="0">单独所有</el-radio> 403 <el-radio label="0">单独所有</el-radio>
404 <el-radio label="1">共同共有</el-radio> 404 <el-radio label="1">共同共有</el-radio>
405 <el-radio label="2">按份所有</el-radio> 405 <el-radio label="2">按份所有</el-radio>
...@@ -407,33 +407,6 @@ ...@@ -407,33 +407,6 @@
407 </el-radio-group> 407 </el-radio-group>
408 </el-form-item> 408 </el-form-item>
409 </el-col> 409 </el-col>
410 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'">
411 <el-form-item label="是否分别持证:">
412 <el-radio-group
413 v-model="ruleForm.sldy.sqfbcz"
414 :disabled="!ableOperation">
415 <el-radio :label="1"></el-radio>
416 <el-radio :label="0"></el-radio>
417 </el-radio-group>
418 </el-form-item>
419 </el-col>
420 <el-col
421 :span="6"
422 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
423 <el-form-item label="持证人:">
424 <el-select
425 v-model="ruleForm.czr"
426 placeholder="持证人"
427 :disabled="!ableOperation">
428 <el-option
429 v-for="item in czrOptions"
430 :key="item.zjh"
431 :label="item.sqrmc"
432 :value="item.zjh">
433 </el-option>
434 </el-select>
435 </el-form-item>
436 </el-col>
437 </el-row> 410 </el-row>
438 <qlrCommonTable 411 <qlrCommonTable
439 :tableData="ruleForm.qlrData" 412 :tableData="ruleForm.qlrData"
...@@ -762,7 +735,7 @@ djlxchange(val) { ...@@ -762,7 +735,7 @@ djlxchange(val) {
762 return false; 735 return false;
763 } 736 }
764 } 737 }
765 if (this.ruleForm.sldy.gyfs == "0") { 738 if (this.ruleForm.qlxx.gyfs == "0") {
766 if (this.ruleForm.qlrData.length > 1) { 739 if (this.ruleForm.qlrData.length > 1) {
767 this.$message({ 740 this.$message({
768 showClose: true, 741 showClose: true,
...@@ -771,9 +744,8 @@ djlxchange(val) { ...@@ -771,9 +744,8 @@ djlxchange(val) {
771 }); 744 });
772 return false; 745 return false;
773 } 746 }
774 this.ruleForm.qlrData[0].sfczr = "1";
775 } else { 747 } else {
776 if (this.ruleForm.qlrList.length <= 1) { 748 if (this.ruleForm.qlrData.length <= 1) {
777 this.$message({ 749 this.$message({
778 showClose: true, 750 showClose: true,
779 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 751 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
...@@ -781,29 +753,6 @@ djlxchange(val) { ...@@ -781,29 +753,6 @@ djlxchange(val) {
781 }); 753 });
782 return false; 754 return false;
783 } 755 }
784 //是否分别持证
785 if (this.ruleForm.sldy.sqfbcz == "1") {
786 //是
787 this.ruleForm.qlrList.forEach((item, index) => {
788 item.sfczr = "1";
789 });
790 } else {
791 if (!that.ruleForm.czr) {
792 that.$message({
793 showClose: true,
794 message: "请选择持证人",
795 type: "error",
796 });
797 return false;
798 }
799 this.ruleForm.qlrList.forEach((item, index) => {
800 if (item.zjh == this.ruleForm.czr) {
801 item.sfczr = "1";
802 } else {
803 item.sfczr = "0";
804 }
805 });
806 }
807 } 756 }
808 save(this.ruleForm).then((res) => { 757 save(this.ruleForm).then((res) => {
809 if (res.code === 200) { 758 if (res.code === 200) {
......
...@@ -271,33 +271,6 @@ ...@@ -271,33 +271,6 @@
271 </el-radio-group> 271 </el-radio-group>
272 </el-form-item> 272 </el-form-item>
273 </el-col> 273 </el-col>
274 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
275 <el-form-item label="是否分别持证:">
276 <el-radio-group
277 v-model="ruleForm.qlxx.sqfbcz"
278 :disabled="!ableOperation">
279 <el-radio :label="1"></el-radio>
280 <el-radio :label="0"></el-radio>
281 </el-radio-group>
282 </el-form-item>
283 </el-col>
284 <el-col
285 :span="6"
286 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
287 <el-form-item label="持证人:">
288 <el-select
289 v-model="ruleForm.czr"
290 placeholder="持证人"
291 :disabled="!ableOperation">
292 <el-option
293 v-for="item in czrOptions"
294 :key="item.zjh"
295 :label="item.sqrmc"
296 :value="item.zjh">
297 </el-option>
298 </el-select>
299 </el-form-item>
300 </el-col>
301 </el-row> 274 </el-row>
302 <qlrCommonTable 275 <qlrCommonTable
303 :tableData="ruleForm.qlrData" 276 :tableData="ruleForm.qlrData"
...@@ -612,9 +585,8 @@ export default { ...@@ -612,9 +585,8 @@ export default {
612 }); 585 });
613 return false; 586 return false;
614 } 587 }
615 this.ruleForm.qlrData[0].sfczr = "1";
616 } else { 588 } else {
617 if (this.ruleForm.qlrList.length <= 1) { 589 if (this.ruleForm.qlrData.length <= 1) {
618 this.$message({ 590 this.$message({
619 showClose: true, 591 showClose: true,
620 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 592 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
...@@ -622,29 +594,6 @@ export default { ...@@ -622,29 +594,6 @@ export default {
622 }); 594 });
623 return false; 595 return false;
624 } 596 }
625 //是否分别持证
626 if (this.ruleForm.qlxx.sqfbcz == "1") {
627 //是
628 this.ruleForm.qlrList.forEach((item, index) => {
629 item.sfczr = "1";
630 });
631 } else {
632 if (!that.ruleForm.czr) {
633 that.$message({
634 showClose: true,
635 message: "请选择持证人",
636 type: "error",
637 });
638 return false;
639 }
640 this.ruleForm.qlrList.forEach((item, index) => {
641 if (item.zjh == this.ruleForm.czr) {
642 item.sfczr = "1";
643 } else {
644 item.sfczr = "0";
645 }
646 });
647 }
648 } 597 }
649 save(this.ruleForm).then((res) => { 598 save(this.ruleForm).then((res) => {
650 if (res.code === 200) { 599 if (res.code === 200) {
......
...@@ -364,7 +364,7 @@ ...@@ -364,7 +364,7 @@
364 </el-radio-group> 364 </el-radio-group>
365 </el-form-item> 365 </el-form-item>
366 </el-col> 366 </el-col>
367 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> 367 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
368 <el-form-item label="是否分别持证:"> 368 <el-form-item label="是否分别持证:">
369 <el-radio-group 369 <el-radio-group
370 v-model="ruleForm.qlxx.sqfbcz" 370 v-model="ruleForm.qlxx.sqfbcz"
...@@ -373,8 +373,8 @@ ...@@ -373,8 +373,8 @@
373 <el-radio :label="0"></el-radio> 373 <el-radio :label="0"></el-radio>
374 </el-radio-group> 374 </el-radio-group>
375 </el-form-item> 375 </el-form-item>
376 </el-col> 376 </el-col> -->
377 <el-col 377 <!-- <el-col
378 :span="6" 378 :span="6"
379 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'"> 379 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
380 <el-form-item label="持证人:"> 380 <el-form-item label="持证人:">
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
390 </el-option> 390 </el-option>
391 </el-select> 391 </el-select>
392 </el-form-item> 392 </el-form-item>
393 </el-col> 393 </el-col> -->
394 </el-row> 394 </el-row>
395 <qlrCommonTable 395 <qlrCommonTable
396 :tableData="ruleForm.qlrData" 396 :tableData="ruleForm.qlrData"
...@@ -691,9 +691,8 @@ export default { ...@@ -691,9 +691,8 @@ export default {
691 }); 691 });
692 return false; 692 return false;
693 } 693 }
694 this.ruleForm.qlrData[0].sfczr = "1";
695 } else { 694 } else {
696 if (this.ruleForm.qlrList.length <= 1) { 695 if (this.ruleForm.qlrData.length <= 1) {
697 this.$message({ 696 this.$message({
698 showClose: true, 697 showClose: true,
699 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 698 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
...@@ -701,29 +700,6 @@ export default { ...@@ -701,29 +700,6 @@ export default {
701 }); 700 });
702 return false; 701 return false;
703 } 702 }
704 //是否分别持证
705 if (this.ruleForm.qlxx.sqfbcz == "1") {
706 //是
707 this.ruleForm.qlrList.forEach((item, index) => {
708 item.sfczr = "1";
709 });
710 } else {
711 if (!that.ruleForm.czr) {
712 that.$message({
713 showClose: true,
714 message: "请选择持证人",
715 type: "error",
716 });
717 return false;
718 }
719 this.ruleForm.qlrList.forEach((item, index) => {
720 if (item.zjh == this.ruleForm.czr) {
721 item.sfczr = "1";
722 } else {
723 item.sfczr = "0";
724 }
725 });
726 }
727 } 703 }
728 save(this.ruleForm).then((res) => { 704 save(this.ruleForm).then((res) => {
729 if (res.code === 200) { 705 if (res.code === 200) {
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
105 </el-col> 105 </el-col>
106 <el-col :span="8"> 106 <el-col :span="8">
107 <el-form-item label="坐落:"> 107 <el-form-item label="坐落:">
108 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 108 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
109 </el-form-item> 109 </el-form-item>
110 </el-col> 110 </el-col>
111 </el-row> 111 </el-row>
...@@ -452,7 +452,7 @@ ...@@ -452,7 +452,7 @@
452 <el-form-item label="共有方式:"> 452 <el-form-item label="共有方式:">
453 <el-radio-group 453 <el-radio-group
454 :disabled="!ableOperation" 454 :disabled="!ableOperation"
455 v-model="ruleForm.sldy.gyfs"> 455 v-model="ruleForm.qlxx.gyfs">
456 <el-radio label="0">单独所有</el-radio> 456 <el-radio label="0">单独所有</el-radio>
457 <el-radio label="1">共同共有</el-radio> 457 <el-radio label="1">共同共有</el-radio>
458 <el-radio label="2">按份所有</el-radio> 458 <el-radio label="2">按份所有</el-radio>
...@@ -460,33 +460,6 @@ ...@@ -460,33 +460,6 @@
460 </el-radio-group> 460 </el-radio-group>
461 </el-form-item> 461 </el-form-item>
462 </el-col> 462 </el-col>
463 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'">
464 <el-form-item label="是否分别持证:">
465 <el-radio-group
466 v-model="ruleForm.sldy.sqfbcz"
467 :disabled="!ableOperation">
468 <el-radio :label="1"></el-radio>
469 <el-radio :label="0"></el-radio>
470 </el-radio-group>
471 </el-form-item>
472 </el-col>
473 <el-col
474 :span="6"
475 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
476 <el-form-item label="持证人:">
477 <el-select
478 v-model="ruleForm.czr"
479 placeholder="持证人"
480 :disabled="!ableOperation">
481 <el-option
482 v-for="item in czrOptions"
483 :key="item.zjh"
484 :label="item.sqrmc"
485 :value="item.zjh">
486 </el-option>
487 </el-select>
488 </el-form-item>
489 </el-col>
490 </el-row> 463 </el-row>
491 <qlrCommonTable 464 <qlrCommonTable
492 :tableData="ruleForm.qlrData" 465 :tableData="ruleForm.qlrData"
...@@ -816,9 +789,8 @@ created() { ...@@ -816,9 +789,8 @@ created() {
816 }); 789 });
817 return false; 790 return false;
818 } 791 }
819 this.ruleForm.qlrData[0].sfczr = "1";
820 } else { 792 } else {
821 if (this.ruleForm.qlrList.length <= 1) { 793 if (this.ruleForm.qlrData.length <= 1) {
822 this.$message({ 794 this.$message({
823 showClose: true, 795 showClose: true,
824 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 796 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
...@@ -826,29 +798,6 @@ created() { ...@@ -826,29 +798,6 @@ created() {
826 }); 798 });
827 return false; 799 return false;
828 } 800 }
829 //是否分别持证
830 if (this.ruleForm.sldy.sqfbcz == "1") {
831 //是
832 this.ruleForm.qlrList.forEach((item, index) => {
833 item.sfczr = "1";
834 });
835 } else {
836 if (!that.ruleForm.czr) {
837 that.$message({
838 showClose: true,
839 message: "请选择持证人",
840 type: "error",
841 });
842 return false;
843 }
844 this.ruleForm.qlrList.forEach((item, index) => {
845 if (item.zjh == this.ruleForm.czr) {
846 item.sfczr = "1";
847 } else {
848 item.sfczr = "0";
849 }
850 });
851 }
852 } 801 }
853 save(this.ruleForm).then((res) => { 802 save(this.ruleForm).then((res) => {
854 if (res.code === 200) { 803 if (res.code === 200) {
......
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
368 <el-form-item label="共有方式:"> 368 <el-form-item label="共有方式:">
369 <el-radio-group 369 <el-radio-group
370 :disabled="!ableOperation" 370 :disabled="!ableOperation"
371 v-model="ruleForm.sldy.gyfs"> 371 v-model="ruleForm.qlxx.gyfs">
372 <el-radio label="0">单独所有</el-radio> 372 <el-radio label="0">单独所有</el-radio>
373 <el-radio label="1">共同共有</el-radio> 373 <el-radio label="1">共同共有</el-radio>
374 <el-radio label="2">按份所有</el-radio> 374 <el-radio label="2">按份所有</el-radio>
...@@ -376,10 +376,10 @@ ...@@ -376,10 +376,10 @@
376 </el-radio-group> 376 </el-radio-group>
377 </el-form-item> 377 </el-form-item>
378 </el-col> 378 </el-col>
379 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> 379 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
380 <el-form-item label="是否分别持证:"> 380 <el-form-item label="是否分别持证:">
381 <el-radio-group 381 <el-radio-group
382 v-model="ruleForm.sldy.sqfbcz" 382 v-model="ruleForm.qlxx.sqfbcz"
383 :disabled="!ableOperation"> 383 :disabled="!ableOperation">
384 <el-radio :label="1"></el-radio> 384 <el-radio :label="1"></el-radio>
385 <el-radio :label="0"></el-radio> 385 <el-radio :label="0"></el-radio>
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
388 </el-col> 388 </el-col>
389 <el-col 389 <el-col
390 :span="6" 390 :span="6"
391 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> 391 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
392 <el-form-item label="持证人:"> 392 <el-form-item label="持证人:">
393 <el-select 393 <el-select
394 v-model="ruleForm.czr" 394 v-model="ruleForm.czr"
...@@ -402,7 +402,7 @@ ...@@ -402,7 +402,7 @@
402 </el-option> 402 </el-option>
403 </el-select> 403 </el-select>
404 </el-form-item> 404 </el-form-item>
405 </el-col> 405 </el-col> -->
406 </el-row> 406 </el-row>
407 <qlrCommonTable 407 <qlrCommonTable
408 :tableData="ruleForm.qlrData" 408 :tableData="ruleForm.qlrData"
...@@ -712,7 +712,7 @@ created() { ...@@ -712,7 +712,7 @@ created() {
712 }); 712 });
713 return false; 713 return false;
714 } 714 }
715 if (this.ruleForm.sldy.gyfs == "0") { 715 if (this.ruleForm.qlxx.gyfs == "0") {
716 if (this.ruleForm.qlrData.length > 1) { 716 if (this.ruleForm.qlrData.length > 1) {
717 this.$message({ 717 this.$message({
718 showClose: true, 718 showClose: true,
...@@ -721,7 +721,6 @@ created() { ...@@ -721,7 +721,6 @@ created() {
721 }); 721 });
722 return false; 722 return false;
723 } 723 }
724 this.ruleForm.qlrData[0].sfczr = "1";
725 } else { 724 } else {
726 if (this.ruleForm.qlrList.length <= 1) { 725 if (this.ruleForm.qlrList.length <= 1) {
727 this.$message({ 726 this.$message({
...@@ -731,29 +730,6 @@ created() { ...@@ -731,29 +730,6 @@ created() {
731 }); 730 });
732 return false; 731 return false;
733 } 732 }
734 //是否分别持证
735 if (this.ruleForm.sldy.sqfbcz == "1") {
736 //是
737 this.ruleForm.qlrList.forEach((item, index) => {
738 item.sfczr = "1";
739 });
740 } else {
741 if (!that.ruleForm.czr) {
742 that.$message({
743 showClose: true,
744 message: "请选择持证人",
745 type: "error",
746 });
747 return false;
748 }
749 this.ruleForm.qlrList.forEach((item, index) => {
750 if (item.zjh == this.ruleForm.czr) {
751 item.sfczr = "1";
752 } else {
753 item.sfczr = "0";
754 }
755 });
756 }
757 } 733 }
758 save(this.ruleForm).then((res) => { 734 save(this.ruleForm).then((res) => {
759 if (res.code === 200) { 735 if (res.code === 200) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 08:38:11 4 * @LastEditTime: 2023-08-01 18:12:57
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -14,9 +14,10 @@ ...@@ -14,9 +14,10 @@
14 ref="ruleForm" 14 ref="ruleForm"
15 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :inline="flag" 16 :inline="flag"
17 :show-message="false"
18 inline-message 17 inline-message
19 label-width="145px"> 18 :show-message="false"
19 label-width="145px"
20 >
20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
21 <div class="slxx_title title-block"> 22 <div class="slxx_title title-block">
22 补录信息 23 补录信息
...@@ -40,26 +41,30 @@ ...@@ -40,26 +41,30 @@
40 </el-col> 41 </el-col>
41 </el-row> 42 </el-row>
42 <div class="slxx_title title-block bdcqk"> 43 <div class="slxx_title title-block bdcqk">
43 房地产权信息 44 异议登记不动产情况
44 <div class="count" v-if="ssqlxxshow"> 45 <div class="count">
45 <el-form-item 46 <el-form-item
46 label="上手权利信息:" 47 label="抵押不动产信息:"
47 prop="ssQlxx.bdcqzh" 48 prop="ztQlxx.bdcqzh"
48 :rules="rules.ssQlxxrules"> 49 :rules="rules.ztQlxxrules"
50 >
49 <select-table 51 <select-table
50 v-model="ruleForm.ssQlxx" 52 v-model="ruleForm.ztQlxx"
51 :table-width="730" 53 :table-width="550"
52 :tableData="ssQlxxList" 54 :tableData="ztQlxxList"
53 :props="props" 55 :props="props"
54 @change="ssQlxxchange"> 56 @change="ztQlxxchange"
57 >
55 <el-table-column 58 <el-table-column
56 prop="qllxmc" 59 prop="qllxmc"
57 width="130" 60 width="130"
58 label="权利类型"></el-table-column> 61 label="权利类型"
62 ></el-table-column>
59 <el-table-column 63 <el-table-column
60 prop="bdcqzh" 64 prop="bdcqzh"
61 width="160" 65 width="160"
62 label="不动产权证书"></el-table-column> 66 label="不动产权证书"
67 ></el-table-column>
63 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 68 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
64 <el-table-column prop="mjmc" label="面积"></el-table-column> 69 <el-table-column prop="mjmc" label="面积"></el-table-column>
65 <el-table-column prop="ytmc" label="用途"></el-table-column> 70 <el-table-column prop="ytmc" label="用途"></el-table-column>
...@@ -69,270 +74,156 @@ ...@@ -69,270 +74,156 @@
69 </div> 74 </div>
70 <div class="triangle"></div> 75 <div class="triangle"></div>
71 </div> 76 </div>
72 <el-row :gutter="10"> 77 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
73 <el-col :span="8"> 78 <el-col :span="8">
74 <el-form-item label="不动产单元号:"> 79 <el-form-item label="权利人:">
75 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 80 <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input>
76 </el-form-item> 81 </el-form-item>
77 </el-col> 82 </el-col>
78 <el-col :span="8"> 83 <el-col :span="8">
79 <el-form-item 84 <el-form-item label="证件种类:">
80 label="业务号:" 85 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input>
81 prop="qlxx.ywh"
82 :rules="rules.ywhrules">
83 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
84 </el-form-item> 86 </el-form-item>
85 </el-col> 87 </el-col>
86 <el-col :span="8"> 88 <el-col :span="8">
87 <el-form-item label="上手业务号:"> 89 <el-form-item label="证件号:">
88 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> 90 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input>
89 </el-form-item> 91 </el-form-item>
90 </el-col> 92 </el-col>
91 </el-row> 93 </el-row>
92 <el-row :gutter="10"> 94 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
93 <el-col :span="8"> 95 <el-col :span="8">
94 <el-form-item label="权利类型:"> 96 <el-form-item label="权利类型:">
95 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> 97 <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input>
96 </el-form-item> 98 </el-form-item>
97 </el-col> 99 </el-col>
98 <el-col :span="8"> 100 <el-col :span="8">
99 <el-form-item 101 <el-form-item label="不动产权证号:">
100 label="登记类型:" 102 <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input>
101 prop="qlxx.djlx"
102 :rules="rules.djlxrules">
103 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
104 <el-option
105 v-for="item in djlxlist"
106 :key="item.dcode"
107 :label="item.dname"
108 :value="item.dcode">
109 </el-option>
110 </el-select>
111 </el-form-item> 103 </el-form-item>
112 </el-col> 104 </el-col>
113 <el-col :span="8"> 105 <el-col :span="8">
114 <el-form-item label="坐落:"> 106 <el-form-item label="坐落:">
115 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 107 <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input>
116 </el-form-item> 108 </el-form-item>
117 </el-col> 109 </el-col>
110 </el-row>
111 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
118 <el-col :span="8"> 112 <el-col :span="8">
119 <el-form-item label="土地使用权人:"> 113 <el-form-item label="不动产单元号:">
120 <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input> 114 <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input>
121 </el-form-item> 115 </el-form-item>
122 </el-col> 116 </el-col>
123 <el-col :span="8"> 117 <el-col :span="8">
124 <el-form-item label="独用土地面积:"> 118 <el-form-item label="面积:">
125 <div class="flex"> 119 <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input>
126 <el-input
127 v-model="ruleForm.fdcq2.dytdmj"
128 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
129 <el-select disabled v-model="mjdw" style="width: 20%">
130 <el-option
131 v-for="item in dictData['A7']"
132 :key="item.dcode"
133 :label="item.dname"
134 :value="item.dcode">
135 </el-option>
136 </el-select>
137 </div>
138 </el-form-item> 120 </el-form-item>
139 </el-col> 121 </el-col>
140 <el-col :span="8"> 122 <el-col :span="8">
141 <el-form-item label="分摊土地面积:"> 123 <el-form-item label="用途:">
142 <div class="flex"> 124 <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input>
143 <el-input
144 v-model="ruleForm.fdcq2.fttdmj"
145 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
146 <el-select disabled v-model="mjdw" style="width: 20%">
147 <el-option
148 v-for="item in dictData['A7']"
149 :key="item.dcode"
150 :label="item.dname"
151 :value="item.dcode">
152 </el-option>
153 </el-select>
154 </div>
155 </el-form-item> 125 </el-form-item>
156 </el-col> 126 </el-col>
157 <el-col :span="8"> 127 </el-row>
158 <!-- 下拉框 --> 128 <div class="slxx_title title-block bdcqk">
159 <el-form-item label="土地性质:" style="margin-bottom: 3px"> 129 异议登记信息
160 <treeselect 130 <div class="count" v-if="ssqlxxshow">
161 v-model="ruleForm.fdcq2.tdxz" 131 <el-form-item
162 noOptionsText="暂无数据" 132 label="上手权利信息:"
163 placeholder="" 133 prop="ssQlxx.bdcqzh"
164 :normalizer="normalizer" 134 :rules="rules.ssQlxxrules"
165 :show-count="true" 135 >
166 :options="dictData['A9']" /> 136 <select-table
137 v-model="ruleForm.ssQlxx"
138 :table-width="550"
139 :tableData="ssQlxxList"
140 :props="props"
141 @change="ssQlxxchange"
142 >
143 <el-table-column
144 prop="qllxmc"
145 width="130"
146 label="权利类型"
147 ></el-table-column>
148 <el-table-column
149 prop="bdcqzh"
150 width="160"
151 label="不动产权证书"
152 ></el-table-column>
153 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
154 <el-table-column prop="mjmc" label="面积"></el-table-column>
155 <el-table-column prop="ytmc" label="用途"></el-table-column>
156 <el-table-column prop="zl" label="坐落"></el-table-column>
157 </select-table>
167 </el-form-item> 158 </el-form-item>
168 </el-col>
169 <el-col :span="8">
170 <el-form-item label="房地产交易价格:">
171 <div class="flex">
172 <el-input
173 v-model="ruleForm.fdcq2.qjjg"
174 style="width: 500%"
175 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
176 <el-select v-model="ruleForm.fdcq2.jedw">
177 <el-option
178 v-for="item in dictData['A57']"
179 :key="item.dcode"
180 :label="item.dname"
181 :value="item.dcode">
182 </el-option>
183 </el-select>
184 </div> 159 </div>
185 </el-form-item> 160 <div class="triangle"></div>
186 </el-col> 161 </div>
187 <el-col :span="8"> 162 <el-row :gutter="10">
188 <el-form-item label="权属状态:">
189 <el-select v-model="ruleForm.qlxx.qszt">
190 <el-option
191 v-for="item in qsztlist"
192 :key="item.dcode"
193 :label="item.dname"
194 :value="item.dcode">
195 </el-option>
196 </el-select>
197 </el-form-item>
198 </el-col>
199 <el-col :span="8">
200 <el-form-item label="规划用途:">
201 <el-select v-model="ruleForm.fdcq2.ghyt">
202 <el-option
203 v-for="item in dictData['A17']"
204 :key="item.dcode"
205 :label="item.dname"
206 :value="item.dcode">
207 </el-option>
208 </el-select>
209 </el-form-item>
210 </el-col>
211 <el-col :span="8">
212 <el-form-item label="批准用途:">
213 <el-input v-model="ruleForm.fdcq2.pzyt"></el-input>
214 </el-form-item>
215 </el-col>
216 <el-col :span="8">
217 <el-form-item label="实际用途:">
218 <el-input v-model="ruleForm.fdcq2.sjyt"></el-input>
219 </el-form-item>
220 </el-col>
221 <el-col :span="8"> 163 <el-col :span="8">
222 <el-form-item label="房屋性质:"> 164 <el-form-item label="不动产单元号:">
223 <el-select v-model="ruleForm.fdcq2.fwxz"> 165 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
224 <el-option
225 v-for="item in dictData['A19']"
226 :key="item.dcode"
227 :label="item.dname"
228 :value="item.dcode">
229 </el-option>
230 </el-select>
231 </el-form-item> 166 </el-form-item>
232 </el-col> 167 </el-col>
233 <el-col :span="8"> 168 <el-col :span="8">
234 <el-form-item 169 <el-form-item
235 label="房屋结构:" 170 label="业务号:"
236 prop="fdcq2.fwjg" 171 prop="qlxx.ywh"
237 :rules="rules.fwjgrules"> 172 :rules="rules.ywhrules"
238 <el-select v-model="ruleForm.fdcq2.fwjg"> 173 >
239 <el-option 174 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
240 v-for="item in dictData['A46']"
241 :key="item.dcode"
242 :label="item.dname"
243 :value="item.dcode">
244 </el-option>
245 </el-select>
246 </el-form-item>
247 </el-col>
248 <el-col :span="8">
249 <el-form-item label="所在层:">
250 <el-input v-model="ruleForm.fdcq2.szc"></el-input>
251 </el-form-item> 175 </el-form-item>
252 </el-col> 176 </el-col>
253 <el-col :span="8"> 177 <el-col :span="8">
254 <el-form-item label="总层数:"> 178 <el-form-item label="上手业务号:">
255 <el-input v-model="ruleForm.fdcq2.zcs"></el-input> 179 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input>
256 </el-form-item> 180 </el-form-item>
257 </el-col> 181 </el-col>
258 <el-col :span="8"> 182 </el-row>
259 <el-form-item label="建筑面积:"> 183 <el-row :gutter="10">
260 <div class="flex"> 184 <!-- <el-col :span="8">
261 <el-input 185 <el-form-item label="权利类型:">
262 v-model="ruleForm.fdcq2.jzmj" 186 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
263 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
264 <el-select disabled v-model="mjdw" style="width: 20%">
265 <el-option
266 v-for="item in dictData['A7']"
267 :key="item.dcode"
268 :label="item.dname"
269 :value="item.dcode">
270 </el-option>
271 </el-select>
272 </div>
273 </el-form-item> 187 </el-form-item>
274 </el-col> 188 </el-col> -->
275 <el-col :span="8"> 189 <!-- <el-col :span="8">
276 <el-form-item label="专有建筑面积:"> 190 <el-form-item label="登记原因:">
277 <div class="flex"> 191 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
278 <el-input
279 v-model="ruleForm.fdcq2.zyjzmj"
280 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
281 <el-select disabled v-model="mjdw" style="width: 20%">
282 <el-option
283 v-for="item in dictData['A7']"
284 :key="item.dcode"
285 :label="item.dname"
286 :value="item.dcode">
287 </el-option>
288 </el-select>
289 </div>
290 </el-form-item> 192 </el-form-item>
291 </el-col> 193 </el-col> -->
292 <el-col :span="8"> 194 <el-col :span="8">
293 <el-form-item label="分摊建筑面积:"> 195 <el-form-item
294 <div class="flex"> 196 label="登记类型:"
295 <el-input 197 prop="qlxx.djlx"
296 v-model="ruleForm.fdcq2.ftjzmj" 198 :rules="rules.djlxrules"
297 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 199 >
298 <el-select disabled v-model="mjdw" style="width: 20%"> 200 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
299 <el-option 201 <el-option
300 v-for="item in dictData['A7']" 202 v-for="item in djlxlist"
301 :key="item.dcode" 203 :key="item.dcode"
302 :label="item.dname" 204 :label="item.dname"
303 :value="item.dcode"> 205 :value="item.dcode"
206 >
304 </el-option> 207 </el-option>
305 </el-select> 208 </el-select>
306 </div>
307 </el-form-item> 209 </el-form-item>
308 </el-col> 210 </el-col>
309 <el-col :span="8"> 211 <!-- <el-col :span="8">
310 <el-form-item label="竣工时间:"> 212 <el-form-item label="不动产坐落:">
311 <el-date-picker 213 <el-input v-model="ruleForm.qlxx.zl"></el-input>
312 v-model="ruleForm.fdcq2.jgsj"
313 class="width100"
314 type="date"
315 placeholder="选择日期"
316 value-format="yyyy-MM-dd HH:mm:ss"
317 format="yyyy-MM-dd">
318 </el-date-picker>
319 </el-form-item> 214 </el-form-item>
320 </el-col> 215 </el-col> -->
321
322 <el-col :span="8"> 216 <el-col :span="8">
323 <el-form-item 217 <el-form-item
324 label="不动产权证号:" 218 label="不动产权证号:"
325 prop="qlxx.bdcqzh" 219 prop="qlxx.bdcqzh"
326 :rules="rules.bdcqzhrules"> 220 :rules="rules.bdcqzhrules"
221 >
327 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 222 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
328 </el-form-item> 223 </el-form-item>
329 </el-col> 224 </el-col>
330 <!-- <el-col :span="8"> 225 <!-- <el-col :span="8">
331 <el-form-item 226 <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules">
332 label="区县代码:"
333 prop="qlxx.qxdm"
334 :rules="rules.qxdmrules"
335 >
336 <el-input v-model="ruleForm.qlxx.qxdm"></el-input> 227 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
337 </el-form-item> 228 </el-form-item>
338 </el-col> --> 229 </el-col> -->
...@@ -340,7 +231,8 @@ ...@@ -340,7 +231,8 @@
340 <el-form-item 231 <el-form-item
341 label="登记机构:" 232 label="登记机构:"
342 prop="qlxx.djjg" 233 prop="qlxx.djjg"
343 :rules="rules.djjgrules"> 234 :rules="rules.djjgrules"
235 >
344 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 236 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
345 </el-form-item> 237 </el-form-item>
346 </el-col> 238 </el-col>
...@@ -348,7 +240,8 @@ ...@@ -348,7 +240,8 @@
348 <el-form-item 240 <el-form-item
349 label="登簿人:" 241 label="登簿人:"
350 prop="qlxx.dbr" 242 prop="qlxx.dbr"
351 :rules="rules.dbrrules"> 243 :rules="rules.dbrrules"
244 >
352 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 245 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
353 </el-form-item> 246 </el-form-item>
354 </el-col> 247 </el-col>
...@@ -356,41 +249,85 @@ ...@@ -356,41 +249,85 @@
356 <el-form-item 249 <el-form-item
357 label="登记时间:" 250 label="登记时间:"
358 prop="qlxx.djsj" 251 prop="qlxx.djsj"
359 :rules="rules.djsjrules"> 252 :rules="rules.djsjrules"
253 >
360 <el-date-picker 254 <el-date-picker
361 v-model="ruleForm.qlxx.djsj" 255 v-model="ruleForm.qlxx.djsj"
362 type="date"
363 class="width100" 256 class="width100"
257 type="date"
364 placeholder="选择日期" 258 placeholder="选择日期"
365 value-format="yyyy-MM-dd HH:mm:ss" 259 value-format="yyyy-MM-dd HH:mm:ss"
366 format="yyyy-MM-dd"> 260 format="yyyy-MM-dd"
261 >
367 </el-date-picker> 262 </el-date-picker>
368 </el-form-item> 263 </el-form-item>
369 </el-col> 264 </el-col>
370 </el-row> 265 <el-col :span="8">
371 <el-row> 266 <el-form-item label="权属状态:">
372 <el-col :span="24"> 267 <el-select v-model="ruleForm.qlxx.qszt">
373 <el-form-item label="登记原因:"> 268 <el-option
374 <el-input v-model="ruleForm.fdcq2.djyy"></el-input> 269 v-for="item in qsztlist"
270 :key="item.dcode"
271 :label="item.dname"
272 :value="item.dcode"
273 >
274 </el-option>
275 </el-select>
276 </el-form-item>
277 </el-col>
278
279 <el-col :span="8">
280 <el-form-item label="异议事项:"
281 prop="yydj.yysx"
282 :rules="rules.yysxrules">
283 <el-input v-model="ruleForm.yydj.yysx"></el-input>
284 </el-form-item>
285 </el-col>
286 <el-col :span="8">
287 <el-form-item label="不动产登记证明号:">
288 <el-input
289 v-model="ruleForm.yydj.bdcdjzmh"
290 prop="yydj.bdcdjzmh"
291 :rules="rules.bdcdjzmhrules"
292 >></el-input
293 >
375 </el-form-item> 294 </el-form-item>
376 </el-col> 295 </el-col>
377 </el-row>
378 <el-row>
379 <el-col :span="24"> 296 <el-col :span="24">
380 <el-form-item label="附记:"> 297 <el-form-item label="附记:">
381 <el-input v-model="ruleForm.fdcq2.fj"></el-input> 298 <el-input v-model="ruleForm.yydj.fj"></el-input>
299 </el-form-item>
300 </el-col>
301 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
302 <el-form-item label="注销异议业务号:">
303 <el-input v-model="ruleForm.yydj.zxyyywh"></el-input>
304 </el-form-item>
305 </el-col>
306 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
307 <el-form-item label="注销异议原因:">
308 <el-input v-model="ruleForm.yydj.zxyyyy"></el-input>
309 </el-form-item>
310 </el-col>
311 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
312 <el-form-item label="注销异议登簿人:">
313 <el-input v-model="ruleForm.yydj.zxyydbr"></el-input>
314 </el-form-item>
315 </el-col>
316 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
317 <el-form-item label="注销异议登记时间:">
318 <el-date-picker
319 v-model="ruleForm.yydj.zxyydjsj"
320 class="width100"
321 type="date"
322 placeholder="选择日期"
323 value-format="yyyy-MM-dd HH:mm:ss"
324 format="yyyy-MM-dd"
325 >
326 </el-date-picker>
382 </el-form-item> 327 </el-form-item>
383 </el-col> 328 </el-col>
384 </el-row> 329 </el-row>
385 <div class="slxx_title title-block"> 330 <div class="slxx_title title-block">
386 土地用途
387 <div class="triangle"></div>
388 </div>
389 <tdytTable
390 :tableData="ruleForm.tdytqxList"
391 @upDateTdytxxList="upDateTdytxxList"
392 :ableOperation="ableOperation" />
393 <div class="slxx_title title-block">
394 权利人信息 331 权利人信息
395 <div class="triangle"></div> 332 <div class="triangle"></div>
396 </div> 333 </div>
...@@ -399,7 +336,8 @@ ...@@ -399,7 +336,8 @@
399 <el-form-item label="共有方式:"> 336 <el-form-item label="共有方式:">
400 <el-radio-group 337 <el-radio-group
401 :disabled="!ableOperation" 338 :disabled="!ableOperation"
402 v-model="ruleForm.qlxx.gyfs"> 339 v-model="ruleForm.qlxx.gyfs"
340 >
403 <el-radio label="0">单独所有</el-radio> 341 <el-radio label="0">单独所有</el-radio>
404 <el-radio label="1">共同共有</el-radio> 342 <el-radio label="1">共同共有</el-radio>
405 <el-radio label="2">按份所有</el-radio> 343 <el-radio label="2">按份所有</el-radio>
...@@ -411,7 +349,8 @@ ...@@ -411,7 +349,8 @@
411 <el-form-item label="是否分别持证:"> 349 <el-form-item label="是否分别持证:">
412 <el-radio-group 350 <el-radio-group
413 v-model="ruleForm.qlxx.sqfbcz" 351 v-model="ruleForm.qlxx.sqfbcz"
414 :disabled="!ableOperation"> 352 :disabled="!ableOperation"
353 >
415 <el-radio :label="1"></el-radio> 354 <el-radio :label="1"></el-radio>
416 <el-radio :label="0"></el-radio> 355 <el-radio :label="0"></el-radio>
417 </el-radio-group> 356 </el-radio-group>
...@@ -419,17 +358,20 @@ ...@@ -419,17 +358,20 @@
419 </el-col> 358 </el-col>
420 <el-col 359 <el-col
421 :span="6" 360 :span="6"
422 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"> 361 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"
362 >
423 <el-form-item label="持证人:"> 363 <el-form-item label="持证人:">
424 <el-select 364 <el-select
425 v-model="ruleForm.czr" 365 v-model="ruleForm.czr"
426 placeholder="持证人" 366 placeholder="持证人"
427 :disabled="!ableOperation"> 367 :disabled="!ableOperation"
368 >
428 <el-option 369 <el-option
429 v-for="item in czrOptions" 370 v-for="item in czrOptions"
430 :key="item.zjh" 371 :key="item.zjh"
431 :label="item.sqrmc" 372 :label="item.sqrmc"
432 :value="item.zjh"> 373 :value="item.zjh"
374 >
433 </el-option> 375 </el-option>
434 </el-select> 376 </el-select>
435 </el-form-item> 377 </el-form-item>
...@@ -438,9 +380,23 @@ ...@@ -438,9 +380,23 @@
438 <qlrCommonTable 380 <qlrCommonTable
439 :tableData="ruleForm.qlrData" 381 :tableData="ruleForm.qlrData"
440 @upDateQlrxxList="upDateQlrxxList" 382 @upDateQlrxxList="upDateQlrxxList"
383 :key="key"
441 :ableOperation="ableOperation" 384 :ableOperation="ableOperation"
385 :gyfs="ruleForm.qlxx.gyfs"
386 />
387 <div v-if="ruleForm.ywrData">
388 <div class="slxx_title title-block">
389 义务人信息
390 <div class="triangle"></div>
391 </div>
392 <ywrCommonTable
393 v-if="ruleForm.ywrData"
394 :tableData="ruleForm.ywrData"
442 :key="key" 395 :key="key"
443 :gyfs="ruleForm.qlxx.gyfs" /> 396 :ableOperation="ableOperation"
397 @upDateQlrxxList="upDateYwrxxList"
398 />
399 </div>
444 </div> 400 </div>
445 <el-row class="btn" v-if="ableOperation"> 401 <el-row class="btn" v-if="ableOperation">
446 <el-form-item> 402 <el-form-item>
...@@ -451,19 +407,26 @@ ...@@ -451,19 +407,26 @@
451 </div> 407 </div>
452 </template> 408 </template>
453 <script> 409 <script>
454 import { mapGetters } from "vuex"; 410 import { mapGetters } from "vuex";
455 import ywmix from "@/views/ywbl/mixin/index"; 411 import ywmix from "@/views/ywbl/mixin/index";
456 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 412 import {
457 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 413 init,
458 import selectTable from "@/components/selectTable/index.vue"; 414 getSsQlxx,
459 import tdytTable from "@/views/workflow/components/tdytTable"; 415 getZtQlxx,
460 export default { 416 getQlxxByQlxxBsm,
417 save,
418 } from "@/api/djbRepair.js";
419 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
420 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
421 import tdytTable from "@/views/workflow/components/tdytTable";
422 import selectTable from "@/components/selectTable/index.vue";
423 export default {
461 mixins: [ywmix], 424 mixins: [ywmix],
462 components: { qlrCommonTable, tdytTable, selectTable }, 425 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
463 computed: { 426 computed: {
464 ...mapGetters(["dictData", "flag"]), 427 ...mapGetters(["dictData", "flag"]),
465 // 根据流程判断表单是否为只读 428 // 根据流程判断表单是否为只读
466 editDisabled () { 429 editDisabled() {
467 if (!this.ableOperation) { 430 if (!this.ableOperation) {
468 //只读状态 431 //只读状态
469 return true; 432 return true;
...@@ -471,28 +434,22 @@ ...@@ -471,28 +434,22 @@
471 return false; 434 return false;
472 }, 435 },
473 }, 436 },
474 data () { 437 data() {
475 return { 438 return {
476 mjdw: "1",
477 ssqlxxshow: true, 439 ssqlxxshow: true,
478 props: { 440 props: {
479 label: "bdcqzh", 441 label: "bdcqzh",
480 value: "bdcdyid", 442 value: "bdcdyid",
481 }, 443 },
482 // 键名转换,方法默认是label和children进行树状渲染
483 normalizer (node) {
484 //方法
485 if (node.children == null || node.children == "null") {
486 delete node.children;
487 }
488 return {
489 id: node.dcode,
490 label: node.dname,
491 };
492 },
493
494 //表单是否可操作 444 //表单是否可操作
495 propsParam: this.$attrs, 445 propsParam: this.$attrs,
446 key: 0,
447 isShow: false,
448 disabled: true,
449 czrOptions: [],
450 ssQlxxList: [],
451 ztQlxxList: [],
452 ruleForm: {},
496 // 登记类型 453 // 登记类型
497 djlxlist: [ 454 djlxlist: [
498 { 455 {
...@@ -532,86 +489,89 @@ ...@@ -532,86 +489,89 @@
532 dname: "历史", 489 dname: "历史",
533 }, 490 },
534 ], 491 ],
535 key: 0,
536 tdxz: null,
537 isShow: false,
538 disabled: true,
539 czrOptions: [],
540 ssQlxxList: [],
541 ruleForm: {
542 fdcq2: {
543 ftjzmj: "",
544 },
545 },
546 ableOperation: false,
547 //传递参数\ 492 //传递参数\
548 rules: { 493 rules: {
549 ssQlxxrules: [ 494 ssQlxxrules: [
550 { required: true, message: "上手权利信息", trigger: "blur" }, 495 { required: true, message: "上手权利信息", trigger: "blur" },
551 ], 496 ],
497 ztQlxxrules: [
498 { required: true, message: "抵押不动产信息", trigger: "blur" },
499 ],
552 bdcqzhrules: [ 500 bdcqzhrules: [
553 { required: true, message: "不动产权证号:", trigger: "blur" }, 501 { required: true, message: "不动产证号 ", trigger: "blur" },
554 ], 502 ],
555 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 503 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
556 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 504 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
557 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 505 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
558 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 506 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
559 fwjgrules: [{ required: true, message: "房屋结构", trigger: "change" }],
560 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], 507 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
561 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], 508 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
509 bdcdjzmhrules: [
510 { required: true, message: "不动产登记证明号: ", trigger: "blur" },
511 ],
512 yysxrules: [{ required: true, message: "异议事项", trigger: "blur" }],
562 }, 513 },
514 ableOperation: false,
563 }; 515 };
564 }, 516 },
565 created () { }, 517 created() {
566 mounted () {
567 this.loadData(); 518 this.loadData();
519 },
520 mounted() {
568 this.ableOperation = this.$parent.ableOperation; 521 this.ableOperation = this.$parent.ableOperation;
569 }, 522 },
570 methods: { 523 methods: {
571 /** 524 /**
525 * @description: ztQlxxchange
526 * @param {*} val
527 * @author: renchao
528 */
529 ztQlxxchange(val) {
530 this.ruleForm.ztQlxx = val;
531 },
532 /**
572 * @description: ssQlxxchange 533 * @description: ssQlxxchange
573 * @param {*} val 534 * @param {*} val
574 * @author: renchao 535 * @author: renchao
575 */ 536 */
576 ssQlxxchange (val) { 537 ssQlxxchange(val) {
577 this.ruleForm.ssQlxx = val; 538 this.ruleForm.ssQlxx = val;
578 this.ruleForm.qlxx.ssywh = val.ywh; 539 this.ruleForm.qlxx.ssywh = val.ywh;
579 this.ssQlxxchangediolog(val); 540 this.ssQlxxchangediolog(val);
580 }, 541 },
581 // 弹框事件 542 // 弹框事件
582 ssQlxxchangediolog (val) { 543 ssQlxxchangediolog(val) {
583 this.$confirm("是否将上手权利信息同步到表单", "提示", { 544 this.$confirm("是否将上手权利信息同步到表单", "提示", {
584 iconClass: "el-icon-question", //自定义图标样式 545 iconClass: "el-icon-question", //自定义图标样式
585 confirmButtonText: "确认", //确认按钮文字更换 546 confirmButtonText: "确认", //确认按钮文字更换
586 cancelButtonText: "取消", //取消按钮文字更换 547 cancelButtonText: "取消", //取消按钮文字更换
587 showClose: true, //是否显示右上角关闭按钮 548 showClose: true, //是否显示右上角关闭按钮
588 type: "warning", 549 type: "warning",
589 550 })
590 551 .then(() => {
591 }).then(() => {
592 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 552 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
593 if (res.code == 200) { 553 if (res.code == 200) {
594 this.nowlist = res.result; 554 this.nowlist = res.result;
595 for (var key in this.ruleForm.fdcq2) { 555 for (var key in this.ruleForm.yydj) {
596 if ( 556 if (
597 this.ruleForm.fdcq2[key] == "" || 557 this.ruleForm.yydj[key] == "" ||
598 this.ruleForm.fdcq2[key] == null 558 this.ruleForm.yydj[key] == null
599 ) { 559 ) {
600 this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key]; 560 this.ruleForm.yydj[key] = this.nowlist.yydj[key];
601 } 561 }
602 } 562 }
603 for (var key in this.ruleForm.qlxx) { 563 for (var key in this.ruleForm.qlxx) {
604 if ( 564 if (
605 this.ruleForm.qlxx[key] == "" || 565 this.ruleForm.qlxx[key] == "" ||
606 this.ruleForm.qlxx[key] == null && 566 (this.ruleForm.qlxx[key] == null &&
607 key != "ywh" && 567 key != "ywh" &&
608 key != "dbr" && 568 key != "dbr" &&
609 key != "djsj" && 569 key != "djsj" &&
610 key != "ssywh" && 570 key != "ssywh" &&
611 key != "ssywh" && 571 key != "ssywh" &&
612 key != "bdcqzh") { 572 key != "bdcqzh")
573 ) {
613 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 574 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
614
615 } 575 }
616 } 576 }
617 if (!this.ruleForm.tdytqxList.length) { 577 if (!this.ruleForm.tdytqxList.length) {
...@@ -629,7 +589,8 @@ ...@@ -629,7 +589,8 @@
629 }); 589 });
630 } 590 }
631 }); 591 });
632 }).catch(() => { 592 })
593 .catch(() => {
633 this.$message({ 594 this.$message({
634 type: "info", 595 type: "info",
635 message: "已取消同步", 596 message: "已取消同步",
...@@ -641,7 +602,7 @@ ...@@ -641,7 +602,7 @@
641 * @param {*} val 602 * @param {*} val
642 * @author: renchao 603 * @author: renchao
643 */ 604 */
644 djlxchange (val) { 605 djlxchange(val) {
645 if (val == null || val == 100) { 606 if (val == null || val == 100) {
646 this.ssqlxxshow = false; 607 this.ssqlxxshow = false;
647 } else { 608 } else {
...@@ -652,7 +613,7 @@ ...@@ -652,7 +613,7 @@
652 * @description: loadData 613 * @description: loadData
653 * @author: renchao 614 * @author: renchao
654 */ 615 */
655 loadData () { 616 loadData() {
656 this.$startLoading(); 617 this.$startLoading();
657 this.propsParam.isEdit = this.$parent.isEdit; 618 this.propsParam.isEdit = this.$parent.isEdit;
658 init(this.propsParam).then((res) => { 619 init(this.propsParam).then((res) => {
...@@ -662,13 +623,7 @@ ...@@ -662,13 +623,7 @@
662 if (djlx == null || djlx == 100) { 623 if (djlx == null || djlx == 100) {
663 this.ssqlxxshow = false; 624 this.ssqlxxshow = false;
664 } 625 }
665 this.ruleForm.fdcq2.jedw = "1";
666 this.$endLoading(); 626 this.$endLoading();
667 if (this.ruleForm.tdytqxList.length > 0) {
668 this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
669 } else {
670 this.tdxz = null;
671 }
672 this.isShow = true; 627 this.isShow = true;
673 //获取主体信息 628 //获取主体信息
674 getSsQlxx({ 629 getSsQlxx({
...@@ -680,6 +635,15 @@ ...@@ -680,6 +635,15 @@
680 this.ssQlxxList = res.result; 635 this.ssQlxxList = res.result;
681 } 636 }
682 }); 637 });
638 //获取上手信息
639 getZtQlxx({
640 bdcdyid: this.propsParam.bdcdyid,
641 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
642 }).then((res) => {
643 if (res.code == 200) {
644 this.ztQlxxList = res.result;
645 }
646 });
683 } 647 }
684 }); 648 });
685 }, 649 },
...@@ -689,7 +653,7 @@ ...@@ -689,7 +653,7 @@
689 * @param {*} val 653 * @param {*} val
690 * @author: renchao 654 * @author: renchao
691 */ 655 */
692 upDateTdytxxList (val) { 656 upDateTdytxxList(val) {
693 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 657 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
694 this.key++; 658 this.key++;
695 }, 659 },
...@@ -699,7 +663,7 @@ ...@@ -699,7 +663,7 @@
699 * @param {*} val 663 * @param {*} val
700 * @author: renchao 664 * @author: renchao
701 */ 665 */
702 upDateQlrxxList (val) { 666 upDateQlrxxList(val) {
703 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 667 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
704 this.czrOptions = this.ruleForm.qlrData; 668 this.czrOptions = this.ruleForm.qlrData;
705 this.key++; 669 this.key++;
...@@ -710,7 +674,7 @@ ...@@ -710,7 +674,7 @@
710 * @param {*} val 674 * @param {*} val
711 * @author: renchao 675 * @author: renchao
712 */ 676 */
713 upDateYwrxxList (val) { 677 upDateYwrxxList(val) {
714 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 678 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
715 this.key++; 679 this.key++;
716 }, 680 },
...@@ -718,7 +682,7 @@ ...@@ -718,7 +682,7 @@
718 * @description: onSubmit 682 * @description: onSubmit
719 * @author: renchao 683 * @author: renchao
720 */ 684 */
721 onSubmit () { 685 onSubmit() {
722 this.$refs.ruleForm.validate((valid) => { 686 this.$refs.ruleForm.validate((valid) => {
723 if (valid) { 687 if (valid) {
724 if (this.ruleForm.qlrData.length == 0) { 688 if (this.ruleForm.qlrData.length == 0) {
...@@ -737,7 +701,7 @@ ...@@ -737,7 +701,7 @@
737 }); 701 });
738 return false; 702 return false;
739 } 703 }
740 if (this.ruleForm.sldy.gyfs == "0") { 704 if (this.ruleForm.qlxx.gyfs == "0") {
741 if (this.ruleForm.qlrData.length > 1) { 705 if (this.ruleForm.qlrData.length > 1) {
742 this.$message({ 706 this.$message({
743 showClose: true, 707 showClose: true,
...@@ -747,31 +711,16 @@ ...@@ -747,31 +711,16 @@
747 return false; 711 return false;
748 } 712 }
749 this.ruleForm.qlrData[0].sfczr = "1"; 713 this.ruleForm.qlrData[0].sfczr = "1";
750 } else {
751 if (this.ruleForm.qlrList.length <= 1) {
752 this.$message({
753 showClose: true,
754 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
755 type: "error",
756 });
757 return false;
758 } 714 }
715 if (this.ruleForm.qlxx.gyfs == "1") {
759 //是否分别持证 716 //是否分别持证
760 if (this.ruleForm.sldy.sqfbcz == "1") { 717 if (this.ruleForm.qlxx.sqfbcz == "1") {
761 //是 718 //是
762 this.ruleForm.qlrList.forEach((item, index) => { 719 this.ruleForm.qlrData.forEach((item, index) => {
763 item.sfczr = "1"; 720 item.sfczr = "1";
764 }); 721 });
765 } else { 722 } else {
766 if (!that.ruleForm.czr) { 723 this.ruleForm.qlrData.forEach((item, index) => {
767 that.$message({
768 showClose: true,
769 message: "请选择持证人",
770 type: "error",
771 });
772 return false;
773 }
774 this.ruleForm.qlrList.forEach((item, index) => {
775 if (item.zjh == this.ruleForm.czr) { 724 if (item.zjh == this.ruleForm.czr) {
776 item.sfczr = "1"; 725 item.sfczr = "1";
777 } else { 726 } else {
...@@ -803,9 +752,9 @@ ...@@ -803,9 +752,9 @@
803 }); 752 });
804 }, 753 },
805 }, 754 },
806 }; 755 };
807 </script> 756 </script>
808 <style scoped lang="scss"> 757 <style scoped lang="scss">
809 @import "~@/styles/public.scss"; 758 @import "~@/styles/public.scss";
810 @import "~@/styles/slxx/slxx.scss"; 759 @import "~@/styles/slxx/slxx.scss";
811 </style> 760 </style>
......
...@@ -113,14 +113,6 @@ export default { ...@@ -113,14 +113,6 @@ export default {
113 }, 113 },
114 }, 114 },
115 mounted() { 115 mounted() {
116 console.log(
117 "bestepid: this.$route.query.bestepid,",
118 this.$route.query.bestepid
119 );
120 console.log(
121 "bestepid: this.$route.query.sqywbm,",
122 this.$route.query.sqywbm
123 );
124 this.ableOperation = this.$parent.ableOperation; 116 this.ableOperation = this.$parent.ableOperation;
125 }, 117 },
126 methods: { 118 methods: {
...@@ -162,7 +154,6 @@ export default { ...@@ -162,7 +154,6 @@ export default {
162 return new Promise((resolve) => { 154 return new Promise((resolve) => {
163 this.unitData = this.$parent.unitData; 155 this.unitData = this.$parent.unitData;
164 var formdata = new FormData(); 156 var formdata = new FormData();
165
166 formdata.append("bsmSlsq", this.$parent.bsmSlsq); 157 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
167 if (this.$route.query.sqywbm == "DJBBL") { 158 if (this.$route.query.sqywbm == "DJBBL") {
168 formdata.append("bsmSldy", this.$parent.bsmRepair); 159 formdata.append("bsmSldy", this.$parent.bsmRepair);
...@@ -259,6 +250,9 @@ export default { ...@@ -259,6 +250,9 @@ export default {
259 sjlx: data.cllx, 250 sjlx: data.cllx,
260 sfxjcl: "1", // 是否必选 251 sfxjcl: "1", // 是否必选
261 }; 252 };
253 if (this.$route.query.sqywbm == "DJBBL") {
254 obj.bsmSldy=this.$parent.bsmRepair
255 }
262 saveClml(obj).then(async (res) => { 256 saveClml(obj).then(async (res) => {
263 if (res.code == 200) { 257 if (res.code == 200) {
264 let res = await this.clmlInitList(2); 258 let res = await this.clmlInitList(2);
...@@ -324,6 +318,7 @@ export default { ...@@ -324,6 +318,7 @@ export default {
324 data: this.tableData, 318 data: this.tableData,
325 unitData: this.$parent.unitData, 319 unitData: this.$parent.unitData,
326 ableOperation: this.$parent.ableOperation, 320 ableOperation: this.$parent.ableOperation,
321 bsmRepair:this.$parent.bsmRepair
327 }, 322 },
328 "60%", 323 "60%",
329 true 324 true
......
...@@ -209,9 +209,14 @@ ...@@ -209,9 +209,14 @@
209 return new Promise(resolve => { 209 return new Promise(resolve => {
210 this.unitData = this.$parent.unitData; 210 this.unitData = this.$parent.unitData;
211 var formdata = new FormData(); 211 var formdata = new FormData();
212 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
213 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq); 212 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq);
213 if (Vue.prototype.$currentRoute.query.sqywbm == "DJBBL") {
214 formdata.append("bsmSldy", this.formData.bsmRepair);
215 formdata.append("clfl", 3);
216 } else {
217 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
214 formdata.append("clfl", 2); 218 formdata.append("clfl", 2);
219 }
215 InitClml(formdata).then((res) => { 220 InitClml(formdata).then((res) => {
216 if (res.code == 200) { 221 if (res.code == 200) {
217 resolve(res.code) 222 resolve(res.code)
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <i class="el-icon-question invalid-icon"></i> 9 <i class="el-icon-question invalid-icon"></i>
10 <div class="invalid-body">您是否确定终止该业务办理?</div> 10 <div class="invalid-body">您是否确定终止该业务办理?</div>
11 </div> 11 </div>
12 <div class="invalid-reson">终止原因:</div> 12 <div class="invalid-reson">退件原因:</div>
13 <el-input 13 <el-input
14 v-model="stopMessage" 14 v-model="stopMessage"
15 placeholder="请输入终止原因" 15 placeholder="请输入终止原因"
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </el-form-item> 42 </el-form-item>
43 </el-col> 43 </el-col>
44 </el-row> 44 </el-row>
45 <div class="slxx_title title-block"> 45 <div class="slxx_title title-block" v-if="ruleForm.hlist && ruleForm.hlist.length>0">
46 抵押户信息列表信息({{ruleForm.hlist.length}} 户) 46 抵押户信息列表信息({{ruleForm.hlist.length}} 户)
47 <div class="triangle"></div> 47 <div class="triangle"></div>
48 </div> 48 </div>
...@@ -51,10 +51,9 @@ ...@@ -51,10 +51,9 @@
51 抵押信息 51 抵押信息
52 <div class="triangle"></div> 52 <div class="triangle"></div>
53 </div> 53 </div>
54 <el-row :gutter="10"> 54 <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
55 <el-col :span="8"> 55 <el-col :span="8">
56 <el-form-item label="抵押方式:"> 56 <el-form-item label="抵押方式:">
57 <!-- <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input> -->
58 <el-radio-group disabled v-model="ruleForm.diyaqList[0].dyfs"> 57 <el-radio-group disabled v-model="ruleForm.diyaqList[0].dyfs">
59 <el-radio label="1">一般抵押</el-radio> 58 <el-radio label="1">一般抵押</el-radio>
60 <el-radio label="2">最高额抵押</el-radio> 59 <el-radio label="2">最高额抵押</el-radio>
...@@ -79,7 +78,7 @@ ...@@ -79,7 +78,7 @@
79 </el-col> 78 </el-col>
80 </el-row> 79 </el-row>
81 80
82 <el-row :gutter="10"> 81 <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
83 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> 82 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1">
84 <el-form-item label="被担保主债权数额:"> 83 <el-form-item label="被担保主债权数额:">
85 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input> 84 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input>
...@@ -114,7 +113,7 @@ ...@@ -114,7 +113,7 @@
114 </el-col> 113 </el-col>
115 </el-row> 114 </el-row>
116 115
117 <el-row> 116 <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
118 <el-col :span="24"> 117 <el-col :span="24">
119 <el-form-item label="担保范围:"> 118 <el-form-item label="担保范围:">
120 <el-input v-model="ruleForm.diyaqList[0].dbfw" 119 <el-input v-model="ruleForm.diyaqList[0].dbfw"
...@@ -122,14 +121,14 @@ ...@@ -122,14 +121,14 @@
122 </el-form-item> 121 </el-form-item>
123 </el-col> 122 </el-col>
124 </el-row> 123 </el-row>
125 <el-row> 124 <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
126 <el-col :span="24"> 125 <el-col :span="24">
127 <el-form-item label="最高债权确定事实和数额:"> 126 <el-form-item label="最高债权确定事实和数额:">
128 <el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!ableOperation"></el-input> 127 <el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!ableOperation"></el-input>
129 </el-form-item> 128 </el-form-item>
130 </el-col> 129 </el-col>
131 </el-row> 130 </el-row>
132 <el-row> 131 <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
133 <el-col> 132 <el-col>
134 <el-form-item label="附记:" prop="fj"> 133 <el-form-item label="附记:" prop="fj">
135 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!ableOperation"></el-input> 134 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!ableOperation"></el-input>
...@@ -141,7 +140,7 @@ ...@@ -141,7 +140,7 @@
141 抵押权人信息 140 抵押权人信息
142 <div class="triangle"></div> 141 <div class="triangle"></div>
143 </div> 142 </div>
144 <el-row :gutter="10"> 143 <el-row :gutter="10" v-if="ruleForm.sldyList && ruleForm.sldyList.length>0">
145 <el-col :span="14"> 144 <el-col :span="14">
146 <el-form-item label="共有方式:"> 145 <el-form-item label="共有方式:">
147 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldyList[0].gyfs"> 146 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldyList[0].gyfs">
...@@ -170,7 +169,8 @@ ...@@ -170,7 +169,8 @@
170 </el-form-item> 169 </el-form-item>
171 </el-col> 170 </el-col>
172 </el-row> 171 </el-row>
173 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldyList[0].gyfs" /> 172 <qlrCommonTable v-if="ruleForm.sldyList && ruleForm.sldyList.length>0" :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
173 :disabled="!ableOperation" :gyfs="ruleForm.sldyList[0].gyfs" />
174 <div class="slxx_title title-block"> 174 <div class="slxx_title title-block">
175 抵押人信息 175 抵押人信息
176 <div class="triangle"></div> 176 <div class="triangle"></div>
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
181 登记原因 181 登记原因
182 <div class="triangle"></div> 182 <div class="triangle"></div>
183 </div> 183 </div>
184 <el-row :gutter="10"> 184 <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
185 <el-col> 185 <el-col>
186 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy"> 186 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy">
187 <el-input class="textArea" type="textarea" :disabled="!ableOperation" 187 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
210 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; 210 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js";
211 import { mapGetters } from "vuex"; 211 import { mapGetters } from "vuex";
212 export default { 212 export default {
213 created () { 213 mounted () {
214 this.ableOperation = this.$parent.currentSelectTab.ableOperation 214 this.ableOperation = this.$parent.currentSelectTab.ableOperation
215 this.propsParam = this.$attrs; 215 this.propsParam = this.$attrs;
216 var formdata = new FormData(); 216 var formdata = new FormData();
...@@ -220,9 +220,13 @@ ...@@ -220,9 +220,13 @@
220 formdata.append("djlx", this.propsParam.djlx); 220 formdata.append("djlx", this.propsParam.djlx);
221 formdata.append("isEdit", this.ableOperation); 221 formdata.append("isEdit", this.ableOperation);
222 bacthInit(formdata).then((res) => { 222 bacthInit(formdata).then((res) => {
223 this.$endLoading();
223 if (res.code === 200 && res.result) { 224 if (res.code === 200 && res.result) {
225 this.$nextTick(() => {
224 this.ruleForm = res.result; 226 this.ruleForm = res.result;
225 this.$endLoading(); 227 })
228 } else {
229 this.$message.error(res.message);
226 } 230 }
227 }) 231 })
228 }, 232 },
......