Blame view

src/views/djbworkflow/djbBook/components/blxxtabs/yydj.vue 13.9 KB
xiaomiao committed
1 2 3
<!--
 * @Description:
 * @Autor: renchao
4
 * @LastEditTime: 2023-11-07 09:26:20
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
      inline-message
xiaomiao committed
18
      :show-message="false"
19
      label-width="145px">
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">
xiaomiao committed
43 44
          异议登记不动产情况
          <div class="count">
xiaomiao committed
45
            <el-form-item
xiaomiao committed
46
              label="抵押不动产信息:"
47
              style="display:flex"
xiaomiao committed
48
              prop="ztQlxx.bdcqzh"
49
              :rules="rules.ztQlxxrules">
xiaomiao committed
50
              <select-table
xiaomiao committed
51 52
                v-model="ruleForm.ztQlxx"
                :tableData="ztQlxxList"
xiaomiao committed
53
                :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 64 65 66 67 68
                <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>
xiaomiao committed
69 70 71
          </div>
          <div class="triangle"></div>
        </div>
xiaomiao committed
72
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
xiaomiao committed
73
          <el-col :span="8">
xiaomiao committed
74 75
            <el-form-item label="权利人:">
              <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input>
xiaomiao committed
76 77 78
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
79 80
            <el-form-item label="证件种类:">
              <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input>
xiaomiao committed
81 82 83
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
84 85
            <el-form-item label="证件号:">
              <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input>
xiaomiao committed
86 87 88
            </el-form-item>
          </el-col>
        </el-row>
xiaomiao committed
89
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
xiaomiao committed
90 91
          <el-col :span="8">
            <el-form-item label="权利类型:">
xiaomiao committed
92
              <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input>
xiaomiao committed
93 94 95
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
96 97
            <el-form-item label="不动产权证号:">
              <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input>
xiaomiao committed
98 99 100 101
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="坐落:">
xiaomiao committed
102
              <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input>
xiaomiao committed
103 104
            </el-form-item>
          </el-col>
xiaomiao committed
105 106
        </el-row>
        <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
xiaomiao committed
107
          <el-col :span="8">
xiaomiao committed
108 109
            <el-form-item label="不动产单元号:">
              <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input>
xiaomiao committed
110 111 112
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
113 114
            <el-form-item label="面积:">
              <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input>
xiaomiao committed
115 116
            </el-form-item>
          </el-col>
xiaomiao committed
117
          <el-col :span="8">
xiaomiao committed
118 119
            <el-form-item label="用途:">
              <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input>
xiaomiao committed
120 121
            </el-form-item>
          </el-col>
xiaomiao committed
122 123 124 125 126 127
        </el-row>
        <div class="slxx_title title-block bdcqk">
          异议登记信息
          <div class="count" v-if="ssqlxxshow">
            <el-form-item
              label="上手权利信息:"
128
              style="display:flex"
xiaomiao committed
129
              prop="ssQlxx.bdcqzh"
130
              :rules="rules.ssQlxxrules">
xiaomiao committed
131 132 133 134
              <select-table
                v-model="ruleForm.ssQlxx"
                :tableData="ssQlxxList"
                :props="props"
135
                @change="ssQlxxchange">
xiaomiao committed
136 137 138
                <el-table-column
                  prop="qllxmc"
                  width="130"
139
                  label="权利类型"></el-table-column>
xiaomiao committed
140 141 142
                <el-table-column
                  prop="bdcqzh"
                  width="160"
143
                  label="不动产权证书"></el-table-column>
xiaomiao committed
144 145 146 147 148
                <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>
xiaomiao committed
149
            </el-form-item>
xiaomiao committed
150 151 152 153
          </div>
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
xiaomiao committed
154
          <el-col :span="8">
xiaomiao committed
155 156
            <el-form-item label="不动产单元号:">
              <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
xiaomiao committed
157 158
            </el-form-item>
          </el-col>
xiaomiao committed
159
          <el-col :span="8">
