Blame view

src/views/djbworkflow/djbBook/components/blxxtabs/dyiq.vue 17.3 KB
xiaomiao committed
1 2 3
<!--
 * @Description:
 * @Autor: renchao
renchao@pashanhoo.com committed
4
 * @LastEditTime: 2023-08-22 16:27:38
xiaomiao committed
5 6 7 8 9 10 11
-->
<template>
  <!-- 受理信息 -->
  <div class="slxx">
    <el-form
      :model="ruleForm"
      :rules="rules"
xiaomiao committed
12 13
      :class="{ readonly: editDisabled }"
      class="loadingtext"
xiaomiao committed
14 15 16
      ref="ruleForm"
      :label-position="flag ? 'top' : ''"
      :inline="flag"
xiaomiao committed
17
      :show-message="false"
18
      label-width="145px">
xiaomiao committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
      <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
41
        <div class="slxx_title title-block bdcqk">
xiaomiao committed
42
          地役权不动产情况
xiaomiao committed
43
          <div class="count">
xiaomiao committed
44
            <el-form-item
xiaomiao committed
45
              label="地役权不动产情况"
xiaomiao committed
46
              prop="ztQlxx.bdcqzh"
47
              :rules="rules.ztQlxxrules">
xiaomiao committed
48 49
              <select-table
                v-model="ruleForm.ztQlxx"
xiaomiao committed
50
                :table-width="730"
xiaomiao committed
51 52
                :tableData="ztQlxxList"
                :props="props"
53
                @change="ztQlxxchange">
xiaomiao committed
54 55 56
                <el-table-column
                  prop="qllxmc"
                  width="130"
57
                  label="权利类型"></el-table-column>
xiaomiao committed
58 59 60
                <el-table-column
                  prop="bdcqzh"
                  width="160"
61
                  label="不动产权证书"></el-table-column>
xiaomiao committed
62
                <el-table-column
xiaomiao committed
63
                  prop="qlrmc"
64
                  label="被执行人"></el-table-column>
xiaomiao committed
65 66 67 68 69
                <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
70 71 72
          </div>
          <div class="triangle"></div>
        </div>
xiaomiao committed
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
          <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>
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
          <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
103
              <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input>
xiaomiao committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
          <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="面积:">
              <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input>
            </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
124
        <div class="slxx_title title-block bdcqk">
xiaomiao committed
125
          地役权信息
xiaomiao committed
126
          <div class="count" v-if="ssqlxxshow">
xiaomiao committed
127 128 129
            <el-form-item
              label="上手权利信息:"
              prop="ssQlxx.bdcqzh"
130
              :rules="rules.ssQlxxrules">
xiaomiao committed
131 132 133 134 135
              <select-table
                v-model="ruleForm.ssQlxx"
                :table-width="730"
                :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 155 156 157 158 159 160
        <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">
xiaomiao committed
161 162 163
            <el-form-item
              label="业务号:"
              prop="qlxx.ywh"
164
              :rules="rules.ywhrules">
xiaomiao committed
165
              <el-input maxlength="20" v-model="ruleForm.qlxx.ywh" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');"></el-input>
xiaomiao committed
166 167
            </el-form-item>
          </el-col>
xiaomiao committed
168
          <el-col :span="8">
xiaomiao committed
169
            <el-form-item label="上手业务号:">
xiaomiao committed
170
              <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input>
xiaomiao committed
171 172 173 174 175 176 177 178 179
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="权利类型:">
              <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
            </el-form-item>
          </el-col>
180
          <el-col :span="8">
xiaomiao committed
181 182 183 184
            <el-form-item label="登记原因:">
              <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
            </el-form-item>
          </el-col>
xiaomiao committed
185
          <el-col :span="8">
xiaomiao committed
186 187 188
            <el-form-item
              label="登记类型: "
              prop="qlxx.djlx"
189
              :rules="rules.djlxrules">
xiaomiao committed
190
              <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
xiaomiao committed
191 192 193 194
                <el-option
                  v-for="item in djlxlist"
                  :key="item.dcode"
                  :label="item.dname"
195
                  :value="item.dcode">
xiaomiao committed
196 197
                </el-option>
              </el-select>
xiaomiao committed
198 199 200
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
201
            <el-form-item label="不动产坐落:">
xiaomiao committed
202 203 204 205
              <el-input v-model="ruleForm.qlxx.zl"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
206 207 208
            <el-form-item
              label="不动产权证号:"
              prop="qlxx.bdcqzh"
209
              :rules="rules.bdcqzhrules">
xiaomiao committed
210 211 212
              <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
            </el-form-item>
          </el-col>
xiaomiao committed
213
          <!-- <el-col :span="8">
xiaomiao committed
214
            <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules">
xiaomiao committed
215 216
              <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
            </el-form-item>
xiaomiao committed
217
          </el-col> -->
xiaomiao committed
218
          <el-col :span="8">
xiaomiao committed
219 220 221
            <el-form-item
              label="登记机构:"
              prop="qlxx.djjg"
222
              :rules="rules.djjgrules">
xiaomiao committed
223 224 225 226
              <el-input v-model="ruleForm.qlxx.djjg"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
