1c532392 by renchao@pashanhoo.com

在建工程抵押权

1 parent 85d54a9d
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
7 :label-position="flag ? 'top' : ''" 7 :label-position="flag ? 'top' : ''"
8 :inline="flag" 8 :inline="flag"
9 ref="ruleForm" 9 ref="ruleForm"
10 label-width="140px" 10 label-width="140px">
11 >
12 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 11 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
13 <div class="slxx_title title-block"> 12 <div class="slxx_title title-block">
14 申请业务信息 13 申请业务信息
...@@ -36,16 +35,14 @@ ...@@ -36,16 +35,14 @@
36 <el-form-item label="权利类型:"> 35 <el-form-item label="权利类型:">
37 <el-input 36 <el-input
38 disabled 37 disabled
39 v-model="ruleForm.sldyList[0].qllxmc" 38 v-model="ruleForm.sldyList[0].qllxmc"></el-input>
40 ></el-input>
41 </el-form-item> 39 </el-form-item>
42 </el-col> 40 </el-col>
43 <el-col :span="8"> 41 <el-col :span="8">
44 <el-form-item label="登记类型:"> 42 <el-form-item label="登记类型:">
45 <el-input 43 <el-input
46 disabled 44 disabled
47 v-model="ruleForm.sldyList[0].djlxmc" 45 v-model="ruleForm.sldyList[0].djlxmc"></el-input>
48 ></el-input>
49 </el-form-item> 46 </el-form-item>
50 </el-col> 47 </el-col>
51 <el-col :span="8"> 48 <el-col :span="8">
...@@ -57,8 +54,7 @@ ...@@ -57,8 +54,7 @@
57 54
58 <div 55 <div
59 class="slxx_title title-block" 56 class="slxx_title title-block"
60 v-if="ruleForm.slsq.djywbm.includes('400')" 57 v-if="ruleForm.slsq.djywbm.includes('400')">
61 >
62 在建工程抵押信息列表({{ ruleForm.qlxxList.length }} 户) 58 在建工程抵押信息列表({{ ruleForm.qlxxList.length }} 户)
63 <div class="triangle"></div> 59 <div class="triangle"></div>
64 </div> 60 </div>
...@@ -68,8 +64,7 @@ ...@@ -68,8 +64,7 @@
68 </div> 64 </div>
69 <qlxxTable 65 <qlxxTable
70 :tableData="ruleForm.qlxxList" 66 :tableData="ruleForm.qlxxList"
71 v-if="ruleForm.slsq.djywbm.includes('400')" 67 v-if="ruleForm.slsq.djywbm.includes('400')" />
72 />
73 <qjhTable v-else :tableData="ruleForm.hlist" /> 68 <qjhTable v-else :tableData="ruleForm.hlist" />
74 <div class="slxx_title title-block"> 69 <div class="slxx_title title-block">
75 抵押信息 70 抵押信息
...@@ -77,8 +72,7 @@ ...@@ -77,8 +72,7 @@
77 </div> 72 </div>
78 <el-row 73 <el-row
79 :gutter="10" 74 :gutter="10"
80 v-if="ruleForm.diyaqList && ruleForm.diyaqList.length > 0" 75 v-if="ruleForm.diyaqList && ruleForm.diyaqList.length > 0">
81 >
82 <el-col :span="8"> 76 <el-col :span="8">
83 <el-form-item label="抵押方式:"> 77 <el-form-item label="抵押方式:">
84 <el-radio-group disabled v-model="ruleForm.diyaqList[0].dyfs"> 78 <el-radio-group disabled v-model="ruleForm.diyaqList[0].dyfs">
...@@ -91,8 +85,7 @@ ...@@ -91,8 +85,7 @@
91 <el-form-item label="抵押金额类型:"> 85 <el-form-item label="抵押金额类型:">
92 <el-radio-group 86 <el-radio-group
93 v-model="ruleForm.diyaqList[0].dyjelx" 87 v-model="ruleForm.diyaqList[0].dyjelx"
94 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 88 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')">
95 >
96 <el-radio label="0">独立抵押</el-radio> 89 <el-radio label="0">独立抵押</el-radio>
97 <el-radio label="1">整体抵押</el-radio> 90 <el-radio label="1">整体抵押</el-radio>
98 </el-radio-group> 91 </el-radio-group>
...@@ -102,12 +95,10 @@ ...@@ -102,12 +95,10 @@
102 <el-form-item 95 <el-form-item
103 label="是否禁止或者限制转让约定:" 96 label="是否禁止或者限制转让约定:"
104 label-width="200px" 97 label-width="200px"
105 prop="diyaqList[0].sfczjzhxz" 98 prop="diyaqList[0].sfczjzhxz">
106 >
107 <el-radio-group 99 <el-radio-group
108 v-model="ruleForm.diyaqList[0].sfczjzhxz" 100 v-model="ruleForm.diyaqList[0].sfczjzhxz"
109 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 101 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')">
110 >
111 <el-radio label="1">启用</el-radio> 102 <el-radio label="1">启用</el-radio>
112 <el-radio label="0">禁用</el-radio> 103 <el-radio label="0">禁用</el-radio>
113 </el-radio-group> 104 </el-radio-group>
...@@ -116,29 +107,24 @@ ...@@ -116,29 +107,24 @@
116 </el-row> 107 </el-row>
117 <el-row 108 <el-row
118 :gutter="10" 109 :gutter="10"
119 v-if="ruleForm.diyaqList && ruleForm.diyaqList.length > 0" 110 v-if="ruleForm.diyaqList && ruleForm.diyaqList.length > 0">
120 >
121 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> 111 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1">
122 <el-form-item 112 <el-form-item
123 label="被担保主债权数额:" 113 label="被担保主债权数额:"
124 prop="diyaqList[0].bdbzzqse" 114 prop="diyaqList[0].bdbzzqse">
125 >
126 <div style="display: flex"> 115 <div style="display: flex">
127 <el-input 116 <el-input
128 v-model="ruleForm.diyaqList[0].bdbzzqse" 117 v-model="ruleForm.diyaqList[0].bdbzzqse"
129 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 118 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')"></el-input>
130 ></el-input>
131 <el-select 119 <el-select
132 style="width: 68px" 120 style="width: 68px"
133 v-model="ruleForm.diyaqList[0].jedw" 121 v-model="ruleForm.diyaqList[0].jedw"
134 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 122 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')">
135 >
136 <el-option 123 <el-option
137 v-for="item in dictData['A57']" 124 v-for="item in dictData['A57']"
138 :key="item.dcode" 125 :key="item.dcode"
139 :label="item.dname" 126 :label="item.dname"
140 :value="item.dcode" 127 :value="item.dcode">
141 >
142 </el-option> 128 </el-option>
143 </el-select> 129 </el-select>
144 </div> 130 </div>
...@@ -149,18 +135,15 @@ ...@@ -149,18 +135,15 @@
149 <el-form-item label="最高债权额:" prop="diyaqList[0].zgzqse"> 135 <el-form-item label="最高债权额:" prop="diyaqList[0].zgzqse">
150 <el-input 136 <el-input
151 v-model="ruleForm.diyaqList[0].zgzqse" 137 v-model="ruleForm.diyaqList[0].zgzqse"
152 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 138 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')"></el-input>
153 ></el-input>
154 <el-select 139 <el-select
155 v-model="ruleForm.diyaqList[0].jedw" 140 v-model="ruleForm.diyaqList[0].jedw"
156 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 141 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')">
157 >
158 <el-option 142 <el-option
159 v-for="item in dictData['A57']" 143 v-for="item in dictData['A57']"
160 :key="item.dcode" 144 :key="item.dcode"
161 :label="item.dname" 145 :label="item.dname"
162 :value="item.dcode" 146 :value="item.dcode">
163 >
164 </el-option> 147 </el-option>
165 </el-select> 148 </el-select>
166 </el-form-item> 149 </el-form-item>
...@@ -169,26 +152,22 @@ ...@@ -169,26 +152,22 @@
169 <el-col :span="8"> 152 <el-col :span="8">
170 <el-form-item 153 <el-form-item
171 label="债务履行起始时间:" 154 label="债务履行起始时间:"
172 prop="diyaqList[0].zwlxqssj" 155 prop="diyaqList[0].zwlxqssj">
173 >
174 <el-date-picker 156 <el-date-picker
175 v-model="ruleForm.diyaqList[0].zwlxqssj" 157 v-model="ruleForm.diyaqList[0].zwlxqssj"
176 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 158 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')"
177 type="date" 159 type="date">
178 >
179 </el-date-picker> 160 </el-date-picker>
180 </el-form-item> 161 </el-form-item>
181 </el-col> 162 </el-col>
182 <el-col :span="8"> 163 <el-col :span="8">
183 <el-form-item 164 <el-form-item
184 label="债务履行结束时间:" 165 label="债务履行结束时间:"
185 prop="diyaqList[0].zwlxjssj" 166 prop="diyaqList[0].zwlxjssj">
186 >
187 <el-date-picker 167 <el-date-picker
188 v-model="ruleForm.diyaqList[0].zwlxjssj" 168 v-model="ruleForm.diyaqList[0].zwlxjssj"
189 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 169 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')"
190 type="date" 170 type="date">
191 >
192 </el-date-picker> 171 </el-date-picker>
193 </el-form-item> 172 </el-form-item>
194 </el-col> 173 </el-col>
...@@ -199,8 +178,7 @@ ...@@ -199,8 +178,7 @@
199 <el-form-item label="担保范围:"> 178 <el-form-item label="担保范围:">
200 <el-input 179 <el-input
201 v-model="ruleForm.diyaqList[0].dbfw" 180 v-model="ruleForm.diyaqList[0].dbfw"
202 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 181 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')"></el-input>
203 ></el-input>
204 </el-form-item> 182 </el-form-item>
205 </el-col> 183 </el-col>
206 </el-row> 184 </el-row>
...@@ -208,12 +186,10 @@ ...@@ -208,12 +186,10 @@
208 <el-col :span="24"> 186 <el-col :span="24">
209 <el-form-item 187 <el-form-item
210 label="最高债权确定事实和数额:" 188 label="最高债权确定事实和数额:"
211 prop="diyaqList[0].zgzqqdss" 189 prop="diyaqList[0].zgzqqdss">
212 >
213 <el-input 190 <el-input
214 v-model="ruleForm.diyaqList[0].zgzqqdss" 191 v-model="ruleForm.diyaqList[0].zgzqqdss"
215 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 192 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')"></el-input>
216 ></el-input>
217 </el-form-item> 193 </el-form-item>
218 </el-col> 194 </el-col>
219 </el-row> 195 </el-row>
...@@ -225,8 +201,7 @@ ...@@ -225,8 +201,7 @@
225 maxlength="500" 201 maxlength="500"
226 show-word-limit 202 show-word-limit
227 v-model="ruleForm.diyaqList[0].fj" 203 v-model="ruleForm.diyaqList[0].fj"
228 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')" 204 :disabled="!viewEdit || ruleForm.slsq.djywbm.includes('400')"></el-input>
229 ></el-input>
230 </el-form-item> 205 </el-form-item>
231 </el-col> 206 </el-col>
232 </el-row> 207 </el-row>
...@@ -237,14 +212,12 @@ ...@@ -237,14 +212,12 @@
237 </div> 212 </div>
238 <el-row 213 <el-row
239 :gutter="10" 214 :gutter="10"
240 v-if="ruleForm.sldyList && ruleForm.sldyList.length > 0" 215 v-if="ruleForm.sldyList && ruleForm.sldyList.length > 0">
241 >
242 <el-col :span="14"> 216 <el-col :span="14">
243 <el-form-item label="共有方式:"> 217 <el-form-item label="共有方式:">
244 <el-radio-group 218 <el-radio-group
245 :disabled="!viewEdit" 219 :disabled="!viewEdit"
246 v-model="ruleForm.sldyList[0].gyfs" 220 v-model="ruleForm.sldyList[0].gyfs">
247 >
248 <el-radio label="0">单独所有</el-radio> 221 <el-radio label="0">单独所有</el-radio>
249 <el-radio label="1">共同共有</el-radio> 222 <el-radio label="1">共同共有</el-radio>
250 <el-radio label="2">按份所有</el-radio> 223 <el-radio label="2">按份所有</el-radio>
...@@ -257,8 +230,7 @@ ...@@ -257,8 +230,7 @@
257 <el-radio-group 230 <el-radio-group
258 v-model="ruleForm.sldyList[0].sqfbcz" 231 v-model="ruleForm.sldyList[0].sqfbcz"
259 :disabled="!viewEdit" 232 :disabled="!viewEdit"
260 @input="updaterow()" 233 @input="updaterow()">
261 >
262 <el-radio :label="1"></el-radio> 234 <el-radio :label="1"></el-radio>
263 <el-radio :label="0"></el-radio> 235 <el-radio :label="0"></el-radio>
264 </el-radio-group> 236 </el-radio-group>
...@@ -269,20 +241,17 @@ ...@@ -269,20 +241,17 @@
269 v-show=" 241 v-show="
270 ruleForm.sldyList[0].gyfs != '0' && 242 ruleForm.sldyList[0].gyfs != '0' &&
271 ruleForm.sldyList[0].sqfbcz == '0' 243 ruleForm.sldyList[0].sqfbcz == '0'
272 " 244 ">
273 >
274 <el-form-item label="持证人:"> 245 <el-form-item label="持证人:">
275 <el-select 246 <el-select
276 v-model="czr" 247 v-model="czr"
277 placeholder="持证人" 248 placeholder="持证人"
278 :disabled="!viewEdit" 249 :disabled="!viewEdit">
279 >
280 <el-option 250 <el-option
281 v-for="(item, index) in czrOptions" 251 v-for="(item, index) in czrOptions"
282 :key="index" 252 :key="index"
283 :label="item.sqrmc" 253 :label="item.sqrmc"
284 :value="item.id" 254 :value="item.id">
285 >
286 </el-option> 255 </el-option>
287 </el-select> 256 </el-select>
288 </el-form-item> 257 </el-form-item>
...@@ -293,8 +262,7 @@ ...@@ -293,8 +262,7 @@
293 :tableData="ruleForm.qlrList" 262 :tableData="ruleForm.qlrList"
294 @upDateQlrxxList="upDateQlrxxList" 263 @upDateQlrxxList="upDateQlrxxList"
295 :disabled="viewEdit" 264 :disabled="viewEdit"
296 :gyfs="ruleForm.sldyList[0].gyfs" 265 :gyfs="ruleForm.sldyList[0].gyfs" />
297 />
298 <div class="slxx_title title-block"> 266 <div class="slxx_title title-block">
299 抵押人信息 267 抵押人信息
300 <div class="triangle"></div> 268 <div class="triangle"></div>
...@@ -302,8 +270,7 @@ ...@@ -302,8 +270,7 @@
302 <qlrCommonTable 270 <qlrCommonTable
303 :tableData="ruleForm.ywrList" 271 :tableData="ruleForm.ywrList"
304 @upDateQlrxxList="upDateYwrxxList" 272 @upDateQlrxxList="upDateYwrxxList"
305 :disabled="viewEdit" 273 :disabled="viewEdit" />
306 />
307 274
308 <div class="slxx_title title-block"> 275 <div class="slxx_title title-block">
309 登记原因 276 登记原因
...@@ -311,31 +278,27 @@ ...@@ -311,31 +278,27 @@
311 </div> 278 </div>
312 <el-row 279 <el-row
313 :gutter="10" 280 :gutter="10"
314 v-if="ruleForm.diyaqList && ruleForm.diyaqList.length > 0" 281 v-if="ruleForm.diyaqList && ruleForm.diyaqList.length > 0">
315 >
316 <el-col> 282 <el-col>
317 <el-form-item 283 <el-form-item
318 v-if="ruleForm.sldyList[0].djlx == '400'" 284 v-if="ruleForm.sldyList[0].djlx == '400'"
319 label="注销抵押原因:" 285 label="注销抵押原因:"
320 prop="diyaqList[0].zxdyyy" 286 :prop="'diyaqList.'+0+'.zxdyyy'" :rules="{ required: true, message: '请输入注销抵押原因', trigger: 'blur' }">
321 >
322 <el-input 287 <el-input
323 class="textArea" 288 class="textArea"
324 type="textarea" 289 type="textarea"
325 :disabled="!viewEdit" 290 :disabled="!viewEdit"
326 v-model="ruleForm.diyaqList[0].zxdyyy" 291 v-model="ruleForm.diyaqList[0].zxdyyy">
327 >
328 </el-input> 292 </el-input>
329 </el-form-item> 293 </el-form-item>
330 <el-form-item v-else label="登记原因:" prop="diyaqList[0].djyy"> 294 <el-form-item v-else label="登记原因:" :prop="'diyaqList.'+0+'.djyy'" :rules="{ required: true, message: '请输入注销抵押原因', trigger: 'blur' }">
331 <el-input 295 <el-input
332 class="textArea" 296 class="textArea"
333 type="textarea" 297 type="textarea"
334 maxlength="500" 298 maxlength="500"
335 show-word-limit 299 show-word-limit
336 :disabled="!viewEdit" 300 :disabled="!viewEdit"
337 v-model="ruleForm.diyaqList[0].djyy" 301 v-model="ruleForm.diyaqList[0].djyy">
338 >
339 </el-input> 302 </el-input>
340 </el-form-item> 303 </el-form-item>
341 </el-col> 304 </el-col>
...@@ -350,14 +313,14 @@ ...@@ -350,14 +313,14 @@
350 </div> 313 </div>
351 </template> 314 </template>
352 <script> 315 <script>
353 import qjhTable from "../commonTable/qjhTable"; 316 import qjhTable from "../commonTable/qjhTable";
354 import qlxxTable from "../commonTable/qlxxTable.vue"; 317 import qlxxTable from "../commonTable/qlxxTable.vue";
355 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 318 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
356 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; 319 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js";
357 import { formValidate } from "./bacthSlxxValidate"; 320 import { formValidate } from "./bacthSlxxValidate";
358 import { mapGetters } from "vuex"; 321 import { mapGetters } from "vuex";
359 export default { 322 export default {
360 mounted() { 323 mounted () {
361 let that = this; 324 let that = this;
362 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 325 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
363 this.propsParam = this.$attrs; 326 this.propsParam = this.$attrs;
...@@ -403,7 +366,7 @@ export default { ...@@ -403,7 +366,7 @@ export default {
403 computed: { 366 computed: {
404 ...mapGetters(["dictData", "flag"]), 367 ...mapGetters(["dictData", "flag"]),
405 }, 368 },
406 data() { 369 data () {
407 return { 370 return {
408 isSave: true, 371 isSave: true,
409 loading: false, 372 loading: false,
...@@ -415,20 +378,16 @@ export default { ...@@ -415,20 +378,16 @@ export default {
415 ruleForm: {}, 378 ruleForm: {},
416 //传递参数 379 //传递参数
417 propsParam: {}, 380 propsParam: {},
418 rules: { 381 rules: {},
419 'diyaqList[0].djyy': [ 382 tableData: []
420 { required: true, message: '请输入登记原因', trigger: 'blur' } 383 }
421 ]
422 },
423 tableData: [],
424 };
425 }, 384 },
426 methods: { 385 methods: {
427 /** 386 /**
428 * @description: onSubmitClick 387 * @description: onSubmitClick
429 * @author: renchao 388 * @author: renchao
430 */ 389 */
431 onSubmitClick() { 390 onSubmitClick () {
432 let that = this; 391 let that = this;
433 if (this.ruleForm.qlrList.length == 0) { 392 if (this.ruleForm.qlrList.length == 0) {
434 this.$message({ 393 this.$message({
...@@ -516,7 +475,7 @@ export default { ...@@ -516,7 +475,7 @@ export default {
516 * @param {*} val 475 * @param {*} val
517 * @author: renchao 476 * @author: renchao
518 */ 477 */
519 updaterow() { 478 updaterow () {
520 this.czr = ""; 479 this.czr = "";
521 }, 480 },
522 /** 481 /**
...@@ -524,7 +483,7 @@ export default { ...@@ -524,7 +483,7 @@ export default {
524 * @param {*} val 483 * @param {*} val
525 * @author: renchao 484 * @author: renchao
526 */ 485 */
527 upDateQlrxxList(val) { 486 upDateQlrxxList (val) {
528 if (!_.isEqual(val, this.ruleForm.qlrList)) { 487 if (!_.isEqual(val, this.ruleForm.qlrList)) {
529 this.ruleForm.qlrList = _.cloneDeep(val); 488 this.ruleForm.qlrList = _.cloneDeep(val);
530 this.czrOptions = this.ruleForm.qlrList; 489 this.czrOptions = this.ruleForm.qlrList;
...@@ -544,15 +503,15 @@ export default { ...@@ -544,15 +503,15 @@ export default {
544 * @param {*} val 503 * @param {*} val
545 * @author: renchao 504 * @author: renchao
546 */ 505 */
547 upDateYwrxxList(val) { 506 upDateYwrxxList (val) {
548 if (!_.isEqual(val, this.ruleForm.ywrList)) { 507 if (!_.isEqual(val, this.ruleForm.ywrList)) {
549 this.ruleForm.ywrList = _.cloneDeep(val); 508 this.ruleForm.ywrList = _.cloneDeep(val);
550 } 509 }
551 }, 510 },
552 }, 511 },
553 }; 512 };
554 </script> 513 </script>
555 <style scoped lang="scss"> 514 <style scoped lang="scss">
556 @import "~@/styles/public.scss"; 515 @import "~@/styles/public.scss";
557 @import "~@/styles/slxx/slxx.scss"; 516 @import "~@/styles/slxx/slxx.scss";
558 </style> 517 </style>
......