48e2cb53 by renchao@pashanhoo.com

style:善证

1 parent 0e4f3211
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-05 15:36:51 4 * @LastEditTime: 2023-09-05 16:37:35
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 </el-select> 24 </el-select>
25 </el-col> 25 </el-col>
26 <el-col :span="2" v-if="this.formData.ysxlh"> 26 <el-col :span="2" v-if="this.formData.ysxlh">
27 <el-button type="primary" @click="invalidDiglog=true">作废</el-button> 27 <el-button type="primary" @click="handleZF" v-if="disabled">作废</el-button>
28 </el-col> 28 </el-col>
29 </el-row> 29 </el-row>
30 30
...@@ -166,11 +166,15 @@ ...@@ -166,11 +166,15 @@
166 this.zfyy = ""; 166 this.zfyy = "";
167 this.invalidDiglog = false 167 this.invalidDiglog = false
168 }, 168 },
169 handleZF () {
170 this.invalidDiglog = true
171 },
169 /** 172 /**
170 * @description: 作废缮证信息 173 * @description: 作废缮证信息
171 * @author: renchao 174 * @author: renchao
172 */ 175 */
173 confirmInvalid () { 176 confirmInvalid () {
177 store.dispatch('user/reWorkFresh', false)
174 invalidCertificate({ bsmBdcqz: this.bdcqz.bsmBdcqz, zfyy: this.zfyy }).then((res) => { 178 invalidCertificate({ bsmBdcqz: this.bdcqz.bsmBdcqz, zfyy: this.zfyy }).then((res) => {
175 if (res.code === 200) { 179 if (res.code === 200) {
176 this.$message.success("作废成功"); 180 this.$message.success("作废成功");
...@@ -179,12 +183,12 @@ ...@@ -179,12 +183,12 @@
179 this.zfyy = '' 183 this.zfyy = ''
180 this.ruleForm.ysxlh = '' 184 this.ruleForm.ysxlh = ''
181 this.bdcqz.ysxlh = '' 185 this.bdcqz.ysxlh = ''
182 store.dispatch('user/reWorkFresh', false)
183 if (this.bdcqz.bdcqzlx == 1) { 186 if (this.bdcqz.bdcqzlx == 1) {
184 this.drawTextOnImage() 187 this.drawTextOnImage()
185 } else { 188 } else {
186 this.drawTextzmImage() 189 this.drawTextzmImage()
187 } 190 }
191 store.dispatch('user/reWorkFresh', true)
188 } else { 192 } else {
189 this.$message.error(res.message); 193 this.$message.error(res.message);
190 } 194 }
...@@ -587,6 +591,7 @@ ...@@ -587,6 +591,7 @@
587 this.$message.error('请选择印刷序列号'); 591 this.$message.error('请选择印刷序列号');
588 return; 592 return;
589 } 593 }
594 store.dispatch('user/reWorkFresh', false)
590 let that = this 595 let that = this
591 if (this.bdcqz.bdcqzlx == 1) { 596 if (this.bdcqz.bdcqzlx == 1) {
592 getPrintTemplateByCode({ tmpno: 'zsdy' }).then(resInfo => { 597 getPrintTemplateByCode({ tmpno: 'zsdy' }).then(resInfo => {
...@@ -646,6 +651,7 @@ ...@@ -646,6 +651,7 @@
646 this.$message.error('请选择印刷序列号'); 651 this.$message.error('请选择印刷序列号');
647 return; 652 return;
648 } 653 }
654 store.dispatch('user/reWorkFresh', false)
649 this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz; 655 this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz;
650 this.ruleForm.bdcqzlx = this.bdcqz.bdcqzlx; 656 this.ruleForm.bdcqzlx = this.bdcqz.bdcqzlx;
651 this.ruleForm.szzh = this.bdcqz.bdcqzh; 657 this.ruleForm.szzh = this.bdcqz.bdcqzh;
......
1 <template> 1 <template>
2 <div> 2 <div class="slxx swxx">
3 <div>不动产信息</div> 3 <!--
4 <div>买方信息</div> 4 <div>缴税信息</div> -->
5 <div>卖方信息</div> 5 <el-form
6 <div>合同信息</div> 6 :model="ruleForm"
7 <div>缴税信息</div> 7 ref="ruleForm"
8 v-Loading="loading"
9 :label-position="flag ? 'top' : ''"
10 :inline="flag"
11 label-width="120px">
12 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
13 <div class="slxx_title title-block">
14 不动产信息
15 <div class="triangle"></div>
16 </div>
17 <el-row :gutter="10">
18 <el-col :span="8">
19 <el-form-item label="不动产单元号:">
20 <el-input disabled v-model="ruleForm.bdcdyh"></el-input>
21 </el-form-item>
22 </el-col>
23 <el-col :span="8">
24 <el-form-item label="原产证号:">
25 <el-input disabled v-model="ruleForm.yfczh"></el-input>
26 </el-form-item>
27 </el-col>
28 <el-col :span="8">
29 <el-form-item label="面积(m3):">
30 <el-input disabled v-model="ruleForm.mj"></el-input>
31 </el-form-item>
32 </el-col>
33 </el-row>
34 <el-row :gutter="10">
35 <el-col :span="8">
36 <el-form-item label="权利类型:">
37 <el-input disabled v-model="ruleForm.qllxmc"></el-input>
38 </el-form-item>
39 </el-col>
40 <el-col :span="8">
41 <el-form-item label="用途:">
42 <el-input disabled v-model="ruleForm.yt"></el-input>
43 </el-form-item>
44 </el-col>
45 <el-col :span="8">
46 <el-form-item label="坐落:">
47 <el-input disabled v-model="ruleForm.zl"></el-input>
48 </el-form-item>
49 </el-col>
50 </el-row>
51 <div class="slxx_title title-block">
52 买方信息
53 <div class="triangle"></div>
54 </div>
55 <lb-table :column="column" :pagination="false" :heightNumSetting="true"
56 :data="ruleForm.tableDataList">
57 </lb-table>
58 <div class="slxx_title title-block">
59 卖方信息
60 <div class="triangle"></div>
61 </div>
62 <lb-table :column="column1" :pagination="false" :heightNumSetting="true"
63 :data="ruleForm.tableDataList">
64 </lb-table>
65 <div class="slxx_title title-block">
66 合同信息
67 <div class="triangle"></div>
68 </div>
69 <el-row :gutter="10">
70 <el-col :span="8">
71 <el-form-item label="合同编号:">
72 <el-input v-model="ruleForm.htbh"></el-input>
73 </el-form-item>
74 </el-col>
75 <el-col :span="8">
76 <el-form-item label="合同金额(万元):">
77 <el-input v-model="ruleForm.htje"></el-input>
78 </el-form-item>
79 </el-col>
80 <el-col :span="8">
81 <el-form-item label="签订时间:">
82 <el-date-picker
83 class="width100"
84 v-model="ruleForm.qdsj"
85 type="date"
86 placeholder="选择日期"
87 value-format="yyyy-MM-dd HH:mm:ss"
88 format="yyyy-MM-dd">
89 </el-date-picker>
90 </el-form-item>
91 </el-col>
92 </el-row>
93 </div>
94 <el-row class="btn" v-if="viewEdit">
95 <el-form-item>
96 <el-button type="primary" @click="onSubmit">保存</el-button>
97 </el-form-item>
98 </el-row>
99 </el-form>
8 </div> 100 </div>
9 </template>
...\ No newline at end of file ...\ No newline at end of file
101 </template>
102 <script>
103 import { mapGetters } from "vuex";
104 export default {
105 computed: {
106 ...mapGetters(["dictData", "flag"]),
107 },
108 mounted () {
109 // this.loading = true
110 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
111 this.propsParam = this.$attrs;
112 var formdata = new FormData();
113 formdata.append("bsmSldy", this.propsParam.bsmSldy);
114 formdata.append("djlx", this.propsParam.djlx);
115 formdata.append("isEdit", this.viewEdit);
116 // Init(formdata).then((res) => {
117 // if (res.code === 200 && res.result) {
118 // }
119 // });
120 },
121 data () {
122 return {
123 loading: false,
124 //表单是否可操作
125 viewEdit: false,
126 column: [
127 {
128 prop: "qlrxm",
129 label: "权利人姓名"
130 },
131 {
132 prop: "gyqk",
133 label: "共有情况"
134 },
135 {
136 prop: "zjzl",
137 label: "身份证号种类"
138 },
139 {
140 prop: "zjhm",
141 label: "证件号码"
142 },
143 ],
144 column1: [{
145 prop: "ywrxm",
146 label: "义务人姓名"
147 },
148 {
149 prop: "zjzl",
150 label: "身份证号种类"
151 },
152 {
153 prop: "zjhm",
154 label: "证件号码"
155 },],
156 ruleForm: {
157 tableDataList: []
158 }
159 }
160 },
161 methods: {
162 onSubmit () { }
163 }
164 }
165 </script>
166 <style scoped lang="scss">
167 @import "~@/styles/public.scss";
168 @import "~@/styles/slxx/slxx.scss";
169 </style>
......
...@@ -13,8 +13,7 @@ ...@@ -13,8 +13,7 @@
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
16 label-width="180px" 16 label-width="180px">
17 >
18 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 17 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
19 <div class="slxx_title title-block"> 18 <div class="slxx_title title-block">
20 申请业务信息 19 申请业务信息
...@@ -117,7 +116,7 @@ ...@@ -117,7 +116,7 @@
117 </div> 116 </div>
118 117
119 <el-row :gutter="10"> 118 <el-row :gutter="10">
120 <el-col :span="8" > 119 <el-col :span="8">
121 <el-form-item label="原不动产证号:"> 120 <el-form-item label="原不动产证号:">
122 <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input> 121 <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input>
123 </el-form-item> 122 </el-form-item>
...@@ -148,17 +147,15 @@ ...@@ -148,17 +147,15 @@
148 </div> 147 </div>
149 </el-form-item> 148 </el-form-item>
150 </el-col> 149 </el-col>
151 </el-row> 150 </el-row>
152 <el-row :gutter="10"> 151 <el-row :gutter="10">
153 <el-col :span="8"> 152 <el-col :span="8">
154 <el-form-item 153 <el-form-item
155 label="是否禁止或者限制转让的约定:" 154 label="是否禁止或者限制转让的约定:"
156 label-width="200px" 155 label-width="200px">
157 >
158 <el-radio-group 156 <el-radio-group
159 v-model="ruleForm.diyaq.sfczjzhxz" 157 v-model="ruleForm.diyaq.sfczjzhxz"
160 :disabled="!viewEdit || isJfOperation" 158 :disabled="!viewEdit || isJfOperation">
161 >
162 <el-radio label="1"></el-radio> 159 <el-radio label="1"></el-radio>
163 <el-radio label="0"></el-radio> 160 <el-radio label="0"></el-radio>
164 </el-radio-group> 161 </el-radio-group>
...@@ -166,20 +163,18 @@ ...@@ -166,20 +163,18 @@
166 </el-col> 163 </el-col>
167 <el-col :span="8"> 164 <el-col :span="8">
168 <el-form-item 165 <el-form-item
169 label="是否预告登记:" 166 label="是否预告登记:">
170 >
171 <el-radio-group v-model="ruleForm.diyaq.sfygdj" disabled> 167 <el-radio-group v-model="ruleForm.diyaq.sfygdj" disabled>
172 <el-radio label="1"></el-radio> 168 <el-radio label="1"></el-radio>
173 <el-radio label="0"></el-radio> 169 <el-radio label="0"></el-radio>
174 </el-radio-group> 170 </el-radio-group>
175 </el-form-item> 171 </el-form-item>
176 </el-col> 172 </el-col>
177 <el-col :span="8"> 173 <el-col :span="8">
178 <el-form-item label="债务履行期限:"> 174 <el-form-item label="债务履行期限:">
179 <el-input 175 <el-input
180 v-model="ruleForm.diyaq.dyqx" 176 v-model="ruleForm.diyaq.dyqx"
181 :disabled="!viewEdit || isJfOperation" 177 :disabled="!viewEdit || isJfOperation"></el-input>
182 ></el-input>
183 </el-form-item> 178 </el-form-item>
184 </el-col> 179 </el-col>
185 </el-row> 180 </el-row>
...@@ -191,18 +186,15 @@ ...@@ -191,18 +186,15 @@
191 <el-input 186 <el-input
192 v-model="ruleForm.diyaq.bdbzzqse" 187 v-model="ruleForm.diyaq.bdbzzqse"
193 :disabled="!viewEdit || isJfOperation" 188 :disabled="!viewEdit || isJfOperation"
194 style="width: 500%" 189 style="width: 500%"></el-input>
195 ></el-input>
196 <el-select 190 <el-select
197 v-model="ruleForm.diyaq.jedw" 191 v-model="ruleForm.diyaq.jedw"
198 :disabled="!viewEdit || isJfOperation" 192 :disabled="!viewEdit || isJfOperation">
199 >
200 <el-option 193 <el-option
201 v-for="item in dictData['A57']" 194 v-for="item in dictData['A57']"
202 :key="item.dcode" 195 :key="item.dcode"
203 :label="item.dname" 196 :label="item.dname"
204 :value="item.dcode" 197 :value="item.dcode">
205 >
206 </el-option> 198 </el-option>
207 </el-select> 199 </el-select>
208 </div> 200 </div>
...@@ -213,8 +205,7 @@ ...@@ -213,8 +205,7 @@
213 <el-form-item label="最高债权额:"> 205 <el-form-item label="最高债权额:">
214 <el-input 206 <el-input
215 v-model="ruleForm.diyaq.zgzqse" 207 v-model="ruleForm.diyaq.zgzqse"
216 :disabled="!viewEdit || isJfOperation" 208 :disabled="!viewEdit || isJfOperation"></el-input>
217 ></el-input>
218 </el-form-item> 209 </el-form-item>
219 </el-col> 210 </el-col>
220 211
...@@ -223,8 +214,7 @@ ...@@ -223,8 +214,7 @@
223 <el-date-picker 214 <el-date-picker
224 v-model="ruleForm.diyaq.zwlxqssj" 215 v-model="ruleForm.diyaq.zwlxqssj"
225 :disabled="!viewEdit || isJfOperation" 216 :disabled="!viewEdit || isJfOperation"
226 type="date" 217 type="date">
227 >
228 </el-date-picker> 218 </el-date-picker>
229 </el-form-item> 219 </el-form-item>
230 </el-col> 220 </el-col>
...@@ -233,8 +223,7 @@ ...@@ -233,8 +223,7 @@
233 <el-date-picker 223 <el-date-picker
234 v-model="ruleForm.diyaq.zwlxjssj" 224 v-model="ruleForm.diyaq.zwlxjssj"
235 :disabled="!viewEdit || isJfOperation" 225 :disabled="!viewEdit || isJfOperation"
236 type="date" 226 type="date">
237 >
238 </el-date-picker> 227 </el-date-picker>
239 </el-form-item> 228 </el-form-item>
240 </el-col> 229 </el-col>
...@@ -246,8 +235,7 @@ ...@@ -246,8 +235,7 @@
246 v-model="ruleForm.diyaq.dbfw" 235 v-model="ruleForm.diyaq.dbfw"
247 :disabled=" 236 :disabled="
248 (ruleForm.sldy.djlx == '300' && !viewEdit) || isJfOperation 237 (ruleForm.sldy.djlx == '300' && !viewEdit) || isJfOperation
249 " 238 "></el-input>
250 ></el-input>
251 </el-form-item> 239 </el-form-item>
252 </el-col> 240 </el-col>
253 </el-row> 241 </el-row>
...@@ -256,8 +244,7 @@ ...@@ -256,8 +244,7 @@
256 <el-form-item label="最高债权确定事实和数额:"> 244 <el-form-item label="最高债权确定事实和数额:">
257 <el-input 245 <el-input
258 v-model="ruleForm.diyaq.zgzqqdss" 246 v-model="ruleForm.diyaq.zgzqqdss"
259 :disabled="!viewEdit || isJfOperation" 247 :disabled="!viewEdit || isJfOperation"></el-input>
260 ></el-input>
261 </el-form-item> 248 </el-form-item>
262 </el-col> 249 </el-col>
263 </el-row> 250 </el-row>
...@@ -269,8 +256,7 @@ ...@@ -269,8 +256,7 @@
269 maxlength="500" 256 maxlength="500"
270 show-word-limit 257 show-word-limit
271 v-model="ruleForm.diyaq.fj" 258 v-model="ruleForm.diyaq.fj"
272 :disabled="!viewEdit || isJfOperation" 259 :disabled="!viewEdit || isJfOperation"></el-input>
273 ></el-input>
274 </el-form-item> 260 </el-form-item>
275 </el-col> 261 </el-col>
276 </el-row> 262 </el-row>
...@@ -284,8 +270,7 @@ ...@@ -284,8 +270,7 @@
284 <el-form-item label="共有方式:"> 270 <el-form-item label="共有方式:">
285 <el-radio-group 271 <el-radio-group
286 :disabled="!viewEdit" 272 :disabled="!viewEdit"
287 v-model="ruleForm.sldy.gyfs" 273 v-model="ruleForm.sldy.gyfs">
288 >
289 <el-radio label="0">单独所有</el-radio> 274 <el-radio label="0">单独所有</el-radio>
290 <el-radio label="1">共同共有</el-radio> 275 <el-radio label="1">共同共有</el-radio>
291 <el-radio label="2">按份所有</el-radio> 276 <el-radio label="2">按份所有</el-radio>
...@@ -298,8 +283,7 @@ ...@@ -298,8 +283,7 @@
298 <el-radio-group 283 <el-radio-group
299 v-model="ruleForm.sldy.sqfbcz" 284 v-model="ruleForm.sldy.sqfbcz"
300 :disabled="!viewEdit" 285 :disabled="!viewEdit"
301 @input="updaterow()" 286 @input="updaterow()">
302 >
303 <el-radio :label="1"></el-radio> 287 <el-radio :label="1"></el-radio>
304 <el-radio :label="0"></el-radio> 288 <el-radio :label="0"></el-radio>
305 </el-radio-group> 289 </el-radio-group>
...@@ -307,20 +291,17 @@ ...@@ -307,20 +291,17 @@
307 </el-col> 291 </el-col>
308 <el-col 292 <el-col
309 :span="6" 293 :span="6"
310 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'" 294 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
311 >
312 <el-form-item label="持证人:"> 295 <el-form-item label="持证人:">
313 <el-select 296 <el-select
314 v-model="czr" 297 v-model="czr"
315 placeholder="持证人" 298 placeholder="持证人"
316 :disabled="!viewEdit" 299 :disabled="!viewEdit">
317 >
318 <el-option 300 <el-option
319 v-for="item in czrOptions" 301 v-for="item in czrOptions"
320 :key="item.zjh" 302 :key="item.zjh"
321 :label="item.sqrmc" 303 :label="item.sqrmc"
322 :value="item.zjh" 304 :value="item.zjh">
323 >
324 </el-option> 305 </el-option>
325 </el-select> 306 </el-select>
326 </el-form-item> 307 </el-form-item>
...@@ -330,8 +311,7 @@ ...@@ -330,8 +311,7 @@
330 :tableData="ruleForm.qlrList" 311 :tableData="ruleForm.qlrList"
331 :disabled="viewEdit" 312 :disabled="viewEdit"
332 @upDateQlrxxList="upDateQlrxxList" 313 @upDateQlrxxList="upDateQlrxxList"
333 :gyfs="ruleForm.sldy.gyfs" 314 :gyfs="ruleForm.sldy.gyfs" />
334 />
335 <div class="slxx_title title-block"> 315 <div class="slxx_title title-block">
336 抵押人信息 316 抵押人信息
337 <div class="triangle"></div> 317 <div class="triangle"></div>
...@@ -339,8 +319,7 @@ ...@@ -339,8 +319,7 @@
339 <qlrCommonTable 319 <qlrCommonTable
340 :tableData="ruleForm.ywrList" 320 :tableData="ruleForm.ywrList"
341 :disabled="viewEdit" 321 :disabled="viewEdit"
342 @upDateQlrxxList="upDateYwrxxList" 322 @upDateQlrxxList="upDateYwrxxList" />
343 />
344 323
345 <div class="slxx_title title-block"> 324 <div class="slxx_title title-block">
346 登记原因 325 登记原因
...@@ -351,14 +330,12 @@ ...@@ -351,14 +330,12 @@
351 <el-form-item 330 <el-form-item
352 v-if="ruleForm.sldy.djlx == '400'" 331 v-if="ruleForm.sldy.djlx == '400'"
353 label="注销抵押原因:" 332 label="注销抵押原因:"
354 prop="djyy" 333 prop="djyy">
355 >
356 <el-input 334 <el-input
357 class="textArea" 335 class="textArea"
358 type="textarea" 336 type="textarea"
359 :disabled="!viewEdit" 337 :disabled="!viewEdit"
360 v-model="ruleForm.diyaq.zxdyyy" 338 v-model="ruleForm.diyaq.zxdyyy">
361 >
362 </el-input> 339 </el-input>
363 </el-form-item> 340 </el-form-item>
364 <el-form-item v-else label="登记原因:" prop="djyy"> 341 <el-form-item v-else label="登记原因:" prop="djyy">
...@@ -368,8 +345,7 @@ ...@@ -368,8 +345,7 @@
368 maxlength="500" 345 maxlength="500"
369 show-word-limit 346 show-word-limit
370 :disabled="!viewEdit" 347 :disabled="!viewEdit"
371 v-model="ruleForm.diyaq.djyy" 348 v-model="ruleForm.diyaq.djyy">
372 >
373 </el-input> 349 </el-input>
374 </el-form-item> 350 </el-form-item>
375 </el-col> 351 </el-col>
...@@ -384,169 +360,169 @@ ...@@ -384,169 +360,169 @@
384 </div> 360 </div>
385 </template> 361 </template>
386 <script> 362 <script>
387 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 363 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
388 import { Init, saveData } from "@/api/workflow/diyaqFlow.js"; 364 import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
389 import { mapGetters } from "vuex"; 365 import { mapGetters } from "vuex";
390 export default { 366 export default {
391 mounted() { 367 mounted () {
392 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 368 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
393 this.propsParam = this.$attrs; 369 this.propsParam = this.$attrs;
394 var formdata = new FormData(); 370 var formdata = new FormData();
395 if (this.propsParam.djlx == "400") { 371 if (this.propsParam.djlx == "400") {
396 this.isJfOperation = true; 372 this.isJfOperation = true;
397 }
398 this.$startLoading();
399 formdata.append("bsmSldy", this.propsParam.bsmSldy);
400 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
401 formdata.append("djlx", this.propsParam.djlx);
402 formdata.append("isEdit", this.viewEdit);
403 Init(formdata).then((res) => {
404 if (res.code === 200 && res.result) {
405 this.ruleForm = res.result;
406 this.czrOptions = this.ruleForm.qlrList;
407 } 373 }
408 this.ruleForm.qlrList.forEach((item) => { 374 this.$startLoading();
409 if (item.sfczr == 1) { 375 formdata.append("bsmSldy", this.propsParam.bsmSldy);
410 this.czr = item.sqrmc; 376 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
377 formdata.append("djlx", this.propsParam.djlx);
378 formdata.append("isEdit", this.viewEdit);
379 Init(formdata).then((res) => {
380 if (res.code === 200 && res.result) {
381 this.ruleForm = res.result;
382 this.czrOptions = this.ruleForm.qlrList;
411 } 383 }
412 }); 384 this.ruleForm.qlrList.forEach((item) => {
413 this.$endLoading(); 385 if (item.sfczr == 1) {
414 }); 386 this.czr = item.sqrmc;
415 }, 387 }
416 components: { qlrCommonTable },
417 computed: {
418 ...mapGetters(["dictData", "flag"]),
419 },
420 data() {
421 return {
422 //表单是否可操作
423 viewEdit: true,
424 disabled: true,
425 czrOptions: [],
426 czr: "",
427 ruleForm: {
428 slsq: {},
429 ssQlxx: {},
430 diyaq: {},
431 gyfs: "",
432 },
433 isJfOperation: false,
434 //传递参数
435 propsParam: {},
436 rules: {},
437 };
438 },
439 methods: {
440 /**
441 * @description: onSubmitClick
442 * @author: renchao
443 */
444 onSubmitClick() {
445 let that = this;
446 if (this.ruleForm.qlrList.length == 0) {
447 this.$message({
448 showClose: true,
449 message: "请确认抵押权人信息",
450 type: "error",
451 }); 388 });
452 return false; 389 this.$endLoading();
453 } 390 });
454 if (this.ruleForm.sldy.gyfs == "0") { 391 },
455 if (this.ruleForm.qlrList.length > 1) { 392 components: { qlrCommonTable },
456 this.$message({ 393 computed: {
457 showClose: true, 394 ...mapGetters(["dictData", "flag"]),
458 message: "共有方式:单独所有,权利人只能是一个人", 395 },
459 type: "error", 396 data () {
460 }); 397 return {
461 return false; 398 //表单是否可操作
462 } 399 viewEdit: true,
463 this.ruleForm.qlrList[0].sfczr = "1"; 400 disabled: true,
464 } else { 401 czrOptions: [],
465 if (this.ruleForm.qlrList.length <= 1) { 402 czr: "",
403 ruleForm: {
404 slsq: {},
405 ssQlxx: {},
406 diyaq: {},
407 gyfs: "",
408 },
409 isJfOperation: false,
410 //传递参数
411 propsParam: {},
412 rules: {},
413 };
414 },
415 methods: {
416 /**
417 * @description: onSubmitClick
418 * @author: renchao
419 */
420 onSubmitClick () {
421 let that = this;
422 if (this.ruleForm.qlrList.length == 0) {
466 this.$message({ 423 this.$message({
467 showClose: true, 424 showClose: true,
468 message: 425 message: "请确认抵押权人信息",
469 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
470 type: "error", 426 type: "error",
471 }); 427 });
472 return false; 428 return false;
473 } 429 }
474 //是否分别持证 430 if (this.ruleForm.sldy.gyfs == "0") {
475 if (this.ruleForm.sldy.sqfbcz == "1") { 431 if (this.ruleForm.qlrList.length > 1) {
476 //是 432 this.$message({
477 this.ruleForm.qlrList.forEach((item, index) => { 433 showClose: true,
478 item.sfczr = "1"; 434 message: "共有方式:单独所有,权利人只能是一个人",
479 }); 435 type: "error",
436 });
437 return false;
438 }
439 this.ruleForm.qlrList[0].sfczr = "1";
480 } else { 440 } else {
481 if (!that.czr) { 441 if (this.ruleForm.qlrList.length <= 1) {
482 that.$message({ 442 this.$message({
483 showClose: true, 443 showClose: true,
484 message: "请选择持证人", 444 message:
445 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
485 type: "error", 446 type: "error",
486 }); 447 });
487 return false; 448 return false;
488 } 449 }
489 this.ruleForm.qlrList.forEach((item, index) => { 450 //是否分别持证
490 if (item.zjh == this.czr) { 451 if (this.ruleForm.sldy.sqfbcz == "1") {
452 //是
453 this.ruleForm.qlrList.forEach((item, index) => {
491 item.sfczr = "1"; 454 item.sfczr = "1";
492 } else { 455 });
493 item.sfczr = "0"; 456 } else {
457 if (!that.czr) {
458 that.$message({
459 showClose: true,
460 message: "请选择持证人",
461 type: "error",
462 });
463 return false;
494 } 464 }
495 }); 465 this.ruleForm.qlrList.forEach((item, index) => {
466 if (item.zjh == this.czr) {
467 item.sfczr = "1";
468 } else {
469 item.sfczr = "0";
470 }
471 });
472 }
496 } 473 }
497 }
498 474
499 saveData(this.ruleForm, this.propsParam.djlx).then((res) => { 475 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
500 if (res.code === 200) { 476 if (res.code === 200) {
501 this.$message({ 477 this.$message({
502 showClose: true, 478 showClose: true,
503 message: "保存成功!", 479 message: "保存成功!",
504 type: "success", 480 type: "success",
505 }); 481 });
506 this.$store.dispatch("user/refreshPage", true); 482 this.$store.dispatch("user/refreshPage", true);
507 } else { 483 } else {
508 this.$message({ 484 this.$message({
509 showClose: true, 485 showClose: true,
510 message: res.message, 486 message: res.message,
511 type: "error", 487 type: "error",
512 }); 488 });
489 }
490 });
491 },
492 /**
493 * @description: 更新权利人信息
494 * @param {*} val
495 * @author: renchao
496 */
497 upDateQlrxxList (val) {
498 if (!_.isEqual(val, this.ruleForm.qlrList)) {
499 this.ruleForm.qlrList = _.cloneDeep(val);
500 this.czrOptions = this.ruleForm.qlrList;
513 } 501 }
514 }); 502 },
515 }, 503 // 是否持证人变化
516 /** 504 /**
517 * @description: 更新权利人信息 505 * @description: 是否持证人变化
518 * @param {*} val 506 * @param {*} val
519 * @author: renchao 507 * @author: renchao
520 */ 508 */
521 upDateQlrxxList(val) { 509 updaterow () {
522 if (!_.isEqual(val, this.ruleForm.qlrList)) { 510 this.czr = "";
523 this.ruleForm.qlrList = _.cloneDeep(val); 511 },
524 this.czrOptions = this.ruleForm.qlrList; 512 /**
525 } 513 * @description: 更新义务人信息
526 }, 514 * @param {*} val
527 // 是否持证人变化 515 * @author: renchao
528 /** 516 */
529 * @description: 是否持证人变化 517 upDateYwrxxList (val) {
530 * @param {*} val 518 if (!_.isEqual(val, this.ruleForm.ywrList)) {
531 * @author: renchao 519 this.ruleForm.ywrList = _.cloneDeep(val);
532 */ 520 }
533 updaterow() { 521 },
534 this.czr = "";
535 },
536 /**
537 * @description: 更新义务人信息
538 * @param {*} val
539 * @author: renchao
540 */
541 upDateYwrxxList(val) {
542 if (!_.isEqual(val, this.ruleForm.ywrList)) {
543 this.ruleForm.ywrList = _.cloneDeep(val);
544 }
545 }, 522 },
546 }, 523 };
547 };
548 </script> 524 </script>
549 <style scoped lang="scss"> 525 <style scoped lang="scss">
550 @import "~@/styles/public.scss"; 526 @import "~@/styles/public.scss";
551 @import "~@/styles/slxx/slxx.scss"; 527 @import "~@/styles/slxx/slxx.scss";
552 </style> 528 </style>
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-09-01 13:23:30 4 * @LastEditTime: 2023-09-05 15:48:55
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -353,8 +353,6 @@ ...@@ -353,8 +353,6 @@
353 this.czrOptions = this.ruleForm.qlrList; 353 this.czrOptions = this.ruleForm.qlrList;
354 this.key++; 354 this.key++;
355 }, 355 },
356
357 // 是否持证人变化
358 /** 356 /**
359 * @description: 是否持证人变化 357 * @description: 是否持证人变化
360 * @param {*} val 358 * @param {*} val
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-01 13:40:52 4 * @LastEditTime: 2023-09-05 15:53:51
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -378,8 +378,7 @@ ...@@ -378,8 +378,7 @@
378 v-if="ruleForm.qlxx" 378 v-if="ruleForm.qlxx"
379 @upDateQlrxxList="upDateYwrxxList" 379 @upDateQlrxxList="upDateYwrxxList"
380 :tableData="ruleForm.ywrList" 380 :tableData="ruleForm.ywrList"
381 :disabled="viewEdit" 381 :disabled="viewEdit" />
382 />
383 </div> 382 </div>
384 <div class="slxx_title title-block"> 383 <div class="slxx_title title-block">
385 登记原因 384 登记原因
...@@ -443,7 +442,7 @@ ...@@ -443,7 +442,7 @@
443 } 442 }
444 }); 443 });
445 }, 444 },
446 components: { qlrCommonTable, tdytTable }, 445 components: { qlrCommonTable, tdytTable, ywrCommonTable },
447 computed: { 446 computed: {
448 ...mapGetters(["dictData", "flag"]), 447 ...mapGetters(["dictData", "flag"]),
449 }, 448 },
......