227 228 229
            <el-form-item
              label="登簿人:"
              prop="qlxx.dbr"
230
              :rules="rules.dbrrules">
xiaomiao committed
231 232 233 234
              <el-input v-model="ruleForm.qlxx.dbr"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
235 236 237
            <el-form-item
              label="登记时间:"
              prop="qlxx.djsj"
238
              :rules="rules.djsjrules">
xiaomiao committed
239
              <el-date-picker
xiaomiao committed
240 241
                v-model="ruleForm.qlxx.djsj"
                type="date"
xiaomiao committed
242
                class="width100"
xiaomiao committed
243 244
                placeholder="选择日期"
                value-format="yyyy-MM-dd HH:mm:ss"
245
                format="yyyy-MM-dd">
xiaomiao committed
246
              </el-date-picker>
xiaomiao committed
247 248
            </el-form-item>
          </el-col>
249
          <el-col :span="8">
xiaomiao committed
250 251 252 253 254 255
            <el-form-item label="权属状态:">
              <el-select v-model="ruleForm.qlxx.qszt">
                <el-option
                  v-for="item in qsztlist"
                  :key="item.dcode"
                  :label="item.dname"
256
                  :value="item.dcode">
xiaomiao committed
257 258 259 260 261
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>

262
          <el-col :span="8">
xiaomiao committed
263
            <el-form-item label="供地役不动产单元号:">
xiaomiao committed
264
              <el-input v-model="ruleForm.qlxx.gydbdcbyh"></el-input>
xiaomiao committed
265
            </el-form-item>
xiaomiao committed
266 267
          </el-col>
          <el-col :span="8">
xiaomiao committed
268
            <el-form-item label="供役地权利人:">
xiaomiao committed
269
              <el-input v-model="ruleForm.qlxx.gydqlr"></el-input>
xiaomiao committed
270
            </el-form-item>
xiaomiao committed
271 272
          </el-col>
          <el-col :span="8">
xiaomiao committed
273 274 275 276 277
            <el-form-item>
              <span slot="label" style="display: inline-block">
                <el-tooltip
                  content="供役地权利人证件种类:"
                  placement="top"
278 279
                  effect="light">
                  <span type="text" style="color: #444" size="mini">供役地权利人证件...</span>
xiaomiao committed
280 281 282 283 284 285 286 287
                </el-tooltip>
              </span>
              <div class="flex">
                <el-select v-model="ruleForm.qlxx.gydqlrzjzl">
                  <el-option
                    v-for="item in dictData['A30']"
                    :key="item.dcode"
                    :label="item.dname"
288
                    :value="item.dcode"></el-option>
xiaomiao committed
289 290
                </el-select>
              </div>
xiaomiao committed
291
            </el-form-item>
xiaomiao committed
292 293
          </el-col>
          <el-col :span="8">
xiaomiao committed
294
            <el-form-item label="供役地权利人证件号:">
xiaomiao committed
295
              <el-input v-model="ruleForm.qlxx.gydqlrzjh"></el-input>
xiaomiao committed
296
            </el-form-item>
xiaomiao committed
297 298
          </el-col>
          <el-col :span="8">
xiaomiao committed
299
            <el-form-item label="需役地不动产单元号:">
xiaomiao committed
300
              <el-input v-model="ruleForm.qlxx.xydbdcdyh"></el-input>
xiaomiao committed
301
            </el-form-item>
xiaomiao committed
302 303
          </el-col>
          <el-col :span="8">
xiaomiao committed
304
            <el-form-item label="需役地坐落:">
xiaomiao committed
305
              <el-input v-model="ruleForm.qlxx.yxdzl"></el-input>
xiaomiao committed
306
            </el-form-item>
xiaomiao committed
307 308
          </el-col>
          <el-col :span="8">
xiaomiao committed
309
            <el-form-item label="需役地权利人:">
xiaomiao committed
310
              <el-input v-model="ruleForm.qlxx.xydqlr"></el-input>
xiaomiao committed
311
            </el-form-item>
xiaomiao committed
312 313
          </el-col>
          <el-col :span="8">
xiaomiao committed
314 315 316 317 318
            <el-form-item>
              <span slot="label" style="display: inline-block">
                <el-tooltip
                  content="需役地权利人证件种类:"
                  placement="top"
319 320
                  effect="light">
                  <span type="text" style="color: #444" size="mini">需役地权利人证件...</span>
xiaomiao committed
321 322 323 324 325 326 327 328
                </el-tooltip>
              </span>
              <div class="flex">
                <el-select v-model="ruleForm.qlxx.xydqlrzjzl">
                  <el-option
                    v-for="item in dictData['A30']"
                    :key="item.dcode"
                    :label="item.dname"
329
                    :value="item.dcode"></el-option>
xiaomiao committed
330 331
                </el-select>
              </div>
xiaomiao committed
332
            </el-form-item>
xiaomiao committed
333 334
          </el-col>
          <el-col :span="8">
xiaomiao committed
335
            <el-form-item label="需役地权利人证件号:">
xiaomiao committed
336
              <el-input v-model="ruleForm.qlxx.xydqlrzjh"></el-input>
