recordLendingDetailModal.vue
4.3 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
<template>
<a-modal title="放款记录详情" :width="800" :centered="true" :visible="visible" @cancel="handleCancel" :footer="null" :maskClosable="false" style="top:20px;" class="scope-record">
<a-card title="放款基本信息" :bordered="false">
<a-row :gutter="24">
<a-col :span="12">
<a-form-item label="借款订单编号" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.orderNo}}</div>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="申请时间" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.applyDate}}</div>
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="12">
<a-form-item label="放款编号" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.remitNo}}</div>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="放款时间" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.loanTime}}</div>
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="12">
<a-form-item label="放款金额(元)" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.remitPrincipal}}</div>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="放款状态" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div class="c189" v-for="(item,index) in dbRemitApplyStatus" :key="index" v-if="detailData.loanStatus==item.name">{{item.title}}</div>
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="12">
<a-form-item label="放款方式" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div v-for="(item,index) in dbPaymentWay" :key="index" v-if="detailData.paymentWay==item.name">{{item.title}}</div>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="放款失败原因" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.failDesc}}</div>
</a-form-item>
</a-col>
</a-row>
</a-card>
<a-card title="资金方信息" :bordered="false">
<a-row :gutter="24">
<a-col :span="12">
<a-form-item label="金融机构编号" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.fundNo}}</div>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="金融机构名称" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.fundName}}</div>
</a-form-item>
</a-col>
</a-row>
</a-card>
<a-card title="收款账户信息" :bordered="false">
<a-row :gutter="24">
<a-col :span="12">
<a-form-item label="收款账户名称" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.bankName}}</div>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="收款账户号" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.loanAccountNoView}}</div>
</a-form-item>
</a-col>
</a-row>
</a-card>
</a-modal>
</template>
<script>
import { deleteCusExtAttachment } from '@/api/configApi'
export default {
name: 'recordLendingDetailModal',
components: {
},
data () {
return {
dbPaymentWay: JSON.parse(sessionStorage.getItem('DB_PAYMENT_WAY')), // 放款方式
dbRemitApplyStatus: JSON.parse(sessionStorage.getItem('DB_REMIT_APPLY_STATUS')), // 放款状态
detailData: {},
loading: false,
visible: false,
}
},
created () {
console.log(this.dbPaymentWay)
},
methods: {
edit (record) {
this.detailData = record
this.visible = true;
this.$parent.visible = false;
},
handleDetailLook () {
},
handleCancel () {
this.close()
},
close () {
this.$emit('close')
this.visible = false
},
}
}
</script>
<style>
.scope-record .ant-form-item {
margin-bottom: 12px;
}
.scope-record .ant-card-body {
padding: 20px 24px 0;
}
.scope-record .c189 {
color: #1890ff;
}
.scope-record .fw {
font-weight: bold;
}
</style>