viewDialog.vue 4.4 KB
<template>
  <el-form :model="ruleForm" ref="ruleForm" label-width="100px">
    <div class="title-name">
      入库情况
    </div>
    <el-row :gutter="20">
      <el-col :span="8">
        <el-form-item label="入库编号">
          <el-input v-model="ruleForm.rkbh" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="入库时间">
          <el-date-picker v-model="ruleForm.rksj" disabled type="datetime">
          </el-date-picker>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="入库人员">
          <el-input v-model="ruleForm.rkry" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="8">
        <el-form-item label="登记机构">
          <el-input v-model="ruleForm.djjg" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="备注">
          <el-input v-model="ruleForm.bz" type="textarea" :rows="2" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <div class="title-name">
      分发情况
    </div>
    <el-row :gutter="20">
      <el-col :span="8">
        <el-form-item label="分发编号">
          <el-input v-model="ruleForm.ffbh" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="领取时间">
          <el-date-picker v-model="ruleForm.lqsj" disabled type="datetime">
          </el-date-picker>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="入库人员">
          <el-input v-model="ruleForm.rkry" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="备注">
          <el-input v-model="ruleForm.bz" type="textarea" :rows="2" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <div class="title-name">
      证书信息
    </div>
    <el-row :gutter="20">
      <el-col :span="8">
        <el-form-item label="不动产权证号">
          <el-input v-model="ruleForm.bdcqzh" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="业务号">
          <el-input v-model="ruleForm.ywh" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="不动产单元号">
          <el-input v-model="ruleForm.bdcdyh" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="8">
        <el-form-item label="证书类型">
          <el-input v-model="ruleForm.zslxmc" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="印刷序列号">
          <el-input v-model="ruleForm.ysxlh" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="是否作废">
          <el-input v-model="ruleForm.sfzfmc" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="作废原因">
          <el-input v-model="ruleForm.zfyy" type="textarea" :rows="2" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>
<script>
import { getZssyqkInfo } from "@/api/zsgl.js"
export default {
  props: {
    formData: {
      type: Object,
      default: () => { }
    }
  },
  data () {
    return {
      ruleForm: {}
    }
  },
  mounted () {
    this.getDetail(this.formData.bsmZswj)
  },
  methods: {
    getDetail (bsmZswj) {
      getZssyqkInfo({ "bsmZswj": bsmZswj }).then(res => {
        if (res.code == 200) {
          this.ruleForm = res.result
          if (res.result.zslx) {
            this.ruleForm.zslxmc = res.result.zslx == 'zs' ? '不动产权证书' : '不动产登记证明';
          }
          if (res.result.sfzf) {
            this.ruleForm.sfzfmc = res.result.sfzf == 0 ? '否' : '是'
          }
        }
      })
    }
  }
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/dialogBoxheader.scss";

.title-name {
  line-height: 36px;
  border-bottom: 1px solid $borderColor;
  margin-bottom: 10px;
}
</style>