Blame view

src/views/ywbl/ywSlxx/zjgcdy/slxx.vue 11.3 KB
1 2 3
<template>
  <!-- 受理信息 -->
  <div class="slxx">
4 5
    <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
      :inline="flag" label-width="140px">
6
      <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
jiaozeping@pashanhoo.com committed
7 8 9 10
        <div class="slxx_title title-block">
          受理信息
          <div class="triangle"></div>
        </div>
11 12
        <el-row :gutter="10">
          <el-col :span="8">
13
            <el-form-item label="业务号:">
1  
jiaozeping@pashanhoo.com committed
14
              <el-input disabled v-model="ruleForm.slywxx.ywh"></el-input>
15 16 17
            </el-form-item>
          </el-col>
          <el-col :span="8">
18
            <el-form-item label="受理人员:">
1  
jiaozeping@pashanhoo.com committed
19
              <el-input disabled v-model="ruleForm.slywxx.slry"></el-input>
20 21 22
            </el-form-item>
          </el-col>
          <el-col :span="8">
23
            <el-form-item label="受理时间:">
1  
jiaozeping@pashanhoo.com committed
24
              <el-input disabled v-model="ruleForm.slywxx.slsj"></el-input>
25 26 27 28 29
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
30
            <el-form-item label="权利类型:" prop="qllx">
1  
jiaozeping@pashanhoo.com committed
31
              <el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input>
32 33 34
            </el-form-item>
          </el-col>
          <el-col :span="8">
35
            <el-form-item label="登记类型:" prop="djlx">
1  
jiaozeping@pashanhoo.com committed
36
              <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
37 38 39
            </el-form-item>
          </el-col>
          <el-col :span="8">
40
            <el-form-item label="登记情形:" prop="djqx">
1  
jiaozeping@pashanhoo.com committed
41
              <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
42 43 44
            </el-form-item>
          </el-col>
        </el-row>
jiaozeping@pashanhoo.com committed
45
        <div class="slxx_title title-block">
46
          抵押房屋信息情况
jiaozeping@pashanhoo.com committed
47 48 49 50 51
          <div class="triangle"></div>
        </div>

        <el-row :gutter="10">
          <el-col :span="8">
52
            <el-form-item label="权利人:">
53
              <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input>
jiaozeping@pashanhoo.com committed
54 55 56
            </el-form-item>
          </el-col>
          <el-col :span="8">
57
            <el-form-item label="证件号:">
58
              <el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input>
jiaozeping@pashanhoo.com committed
59 60 61
            </el-form-item>
          </el-col>
          <el-col :span="8">
62
            <el-form-item label="证件种类:">
63
              <el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input>
jiaozeping@pashanhoo.com committed
64 65 66 67 68
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
69
            <el-form-item label="权利类型:">
70
              <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
田浩浩 committed
71 72 73
            </el-form-item>
          </el-col>
          <el-col :span="8">
74
            <el-form-item label="不动产权证号:">
75
              <el-input disabled v-model="ruleForm.qlxx.bdcqzh"></el-input>
jiaozeping@pashanhoo.com committed
76 77
            </el-form-item>
          </el-col>
田浩浩 committed
78
          <el-col :span="8">
79
            <el-form-item label="坐落:">
80
              <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
jiaozeping@pashanhoo.com committed
81 82 83 84 85
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
86
            <el-form-item label="不动产单元号:">
87
              <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
jiaozeping@pashanhoo.com committed
88 89 90
            </el-form-item>
          </el-col>
          <el-col :span="8">
91
            <el-form-item label="面积:">
92
              <el-input disabled v-model="ruleForm.qlxx.mj"></el-input>
jiaozeping@pashanhoo.com committed
93 94
            </el-form-item>
          </el-col>
田浩浩 committed
95
          <el-col :span="8">
96
            <el-form-item label="用途:">
97
              <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
田浩浩 committed
98 99
            </el-form-item>
          </el-col>
jiaozeping@pashanhoo.com committed
100
        </el-row>
1  
jiaozeping@pashanhoo.com committed
101 102

        <div class="slxx_title title-block">
田浩浩 committed
103
          抵押信息
1  
jiaozeping@pashanhoo.com committed
104 105 106 107 108
          <div class="triangle"></div>
        </div>

        <el-row :gutter="10">
          <el-col :span="8">
