viewDialog.vue
4.5 KB
1
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<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: {
/**
* @description: getDetail
* @param {*} bsmZswj
* @author: renchao
*/
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>