Blame view

src/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue 19.9 KB
xiaomiao committed
1 2 3
<!--
 * @Description:
 * @Autor: renchao
4
 * @LastEditTime: 2023-11-13 14:31:09
xiaomiao committed
5 6 7 8 9 10 11
-->
<template>
  <!-- 受理信息 -->
  <div class="slxx">
    <el-form
      :model="ruleForm"
      :rules="rules"
xiaomiao committed
12
      :class="{ readonly: editDisabled }"
13
      v-Loading="loading"
xiaomiao committed
14 15 16
      ref="ruleForm"
      :label-position="flag ? 'top' : ''"
      :inline="flag"
xiaomiao committed
17
      label-width="170px"
xiaomiao committed
18
      inline-message
19
      :show-message="false">
xiaomiao committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
      <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
        <div class="slxx_title title-block">
          补录信息
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="补录编号:">
              <el-input disabled v-model="ruleForm.repair.ywh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="补录人员:">
              <el-input disabled v-model="ruleForm.repair.slry"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="补录时间:">
              <el-input disabled v-model="ruleForm.repair.slsj"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
42
        <div class="slxx_title title-block bdcqk">
43
          抵押不动产情况
44
          <div class="count">
xiaomiao committed
45 46 47
            <el-form-item
              label="抵押不动产信息:"
              prop="ztQlxx.bdcqzh"
48
              style="display:flex"
49
              :rules="rules.ztQlxxrules">
xiaomiao committed
50 51 52 53
              <select-table
                v-model="ruleForm.ztQlxx"
                :tableData="ztQlxxList"
                :props="props"
54
                @change="ztQlxxchange">
xiaomiao committed
55 56 57
                <el-table-column
                  prop="qllxmc"
                  width="130"
58
                  label="权利类型"></el-table-column>
xiaomiao committed
59 60 61
                <el-table-column
                  prop="bdcqzh"
                  width="160"
62
                  label="不动产权证书"></el-table-column>
xiaomiao committed
63
                <el-table-column
xiaomiao committed
64
                  prop="qlrmc"
65
                  label="被执行人"></el-table-column>
xiaomiao committed
66 67 68 69 70
                <el-table-column prop="mjmc" label="面积"></el-table-column>
                <el-table-column prop="ytmc" label="用途"></el-table-column>
                <el-table-column prop="zl" label="坐落"></el-table-column>
              </select-table>
            </el-form-item>
xiaomiao committed
71 72 73
          </div>
          <div class="triangle"></div>
        </div>
xiaomiao committed
74
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
tianhaohao@pashanhoo.com committed
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
          <el-col :span="8">
            <el-form-item label="权利人:">
              <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="证件种类:">
              <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="证件号:">
              <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
91
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
tianhaohao@pashanhoo.com committed
92 93 94 95 96 97 98 99 100 101 102 103
          <el-col :span="8">
            <el-form-item label="权利类型:">
              <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="不动产权证号:">
              <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="坐落:">
xiaomiao committed
104
              <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
tianhaohao@pashanhoo.com committed
105 106 107
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
108
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
tianhaohao@pashanhoo.com committed
109 110 111 112 113 114 115
          <el-col :span="8">
            <el-form-item label="不动产单元号:">
              <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="面积:">
116
              <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input>
tianhaohao@pashanhoo.com committed
117 118 119 120 121 122 123 124
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="用途:">
              <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
125
        <div class="slxx_title title-block bdcqk">
tianhaohao@pashanhoo.com committed
126
          抵押权信息
127
          <div class="count" v-if="ssqlxxshow">
xiaomiao committed
128 129 130
            <el-form-item
              label="上手权利信息:"
              prop="ssQlxx.bdcqzh"
131
              :rules="rules.ssQlxxrules">
xiaomiao committed
132 133 134 135
              <select-table
                v-model="ruleForm.ssQlxx"
                :tableData="ssQlxxList"
                :props="props"
136
                @change="ssQlxxchange">
xiaomiao committed
137 138 139
                <el-table-column
                  prop="qllxmc"
                  width="130"
140
                  label="权利类型"></el-table-column>
xiaomiao committed
141 142 143
                <el-table-column
                  prop="bdcqzh"
                  width="160"
144
                  label="不动产权证书"></el-table-column>
xiaomiao committed
145 146 147 148 149 150 151
                <el-table-column prop="qlrmc" label="权利人"></el-table-column>
                <el-table-column prop="mjmc" label="面积"></el-table-column>
                <el-table-column prop="ytmc" label="用途"></el-table-column>
                <el-table-column prop="zl" label="坐落"></el-table-column>
              </select-table>
            </el-form-item>
          </div>