109
            <el-form-item label="抵押方式:">
jiaozeping@pashanhoo.com committed
110 111
              <!-- <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input> -->
              <el-radio-group disabled v-model="ruleForm.diyaq.dyfs">
112 113 114
                <el-radio label="1">一般抵押</el-radio>
                <el-radio label="2">最高额抵押</el-radio>
              </el-radio-group>
1  
jiaozeping@pashanhoo.com committed
115 116
            </el-form-item>
          </el-col>
jiaozeping@pashanhoo.com committed
117
          <el-col :span="16">
118
            <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
jiaozeping@pashanhoo.com committed
119 120 121 122 123 124 125
              <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz">
                <el-radio label="1">启用</el-radio>
                <el-radio label="0">禁用</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
        </el-row>
1  
jiaozeping@pashanhoo.com committed
126

jiaozeping@pashanhoo.com committed
127
        <el-row :gutter="10">
128
          <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
129
            <el-form-item label="被担保主债权数额:">
130
              <el-input v-model="ruleForm.diyaq.bdbzzqse"></el-input>
1  
jiaozeping@pashanhoo.com committed
131 132 133
            </el-form-item>
          </el-col>

134
          <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
135
            <el-form-item label="最高债权额:">
136
              <el-input v-model="ruleForm.diyaq.zgzqse"></el-input>
1  
jiaozeping@pashanhoo.com committed
137 138 139 140
            </el-form-item>
          </el-col>

          <el-col :span="8">
141
            <el-form-item label="债务履行起始时间:">
142 143
              <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" type="date">
              </el-date-picker>
1  
jiaozeping@pashanhoo.com committed
144 145 146
            </el-form-item>
          </el-col>
          <el-col :span="8">
147
            <el-form-item label="债务履行结束时间:">
148
              <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" type="date">
jiaozeping@pashanhoo.com committed
149
              </el-date-picker>
1  
jiaozeping@pashanhoo.com committed
150 151 152 153 154 155 156
            </el-form-item>
          </el-col>
        </el-row>


        <el-row>
          <el-col :span="24">
157
            <el-form-item label="担保范围:">
任超 committed
158 159
              <el-input v-model="ruleForm.diyaq.dbfw"
                :disabled="$route.query.viewtype == 1 || ruleForm.slywxx.djlx == '300'"></el-input>
1  
jiaozeping@pashanhoo.com committed
160 161 162 163 164
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
165
            <el-form-item label="最高债权确定事实和数额:">
1  
jiaozeping@pashanhoo.com committed
166 167 168 169
              <el-input v-model="ruleForm.diyaq.zgzqqdss"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
170
        <el-row>
1  
jiaozeping@pashanhoo.com committed
171
          <el-col>
172
            <el-form-item label="附记:" prop="fj">
173
              <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1"></el-input>
1  
jiaozeping@pashanhoo.com committed
174 175 176 177
            </el-form-item>
          </el-col>
        </el-row>

1  
jiaozeping@pashanhoo.com committed
178 179 180 181 182 183
        <div class="slxx_title title-block">
          抵押权人信息
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
          <el-col :span="14">
184
            <el-form-item label="共有方式:">
185 186
              <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs">
                <el-radio label="0">单独所有</el-radio>
1  
jiaozeping@pashanhoo.com committed
187 188 189
                <el-radio label="1">共同共有</el-radio>
                <el-radio label="2">按份所有</el-radio>
                <el-radio label="3">其它共有</el-radio>
1  
jiaozeping@pashanhoo.com committed
190 191 192 193
              </el-radio-group>
            </el-form-item>
          </el-col>
          <el-col :span="5" v-show="ruleForm.gyfs == '2'">
194
            <el-form-item label="是否分别持证:">
195
              <el-radio-group v-model="ruleForm.slywxx.sqfbcz">
1  
jiaozeping@pashanhoo.com committed
196 197 198 199 200 201
                <el-radio label="1"></el-radio>
                <el-radio label="0"></el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
          <el-col :span="5" v-show="ruleForm.gyfs == '2'">
202
            <el-form-item label="持证人:">
1  
jiaozeping@pashanhoo.com committed
203
              <el-select v-model="ruleForm.czr" placeholder="持证人">
