backMsg.vue
4.74 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
<template>
<div>
<a-card title="客户信息" :bordered="false">
<a-row :gutter="24">
<a-col :span="8">
<a-form-item v-if="userType==1 || userType==3" label="客户名称" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.idcardName}}</div>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item v-if="userType==1 || userType==3" label="身份证号码" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.idcardNoView}}</div>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item v-if="userType==1 || userType==3" label="客户手机号" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.mobilePhoneView}}</div>
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="8">
<a-form-item v-if="userType==2 || userType==3" label="企业名称" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.idcardName}}</div>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item v-if="userType==2 || userType==3" label="统一社会信用代码" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.orgCode}}</div>
</a-form-item>
</a-col>
</a-row>
</a-card>
<a-card title="账单信息" :bordered="false">
<a-row :gutter="24">
<a-col :span="8">
<a-form-item label="产品分类名称" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.idcardName}}</div>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item label="子账单编号" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.idcardNoView}}</div>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item label="期数" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.mobilePhoneView}}</div>
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="8">
<a-form-item label="计划应还日期" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.idcardName}}</div>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item label="计划应还总额" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.orgCode}}</div>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item label="还款状态" :labelCol="{span:8}" :wrapperCol="{span:16}">
<div>{{detailData.orgCode}}</div>
</a-form-item>
</a-col>
</a-row>
</a-card>
<a-card title="回购记录" :bordered="false">
<a-table ref="table" size="middle" bordered :columns="columns" :rowKey="record => record.id" :dataSource="dataList" :pagination="false" :loading="loading" style="padding-bottom:30px;">
<!-- 字符串超长截取省略号显示-->
<span slot="esContent" slot-scope="text">
<j-ellipsis :value="text" :length="10" />
</span>
<span slot="action" slot-scope="text, record">
<a @click="handleDetailLook(record)">查看</a>
</span>
</a-table>
</a-card>
</div>
</template>
<script>
import { queryRepayPlan, queryFeeBillList } from '@/api/makeLoan'
export default {
name: 'backMsg',
props: {
billNo: {
type: String,
default: null
},
userType: {
type: Number,
default: null
}
},
data () {
return {
dataList: [],
dataListFee: [],
loading: false,
visible: false,
detailData: '',
dbTimePoint: JSON.parse(sessionStorage.getItem('DB_TIME_POINT')), // 收费模式
columns: [
{
title: '原资金方名称',
align: 'center',
dataIndex: 'planDate'
},
{
title: '回购资金方名称',
align: 'center',
dataIndex: 'duePrincipalMoney'
},
{
title: '回购日期',
align: 'center',
dataIndex: 'dueInterestMoney'
},
{
title: '回购金额',
align: 'center',
dataIndex: 'dueSumMoney'
},
{
title: '放款流水号',
align: 'center',
dataIndex: 'remark'
},
],
}
},
created () {
},
methods: {
loadData () {
let _p = { "billNo": this.billNo }
queryRepayPlan(_p).then(res => {
if (res.status.statusCode == 0) {
this.dataList = res.result
} else {
this.$message.warning(res.status.statusReason)
}
})
},
}
}
</script>
<style>
</style>