Blame view

src/views/zsgl/components/viewDialog.vue 4.5 KB
任超 committed
1
<template>
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 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 103 104 105 106 107 108 109 110
  <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>
任超 committed
111 112
</template>
<script>
113
import { getZssyqkInfo } from "@/api/zsgl.js"
任超 committed
114 115
export default {
  props: {
116 117 118 119
    formData: {
      type: Object,
      default: () => { }
    }
任超 committed
120 121 122
  },
  data () {
    return {
蔡俊立 committed
123
      ruleForm: {}
任超 committed
124 125
    }
  },
126 127
  mounted () {
    this.getDetail(this.formData.bsmZswj)
任超 committed
128
  },
任超 committed
129
  methods: {
yuanbo committed
130 131 132 133 134
    /**
     * @description: getDetail
     * @param {*} bsmZswj
     * @author: renchao
     */
蔡俊立 committed
135
    getDetail (bsmZswj) {
136 137
      getZssyqkInfo({ "bsmZswj": bsmZswj }).then(res => {
        if (res.code == 200) {
蔡俊立 committed
138
          this.ruleForm = res.result
139
          if (res.result.zslx) {
蔡俊立 committed
140 141
            this.ruleForm.zslxmc = res.result.zslx == 'zs' ? '不动产权证书' : '不动产登记证明';
          }
142
          if (res.result.sfzf) {
蔡俊立 committed
143 144
            this.ruleForm.sfzfmc = res.result.sfzf == 0 ? '否' : '是'
          }
蔡俊立 committed
145 146
        }
      })
147
    }
任超 committed
148 149
  }
}
任超 committed
150 151 152
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
xiaomiao committed
153
@import "~@/styles/dialogBoxheader.scss";
154

任超 committed
155 156 157 158 159 160
.title-name {
  line-height: 36px;
  border-bottom: 1px solid $borderColor;
  margin-bottom: 10px;
}
</style>