204
                <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
1  
jiaozeping@pashanhoo.com committed
205 206 207 208 209
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
210
        <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
211
          :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
1  
jiaozeping@pashanhoo.com committed
212 213 214 215
        <div class="slxx_title title-block">
          抵押人信息
          <div class="triangle"></div>
        </div>
任超 committed
216
        <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList"
217
          :viewtype="$route.query.viewtype" />
1  
jiaozeping@pashanhoo.com committed
218 219 220 221 222 223 224

        <div class="slxx_title title-block">
          登记原因
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
          <el-col>
225
            <el-form-item v-if="ruleForm.slywxx.djlx == '400'" label="注销抵押原因:" prop="djyy">
田浩浩 committed
226 227 228 229
              <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
                v-model="ruleForm.diyaq.zxdyyy">
              </el-input>
            </el-form-item>
230
            <el-form-item v-else label="登记原因:" prop="djyy">
231 232
              <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
                v-model="ruleForm.diyaq.djyy">
1  
jiaozeping@pashanhoo.com committed
233 234 235 236 237
              </el-input>
            </el-form-item>
          </el-col>
        </el-row>

238
      </div>
任超 committed
239
      <el-row class="btn" v-if="!$route.query.viewtype">
240
        <el-form-item>
1  
jiaozeping@pashanhoo.com committed
241
          <el-button type="primary" @click="onSubmitClick()">保存</el-button>
242 243 244 245 246 247
        </el-form-item>
      </el-row>
    </el-form>
  </div>
</template>
<script>
248
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
249
import { Init, saveData } from "@/api/workflow/zjgcdyFlow.js";
250 251
import { mapGetters } from "vuex";
export default {
252
  mounted () {
253
    this.propsParam = this.$attrs;
254
    var formdata = new FormData();
255
    this.$startLoading();
256
    formdata.append("bsmSldy", this.propsParam.bsmSldy);
1  
jiaozeping@pashanhoo.com committed
257
    formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
258 259
    formdata.append("djlx", this.propsParam.djlx);
    Init(formdata).then((res) => {
260
      if (res.code === 200 && res.result) {
1  
jiaozeping@pashanhoo.com committed
261
        this.ruleForm = res.result;
262
        this.$endLoading();
263
        this.ruleForm.diyaq.sfczjzhxz = "0";
264
      }
任超 committed
265
    })
266
  },
267
  components: { qlrCommonTable },
268 269 270
  computed: {
    ...mapGetters(["dictData", "flag"]),
  },
271
  data () {
272 273
    return {
      disabled: true,
1  
jiaozeping@pashanhoo.com committed
274
      czrOptions: [],
275
      ruleForm: {
jiaozeping@pashanhoo.com committed
276
        slywxx: {},
1  
jiaozeping@pashanhoo.com committed
277 278 279
        qlxxold: {},
        diyaq: {},
        gyfs: "",
280 281 282 283 284 285 286
      },
      //传递参数
      propsParam: {},
      rules: {},
    };
  },
  methods: {
287
    onSubmitClick () {
288
      saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
1  
jiaozeping@pashanhoo.com committed
289 290 291 292 293 294 295 296 297 298 299 300
        if (res.code === 200) {
          this.$message({
            showClose: true,
            message: "保存成功!",
            type: "success",
          });
        } else {
          this.$message({
            showClose: true,
            message: res.message,
            type: "error",
          });
301 302 303
        }
      });
    },
1  
jiaozeping@pashanhoo.com committed
304 305

    // 更新权利人信息
306
    upDateQlrxxList (val) {
任超 committed
307 308 309
      if (!_.isEqual(val, this.ruleForm.qlrList)) {
        this.ruleForm.qlrList = _.cloneDeep(val);
      }
1  
jiaozeping@pashanhoo.com committed
310 311
    },
    // 更新义务人信息
312
    upDateYwrxxList (val) {
任超 committed
313 314 315 316 317
      if (!_.isEqual(val, this.ruleForm.ywrList)) {
        this.ruleForm.ywrList = _.cloneDeep(val);
      }
    }
  }
318 319 320 321
};
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
1  
jiaozeping@pashanhoo.com committed
322
@import "~@/styles/slxx/slxx.scss";
323
</style>