xiaomiao committed
337
            </el-form-item>
xiaomiao committed
338 339
          </el-col>
          <el-col :span="8">
xiaomiao committed
340
            <el-form-item label="地役权内容:">
xiaomiao committed
341
              <el-input v-model="ruleForm.qlxx.dyqnr"></el-input>
xiaomiao committed
342
            </el-form-item>
xiaomiao committed
343 344
          </el-col>
          <el-col :span="8">
xiaomiao committed
345
            <el-form-item label="不动产登记证明号:">
xiaomiao committed
346
              <el-input v-model="ruleForm.qlxx.bdcdjzmh"></el-input>
xiaomiao committed
347
            </el-form-item>
xiaomiao committed
348 349
          </el-col>
          <el-col :span="8">
xiaomiao committed
350 351 352 353 354 355 356
            <el-form-item label="权利起始时间:">
              <el-date-picker
                v-model="ruleForm.qlxx.qlqssj"
                class="width100"
                type="date"
                placeholder="选择日期"
                value-format="yyyy-MM-dd HH:mm:ss"
357
                format="yyyy-MM-dd">
xiaomiao committed
358
              </el-date-picker>
xiaomiao committed
359
            </el-form-item>
xiaomiao committed
360 361
          </el-col>
          <el-col :span="8">
xiaomiao committed
362 363 364 365 366 367 368
            <el-form-item label="权利结束时间:">
              <el-date-picker
                v-model="ruleForm.qlxx.qljssj"
                class="width100"
                type="date"
                placeholder="选择日期"
                value-format="yyyy-MM-dd HH:mm:ss"
369
                format="yyyy-MM-dd">
xiaomiao committed
370
              </el-date-picker>
xiaomiao committed
371
            </el-form-item>
xiaomiao committed
372 373
          </el-col>
          <el-col :span="8">
xiaomiao committed
374
            <el-form-item label="权利期限:">
xiaomiao committed
375
              <el-input v-model="ruleForm.qlxx.qlqx"></el-input>
xiaomiao committed
376 377
            </el-form-item>
          </el-col>
378
          <el-col :span="24">
xiaomiao committed
379
            <el-form-item label="附记:">
renchao@pashanhoo.com committed
380
              <el-input v-model="ruleForm.qlxx.fj" type="textarea" maxlength="500" show-word-limit></el-input>
xiaomiao committed
381 382
            </el-form-item>
          </el-col>
xiaomiao committed
383
        </el-row>
xiaomiao committed
384
        <div class="slxx_title title-block">
xiaomiao committed
385 386 387 388 389 390
          权利人信息
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
          <el-col :span="12">
            <el-form-item label="共有方式:">
xiaomiao committed
391
              <el-radio-group
xiaomiao committed
392
                :disabled="!ableOperation"
xiaomiao committed
393
                v-model="ruleForm.qlxx.gyfs">
xiaomiao committed
394 395 396 397 398 399 400 401 402
                <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
403
          :tableData="ruleForm.qlrData"
xiaomiao committed
404 405
          @upDateQlrxxList="upDateQlrxxList"
          :key="key"
xiaomiao committed
406 407
          :ableOperation="ableOperation"
          :gyfs="ruleForm.qlxx.gyfs" />
xiaomiao committed
408

xiaomiao committed
409
        <div>
xiaomiao committed
410 411 412 413
          <div class="slxx_title title-block">
            义务人信息
            <div class="triangle"></div>
          </div>
xiaomiao committed
414 415 416
          <ywrCommonTable
            v-if="ruleForm.ywrData"
            :tableData="ruleForm.ywrData"
xiaomiao committed
417
            :key="key"
xiaomiao committed
418
            :ableOperation="ableOperation"
419
            @upDateQlrxxList="upDateYwrxxList" />
xiaomiao committed
420 421
        </div>
      </div>
xiaomiao committed
422
      <el-row class="btn" v-if="ableOperation">
xiaomiao committed
423 424 425 426 427 428 429 430
        <el-form-item>
          <el-button type="primary" @click="onSubmit">保存</el-button>
        </el-form-item>
      </el-row>
    </el-form>
  </div>
</template>
<script>
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460
  import ywmix from "./dataprocessing";
  import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
  import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
  import tdytTable from "@/views/workflow/components/tdytTable";
  import selectTable from "@/components/selectTable/index.vue";
  export default {
    mixins: [ywmix],
    components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
    data () {
      return {
        //传递参数\
        rules: {
          ssQlxxrules: [
            { required: true, message: "上手权利信息", trigger: "blur" },
          ],
          ztQlxxrules: [
            { required: true, message: "抵押不动产信息", trigger: "blur" },
          ],
          bdcqzhrules: [
            { required: true, message: "不动产登记证明号", trigger: "blur" },
          ],
          djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
          dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
          djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
          djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
          ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
        },
      };
    },
  };
xiaomiao committed
461 462
</script>
<style scoped lang="scss">
463 464
  @import "~@/styles/public.scss";
  @import "~@/styles/slxx/slxx.scss";
xiaomiao committed
465
</style>