xiaomiao committed
160 161 162
            <el-form-item
              label="业务号:"
              prop="qlxx.ywh"
163
              :rules="rules.ywhrules">
xiaomiao committed
164
              <el-input maxlength="20" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');" v-model="ruleForm.qlxx.ywh"></el-input>
xiaomiao committed
165
            </el-form-item>
xiaomiao committed
166 167
          </el-col>
          <el-col :span="8">
xiaomiao committed
168 169
            <el-form-item label="上手业务号:">
              <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input>
xiaomiao committed
170
            </el-form-item>
xiaomiao committed
171
          </el-col>
xiaomiao committed
172 173
        </el-row>
        <el-row :gutter="10">
174
          <!-- <el-col :span="8">
xiaomiao committed
175
            <el-form-item
xiaomiao committed
176 177
              label="登记类型:"
              prop="qlxx.djlx"
178
              :rules="rules.djlxrules">
xiaomiao committed
179
              <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
xiaomiao committed
180
                <el-option
181
                  v-for="item in djlxlist"
xiaomiao committed
182 183
                  :key="item.dcode"
                  :label="item.dname"
184
                  :value="item.dcode">
xiaomiao committed
185 186
                </el-option>
              </el-select>
xiaomiao committed
187
            </el-form-item>
188
          </el-col> -->
xiaomiao committed
189
          <el-col :span="8">
xiaomiao committed
190 191 192
            <el-form-item
              label="登记机构:"
              prop="qlxx.djjg"
193
              :rules="rules.djjgrules">
xiaomiao committed
194 195 196 197
              <el-input v-model="ruleForm.qlxx.djjg"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
198 199 200
            <el-form-item
              label="登簿人:"
              prop="qlxx.dbr"
201
              :rules="rules.dbrrules">
xiaomiao committed
202 203 204 205
              <el-input v-model="ruleForm.qlxx.dbr"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
206 207 208
            <el-form-item
              label="登记时间:"
              prop="qlxx.djsj"
209
              :rules="rules.djsjrules">
xiaomiao committed
210
              <el-date-picker
xiaomiao committed
211
                v-model="ruleForm.qlxx.djsj"
xiaomiao committed
212
                class="width100"
xiaomiao committed
213
                type="date"
xiaomiao committed
214 215
                placeholder="选择日期"
                value-format="yyyy-MM-dd HH:mm:ss"
216
                format="yyyy-MM-dd">
xiaomiao committed
217
              </el-date-picker>
xiaomiao committed
218 219
            </el-form-item>
          </el-col>
xiaomiao committed
220 221 222 223 224 225 226
          <el-col :span="8">
            <el-form-item label="权属状态:">
              <el-select v-model="ruleForm.qlxx.qszt">
                <el-option
                  v-for="item in qsztlist"
                  :key="item.dcode"
                  :label="item.dname"
227
                  :value="item.dcode">
xiaomiao committed
228 229 230 231 232 233
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>

          <el-col :span="8">
xiaomiao committed
234 235
            <el-form-item
              label="异议事项:"
xiaomiao committed
236
              prop="yydj.yysx"
237
              :rules="rules.yysxrules">
xiaomiao committed
238 239 240 241
              <el-input v-model="ruleForm.yydj.yysx"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
xiaomiao committed
242 243 244
            <el-form-item
              label="不动产登记证明号:"
              prop="qlxx.bdcqzh"
245
              :rules="rules.bdcdjzmhrules">
xiaomiao committed
246
              <el-input maxlength="11" v-model="ruleForm.qlxx.bdcqzh"></el-input>
xiaomiao committed
247 248
            </el-form-item>
          </el-col>
xiaomiao committed
249

xiaomiao committed
250 251
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="注销异议业务号:">
xiaomiao committed
252
              <el-input maxlength="11" v-model="ruleForm.qlxx.zxywh"></el-input>
xiaomiao committed
253 254 255 256 257 258 259 260 261
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="注销异议原因:">
              <el-input v-model="ruleForm.yydj.zxyyyy"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="注销异议登簿人:">