xiaomiao committed
152 153
          <div class="triangle"></div>
        </div>
xiaomiao committed
154

xiaomiao committed
155 156 157 158 159 160 161 162 163 164 165 166
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="不动产单元号:">
              <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="权利类型:">
              <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
167 168 169
            <el-form-item
              label="登记类型:"
              prop="qlxx.djlx"
170
              :rules="rules.djlxrules">
xiaomiao committed
171
              <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
xiaomiao committed
172 173 174 175
                <el-option
                  v-for="item in djlxlist"
                  :key="item.dcode"
                  :label="item.dname"
176
                  :value="item.dcode"></el-option>
xiaomiao committed
177 178 179
              </el-select>
            </el-form-item>
          </el-col>
xiaomiao committed
180 181
        </el-row>
        <el-row :gutter="10">
xiaomiao committed
182
          <el-col :span="8">
xiaomiao committed
183 184 185 186 187 188
            <el-form-item label="权属状态:">
              <el-select v-model="ruleForm.qlxx.qszt">
                <el-option
                  v-for="item in qsztlist"
                  :key="item.dcode"
                  :label="item.dname"
189
                  :value="item.dcode"></el-option>
xiaomiao committed
190
              </el-select>
xiaomiao committed
191 192 193
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
194 195 196
            <el-form-item
              label="业务号:"
              prop="qlxx.ywh"
197
              :rules="rules.ywhrules">
xiaomiao committed
198
              <el-input maxlength="20" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');" v-model="ruleForm.qlxx.ywh"></el-input>
xiaomiao committed
199 200 201
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
202 203
            <el-form-item label="上手业务号:">
              <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input>
xiaomiao committed
204 205
            </el-form-item>
          </el-col>
xiaomiao committed
206 207
        </el-row>
        <el-row :gutter="10">
xiaomiao committed
208
          <el-col :span="8">
xiaomiao committed
209 210 211 212 213
            <el-form-item label="抵押金额类型:">
              <el-radio-group v-model="ruleForm.diyaq.dyjelx">
                <el-radio label="0">独立抵押金额</el-radio>
                <el-radio label="1">整体抵押金额</el-radio>
              </el-radio-group>
xiaomiao committed
214 215 216
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
217 218 219 220 221
            <el-form-item label="抵押方式:">
              <el-radio-group v-model="ruleForm.diyaq.dyfs">
                <el-radio label="1">一般抵押</el-radio>
                <el-radio label="2">最高额抵押</el-radio>
              </el-radio-group>
xiaomiao committed
222 223
            </el-form-item>
          </el-col>
xiaomiao committed
224 225 226 227 228 229
          <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
            <el-form-item label="最高债权额:">
              <div style="display: flex">
                <el-input
                  v-model="ruleForm.diyaq.zgzqse"
                  style="width: 500%"
230
                  oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
xiaomiao committed
231 232 233 234 235
                <el-select v-model="ruleForm.diyaq.jedw">
                  <el-option
                    v-for="item in dictData['A57']"
                    :key="item.dcode"
                    :label="item.dname"
236
                    :value="item.dcode"></el-option>
xiaomiao committed
237 238
                </el-select>
              </div>
xiaomiao committed
239 240
            </el-form-item>
          </el-col>
xiaomiao committed
241 242 243 244
          <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
            <el-form-item label="被担保主债权数额:">
              <div style="display: flex">
                <el-input
245
                  maxlength="11"
xiaomiao committed
246 247
                  v-model="ruleForm.diyaq.bdbzzqse"
                  style="width: 500%"
248
                  oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
xiaomiao committed
249 250 251 252 253
                <el-select v-model="ruleForm.diyaq.jedw">
                  <el-option
                    v-for="item in dictData['A57']"
                    :key="item.dcode"
                    :label="item.dname"
254
                    :value="item.dcode"></el-option>
xiaomiao committed
255 256
                </el-select>
              </div>
xiaomiao committed
257 258
            </el-form-item>
          </el-col>
xiaomiao committed
259
        </el-row>
xiaomiao committed
260
        <el-row :gutter="10">
261 262 263
          <el-col :span="8">
            <el-form-item label="抵押面积:">
              <div class="flex">
xiaomiao committed
264
                <el-input
xiaomiao committed
265
                  maxlength="13"
xiaomiao committed
266
                  v-model="ruleForm.diyaq.dymj"
267
                  oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
