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
| <template>
| <div>
| <template v-for="(item, index) in info">
| <FormInfo :info="item" :keys="formHeader[item.collateralType.value]" :title="item.collateralType.value == '2' ? '动产抵押物' : '不动产抵押物' " :loading="loading" v-if="item.hasCollateral.value == 1"></FormInfo>
| </template>
| </div>
| </template>
| <script>
| // 借款人信息
| import {
| qryCollateralInfo,
| } from "@/api/product";
| import FormInfo from '../FormInfo'
| import KeysTable from '../KeysTable'
|
| export default {
| props: {
| // 申请编号
| serialNo: {
| type: String,
| required: true
| },
| objectType: {
| type: String,
| default: ''
| },
| customerID: {
| type: String,
| default: ''
| },
| flowno: {
| type: String,
|
| // 默认为案场
| default: 'CreditFlowCase'
| }
| },
| components: {
| FormInfo,
| KeysTable
| },
| data() {
| return {
| info: [],
| list: [],
| loading: false,
| activeName: '0',
| formHeader: {1:[
| { field: 'mortgagor', label: '抵押人' },
| { field: 'mortgagorCertId', label: '身份证号码' },
| { field: 'mortgagorPhone', label: '手机号码' },
| { field: 'collateralNo', label: '房产证编号' },
| { field: 'valuation', label: '房产估价协商值',isMoney:true },
| { field: 'evaluation', label: '房产评估价',isMoney:true },
| { field: 'useRightTerm', label: '房产使用权期限' },
| { field: 'postalAddress', label: '通讯地址', isLong: true },
| { field: 'collateralAddress', label: '房产地址', isLong: true },
| ],2:[
| { field: 'mortgagor', label: '抵押人' },
| { field: 'mortgagorCertId', label: '统一社会信用代码' },
| { field: 'corporateName', label: '抵押企业法人姓名' },
| { field: 'corporateCertId', label: '抵押企业法人身份证号码' },
| { field: 'corporatePhone', label: '抵押企业法人手机号码' },
| { field: 'collateralAmt', label: '抵押金额', isMoney:true },
| { field: 'collateralDesc', label: '抵押财产信息描述' }
| ]},
|
| }
| },
| created() {
| this.init()
| },
| methods: {
| async init() {
| let result = await this.qryCollateralInfo()
| this.info = result.collateralInfoList
| },
| qryCollateralInfo() {
| return new Promise((resolve) => {
| qryCollateralInfo({
| applySerialno: this.serialNo,
| }).then((res) => {
| resolve(res.result);
| });
| });
| },
| },
| watch: {
| serialNo() {
| this.init()
| }
| }
| }
| </script>
|
| <style lang="postcss" scoped>
| </style>
|
|