repayMsgDetailModal.vue
4.45 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
<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.repaymentFlowNo}}</div>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="还款时间" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.actualTime}}</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.userActualSumMoney?detailData.userActualSumMoney:detailData.actualSumMoney}}</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 class="c189" v-for="(item,index) in dbRepayChannel" :key="index" v-if="detailData.repayChannel==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 class="c189" v-if="detailData.paymentChannel=='OFFLINE'">线下</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 dbRepayPayStatus" :key="index" v-if="detailData.payStatus==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.failReason}}</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.remark}}</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.bindAccountName}}</div>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="还款账户号" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.bindAccountNoView}}</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.fundNo}}</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.receiptAccount}}</div>
</a-form-item>
</a-col>
</a-row>
</a-card>
</a-modal>
</template>
<script>
import { deleteCusExtAttachment } from '@/api/configApi'
export default {
name: 'repayMsgDetailModal',
components: {
},
data () {
return {
dbRepayChannel: JSON.parse(sessionStorage.getItem('DB_REPAY_CHANNEL')), // 还款方式
dbRepayPayStatus: JSON.parse(sessionStorage.getItem('DB_REPAY_PAY_STATUS')), // 还款状态
detailData: {},
loading: false,
visible: false,
}
},
created () {
},
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>