268
                <el-select v-model="ruleForm.diyaq.mjdw" style="width: 68px">
xiaomiao committed
269 270 271 272
                  <el-option
                    v-for="item in dictData['A7']"
                    :key="item.dcode"
                    :label="item.dname"
273
                    :value="item.dcode">
xiaomiao committed
274 275 276
                  </el-option>
                </el-select>
              </div>
277 278
            </el-form-item>
          </el-col>
xiaomiao committed
279

280 281 282 283
          <el-col :span="8">
            <el-form-item
              label="债务履行起始时间:"
              prop="diyaq.zwlxqssj"
284
              :rules="rules.zwlxqssjrules">
285 286
              <el-date-picker
                v-model="ruleForm.diyaq.zwlxqssj"
赵千 committed
287
                type="date"
288
                placeholder="选择日期"
赵千 committed
289 290
                value-format="yyyy-MM-dd"
                format="yyyy-MM-dd">
291 292 293 294 295 296 297
              </el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item
              label="债务履行结束时间:"
              prop="diyaq.zwlxjssj"
298
              :rules="rules.zwlxjssjrules">
299 300
              <el-date-picker
                v-model="ruleForm.diyaq.zwlxjssj"
赵千 committed
301
                type="date"
302
                placeholder="选择日期"
赵千 committed
303 304
                value-format="yyyy-MM-dd"
                format="yyyy-MM-dd">
305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
              </el-date-picker>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="在建建筑物坐落:">
              <el-input v-model="ruleForm.qlxx.zl"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="在建建筑物抵押范围:">
              <el-input v-model="ruleForm.diyaq.zjjzwdyfw"></el-input>
            </el-form-item>
          </el-col>
xiaomiao committed
320

321 322 323 324 325 326 327
          <el-col :span="8">
            <el-form-item label="担保范围:">
              <el-input v-model="ruleForm.diyaq.dbfw"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="债务履行期限(确定期间):">
xiaomiao committed
328
              <el-input maxlength="10" v-model="ruleForm.diyaq.dyqx"></el-input>
329 330
            </el-form-item>
          </el-col>
xiaomiao committed
331

332 333 334 335 336 337 338 339 340 341 342 343
          <el-col :span="8">
            <el-form-item label="最高债权确定事实和数额:">
              <el-input v-model="ruleForm.diyaq.zgzqqdss"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="是否限制转移约定:">
              <el-select v-model="ruleForm.diyaq.sfczjzhxz">
                <el-option
                  v-for="item in dictData['A6']"
                  :key="item.dcode"
                  :label="item.dname"
344
                  :value="item.dcode">
345 346 347 348 349 350 351 352
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item
              label="不动产登记证明号:"
              prop="qlxx.bdcqzh"
353
              :rules="rules.bdcqzhrules">
354 355 356
              <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
            </el-form-item>
          </el-col>
xiaomiao committed
357

358 359 360 361
          <el-col :span="8">
            <el-form-item
              label="登记机构:"
              prop="qlxx.djjg"
362
              :rules="rules.djjgrules">
363 364 365 366 367 368 369
              <el-input v-model="ruleForm.qlxx.djjg"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item
              label="登簿人:"
              prop="qlxx.dbr"
370
              :rules="rules.dbrrules">
371 372 373 374 375 376 377
              <el-input v-model="ruleForm.qlxx.dbr"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item
              label="登记时间:"
              prop="qlxx.djsj"
378
              :rules="rules.djsjrules">
379 380
              <el-date-picker
                v-model="ruleForm.qlxx.djsj"
赵千 committed
381
                type="date"
382 383
                class="width100"
                placeholder="选择日期"
384
                value-format="yyyy-MM-dd HH:mm:ss"
赵千 committed
385
                format="yyyy-MM-dd">
386 387 388 389 390
              </el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="登记原因:">
xiaomiao committed
391
              <el-input v-model="ruleForm.diyaq.djyy"></el-input>
392 393 394 395
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="附记:">
renchao@pashanhoo.com committed
396
              <el-input v-model="ruleForm.diyaq.fj" type="textarea" maxlength="500" show-word-limit></el-input>
397 398 399 400
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="注销抵押业务号:">
xiaomiao committed
401
              <el-input maxlength="10" v-model="ruleForm.qlxx.zxywh"></el-input>
402 403
            </el-form-item>
          </el-col>
xiaomiao committed
404

405 406 407 408
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item
              label="注销时间:"
              prop="qlxx.zxsj"
409
              :rules="rules.zxsjrules">
410 411
              <el-date-picker
                v-model="ruleForm.qlxx.zxsj"
