viewDialog.vue 4.67 KB
<template>
  <dialogBox title="证书使用情况" @closeDialog="closeDialog" @submitForm="submitForm" v-model="myValue" :isButton="false">
    <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.zslx" 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.sfzf" 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>
  </dialogBox>
</template>

<script>
export default {
  props: {
    value: { type: Boolean, default: false },
  },
  data () {
    return {
      myValue: this.value,
      ruleForm: {
        rkbh: '',
        rksj: '',
        rkry: '',
        djjg: '',
        bz: '',
        ffbh: '',
        lqsj: '',
        // 证书信息
        bdcqzh: '',
        ywh: '',
        bdcdyh: '',
        zslx: '',
        ysxlh: '',
        sfzf: '',
        zfyy: ''
      }
    }
  },
  watch: {
    value (val) {
      this.myValue = val
    },
  },
  methods: {
    getDetail () {
    },
    submitForm () {
    },
    closeDialog () {
      this.$emit('input', false)
      this.$refs['ruleForm'].resetFields()
    }
  }
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";

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