xiaomiao committed
262
              <el-input v-model="ruleForm.qlxx.zxdbr"></el-input>
xiaomiao committed
263 264 265 266 267
            </el-form-item>
          </el-col>
          <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
            <el-form-item label="注销异议登记时间:">
              <el-date-picker
xiaomiao committed
268
                v-model="ruleForm.qlxx.zxsj"
xiaomiao committed
269 270 271 272
                class="width100"
                type="date"
                placeholder="选择日期"
                value-format="yyyy-MM-dd HH:mm:ss"
273
                format="yyyy-MM-dd">
xiaomiao committed
274
              </el-date-picker>
xiaomiao committed
275 276
            </el-form-item>
          </el-col>
277
          <el-col :span="24">
xiaomiao committed
278
            <el-form-item label="附记:">
renchao@pashanhoo.com committed
279
              <el-input v-model="ruleForm.yydj.fj" type="textarea" maxlength="500" show-word-limit></el-input>
xiaomiao committed
280 281
            </el-form-item>
          </el-col>
xiaomiao committed
282
        </el-row>
xiaomiao committed
283
        <div class="slxx_title title-block">
xiaomiao committed
284 285 286 287 288 289
          权利人信息
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
          <el-col :span="12">
            <el-form-item label="共有方式:">
xiaomiao committed
290
              <el-radio-group
xiaomiao committed
291
                :disabled="!ableOperation"
xiaomiao committed
292
                v-model="ruleForm.qlxx.gyfs">
xiaomiao committed
293 294 295 296 297 298 299 300 301
                <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
302
          :tableData="ruleForm.qlrData"
xiaomiao committed
303
          @upDateQlrxxList="upDateQlrxxList"
xiaomiao committed
304
          :key="key"
xiaomiao committed
305 306
          :ableOperation="ableOperation"
          :gyfs="ruleForm.qlxx.gyfs" />
xiaomiao committed
307 308 309 310 311 312 313 314 315
        <div v-if="ruleForm.ywrData">
          <div class="slxx_title title-block">
            义务人信息
            <div class="triangle"></div>
          </div>
          <ywrCommonTable
            v-if="ruleForm.ywrData"
            :tableData="ruleForm.ywrData"
            :key="key"
xiaomiao committed
316
            :ableOperation="ableOperation"
317
            @upDateQlrxxList="upDateYwrxxList" />
xiaomiao committed
318
        </div>
xiaomiao committed
319
      </div>
xiaomiao committed
320
      <el-row class="btn" v-if="ableOperation">
xiaomiao committed
321 322 323 324 325 326 327 328
        <el-form-item>
          <el-button type="primary" @click="onSubmit">保存</el-button>
        </el-form-item>
      </el-row>
    </el-form>
  </div>
</template>
<script>
329 330 331 332 333 334 335 336 337 338 339
  // import ywmix from "@/views/ywbl/mixin/index";
  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 {
340
        loading: false,
341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374
        ssqlxxshow: true,
        //表单是否可操作
        propsParam: this.$attrs,
        key: 0,
        isShow: false,
        disabled: true,
        czrOptions: [],
        ssQlxxList: [],
        ztQlxxList: [],
        ruleForm: {},
        // 权属状态
        //传递参数\
        rules: {
          ssQlxxrules: [
            { required: true, message: "上手权利信息", trigger: "blur" },
          ],
          ztQlxxrules: [
            { 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" }],
          ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
          bdcdjzmhrules: [
            { required: true, message: "不动产登记证明号: ", trigger: "blur" },
          ],
          yysxrules: [{ required: true, message: "异议事项", trigger: "blur" }],
        },
        ableOperation: false,
      };
    },
    methods: {},
  };
xiaomiao committed
375 376
</script>
<style scoped lang="scss">
377 378
  @import "~@/styles/public.scss";
  @import "~@/styles/slxx/slxx.scss";
xiaomiao committed
379
</style>