412
                type="datetime"
413 414
                placeholder="选择日期"
                value-format="yyyy-MM-dd HH:mm:ss"
415
                format="yyyy-MM-dd HH:mm:ss">
416 417 418 419 420 421 422
              </el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item
              label="注销登簿人:"
              prop="qlxx.zxdbr"
423
              :rules="rules.zxdbrrules">
424 425 426 427 428 429 430
              <el-input v-model="ruleForm.qlxx.zxdbr"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="24" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item
              label="注销抵押原因:"
              prop="diyaq.zxdyyy"
431
              :rules="rules.zxdyyyrules">
432 433 434 435
              <el-input v-model="ruleForm.diyaq.zxdyyy"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
436 437 438 439 440
        <div class="slxx_title title-block">
          权利人信息
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
441
          <el-col :span="24">
xiaomiao committed
442
            <el-form-item label="共有方式:">
xiaomiao committed
443
              <el-radio-group
444
                :disabled="!ableOperation"
xiaomiao committed
445
                v-model="ruleForm.qlxx.gyfs">
xiaomiao committed
446 447 448 449 450 451 452 453 454
                <el-radio label="0">单独所有</el-radio>
                <el-radio label="1">共同共有</el-radio>
                <el-radio label="2">按份所有</el-radio>
                <el-radio label="3">其它共有</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
        </el-row>
        <qlrCommonTable
xiaomiao committed
455
          :tableData="ruleForm.qlrData"
xiaomiao committed
456 457
          @upDateQlrxxList="upDateQlrxxList"
          :key="key"
xiaomiao committed
458 459
          :ableOperation="ableOperation"
          :gyfs="ruleForm.qlxx.gyfs" />
xiaomiao committed
460

xiaomiao committed
461
        <div v-if="ruleForm.ywrData">
xiaomiao committed
462 463 464 465
          <div class="slxx_title title-block">
            义务人信息
            <div class="triangle"></div>
          </div>
xiaomiao committed
466 467 468
          <ywrCommonTable
            v-if="ruleForm.ywrData"
            :tableData="ruleForm.ywrData"
xiaomiao committed
469
            :key="key"
xiaomiao committed
470
            :ableOperation="ableOperation"
471
            @upDateQlrxxList="upDateYwrxxList" />
xiaomiao committed
472 473
        </div>
      </div>
xiaomiao committed
474
      <el-row class="btn" v-if="ableOperation">
xiaomiao committed
475 476 477 478 479 480 481 482
        <el-form-item>
          <el-button type="primary" @click="onSubmit">保存</el-button>
        </el-form-item>
      </el-row>
    </el-form>
  </div>
</template>
<script>
xiaomiao committed
483
  import ywmix from "./dataprocessing";
484 485 486 487 488 489 490
  import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
  import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
  import selectTable from "@/components/selectTable/index.vue";
  import tdytTable from "@/views/workflow/components/tdytTable";
  export default {
    mixins: [ywmix],
    components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
xiaomiao committed
491

492 493
    data () {
      return {
494
        loading: false,
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525
        mjdw: "1",
        //表单是否可操作
        rules: {
          ssQlxxrules: [
            { required: true, message: "上手权利信息", trigger: "blur" },
          ],
          ztQlxxrules: [
            { required: true, message: "抵押不动产信息", trigger: "blur" },
          ],
          bdcqzhrules: [
            { required: true, message: "不动产登记证明号", trigger: "blur" },
          ],
          qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
          zwlxqssjrules: [
            { required: true, message: "债务履行起始时间", trigger: "blur" },
          ],
          zwlxjssjrules: [
            { required: true, message: "债务履行结束时间", trigger: "blur" },
          ],

          zxdyyyrules: [
            { required: true, message: "注销抵押原因", trigger: "blur" },
          ],
          zxsjrules: [{ required: true, message: "注销时间", trigger: "blur" }],
          zxdbrrules: [
            { required: true, message: "注销登簿人", trigger: "blur" },
          ],
          djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
          dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
          djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
          djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
xiaomiao committed
526
          ywhrules: [{ required: true, message: "业务号", trigger: "change" }],
527 528
        }
      }
529 530
    }
  }
xiaomiao committed
531 532
</script>
<style scoped lang="scss">
533 534 535 536 537 538 539 540
  @import "~@/styles/public.scss";
  @import "~@/styles/slxx/slxx.scss";
  .el-date-editor.el-input {
    width: 100%;
  }
  .el-table__row {
    height: 30px !important;
  }
xiaomiao committed
541
</style>