Commit 113bfc80 authored by 沈翠玲's avatar 沈翠玲

增加字段

parent 8096a597
...@@ -315,6 +315,18 @@ ...@@ -315,6 +315,18 @@
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 80, width: 80,
}, },
{
field: 'weiyuejin',
title: '当前逾期违约金',
showOverflow: 'tooltip',
width: 80,
},
{
field: 'faxi',
title: '当前逾期罚息',
showOverflow: 'tooltip',
width: 80,
},
{ {
field: 'cpe.username', field: 'cpe.username',
title: 'CPE', title: 'CPE',
......
...@@ -316,6 +316,18 @@ ...@@ -316,6 +316,18 @@
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 80, width: 80,
}, },
{
field: 'weiyuejin',
title: '当前逾期违约金',
showOverflow: 'tooltip',
width: 80,
},
{
field: 'faxi',
title: '当前逾期罚息',
showOverflow: 'tooltip',
width: 80,
},
{ {
field: 'cpe.username', field: 'cpe.username',
title: 'CPE', title: 'CPE',
......
...@@ -415,6 +415,18 @@ ...@@ -415,6 +415,18 @@
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 80, width: 80,
}, },
{
field: 'weiyuejin',
title: '当前逾期违约金',
showOverflow: 'tooltip',
width: 80,
},
{
field: 'faxi',
title: '当前逾期罚息',
showOverflow: 'tooltip',
width: 80,
},
{ {
field: 'cpe.username', field: 'cpe.username',
title: 'CPE', title: 'CPE',
......
...@@ -187,11 +187,11 @@ ...@@ -187,11 +187,11 @@
<td>{{ row?.sumReductionAmount }}</td> <td>{{ row?.sumReductionAmount }}</td>
<td class="label">剩余待还金额</td> <td class="label">剩余待还金额</td>
<td>{{ row?.remainingAmount }}</td> <td>{{ row?.remainingAmount }}</td>
<td class="label">折扣后金额</td> <td class="label">委案金额折扣值</td>
<td>{{ <td>{{
row?.remainingAmount && row?.discount row?.commissionAmount && row?.discount
? Decimal(row?.remainingAmount).mul(Decimal(row?.discount)) ? Decimal(row?.commissionAmount).mul(Decimal(row?.discount)).div(Decimal(10))
: row?.remainingAmount : row?.commissionAmount
}}</td> }}</td>
</tr> </tr>
<tr> <tr>
...@@ -201,14 +201,12 @@ ...@@ -201,14 +201,12 @@
<td>{{ row?.cpeDate }}</td> <td>{{ row?.cpeDate }}</td>
<td class="label">本金余额</td> <td class="label">本金余额</td>
<td>{{ row?.principalBalance }}</td> <td>{{ row?.principalBalance }}</td>
<td class="label">案件状态</td> <td class="label">本金余额折扣值</td>
<td> <td>{{
{{ row?.principalBalance && row?.discount
row?.caseStatus ? Decimal(row?.principalBalance).mul(Decimal(row?.discount)).div(Decimal(10))
? CaseStatus.find((v) => v.value === row?.caseStatus)?.label : row?.principalBalance
: '' }}</td>
}}</td
>
</tr> </tr>
<tr> <tr>
<td class="label">手续费</td> <td class="label">手续费</td>
...@@ -226,6 +224,14 @@ ...@@ -226,6 +224,14 @@
?.label ?.label
: '' : ''
}}</td> }}</td>
<td class="label">案件状态</td>
<td>
{{
row?.caseStatus
? CaseStatus.find((v) => v.value === row?.caseStatus)?.label
: ''
}}</td
>
</tr> </tr>
<tr> <tr>
<td class="label">借款时间</td> <td class="label">借款时间</td>
...@@ -287,6 +293,12 @@ ...@@ -287,6 +293,12 @@
<td class="label">垫付费用</td> <td class="label">垫付费用</td>
<td>{{ row?.credit?.disbursement }}</td> <td>{{ row?.credit?.disbursement }}</td>
</tr> </tr>
<tr>
<td class="label">当前逾期违约金</td>
<td>{{ row?.weiyuejin }}</td>
<td class="label">当前逾期罚息</td>
<td>{{ row?.faxi }}</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
......
...@@ -400,6 +400,18 @@ ...@@ -400,6 +400,18 @@
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 80, width: 80,
}, },
{
field: 'weiyuejin',
title: '当前逾期违约金',
showOverflow: 'tooltip',
width: 80,
},
{
field: 'faxi',
title: '当前逾期罚息',
showOverflow: 'tooltip',
width: 80,
},
{ {
field: 'repayStatus', field: 'repayStatus',
title: '还款状态', title: '还款状态',
......
...@@ -417,6 +417,18 @@ ...@@ -417,6 +417,18 @@
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 80, width: 80,
}, },
{
field: 'weiyuejin',
title: '当前逾期违约金',
showOverflow: 'tooltip',
width: 80,
},
{
field: 'faxi',
title: '当前逾期罚息',
showOverflow: 'tooltip',
width: 80,
},
{ {
field: 'cpe.username', field: 'cpe.username',
title: 'CPE', title: 'CPE',
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
<vxe-button @click="exportEvent">直接导出 CSV 文件</vxe-button> <vxe-button @click="exportEvent">直接导出 CSV 文件</vxe-button>
<ProTable <ProTable
:config="config" :config="config"
:data="data" :paramCallback="paramCallback"
:showPagination="false" :api="pengLoanExcel"
ref="ProTableRef" ref="ProTableRef"
:showToolBar="false" :showToolBar="false"
/> />
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<script setup lang="jsx"> <script setup lang="jsx">
import { computed } from 'vue'; import { computed } from 'vue';
import { reactive, ref } from 'vue'; import { reactive, ref, nextTick } from 'vue';
import { pengLoanExcel } from '@/api/import'; import { pengLoanExcel } from '@/api/import';
import { useDict } from '@/hooks/useDict'; import { useDict } from '@/hooks/useDict';
const { PhoneResultStatus, ReduceType, FlowStatus, FollowStatus, AuditStatus, CaseStatus } = const { PhoneResultStatus, ReduceType, FlowStatus, FollowStatus, AuditStatus, CaseStatus } =
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
}; };
const config = reactive({ const config = reactive({
exportConfig: {}, exportConfig: {},
maxHeight: 500,
toolbarConfig: { enabled: false }, toolbarConfig: { enabled: false },
columns: [ columns: [
{ {
...@@ -106,6 +107,18 @@ ...@@ -106,6 +107,18 @@
title: '折扣', title: '折扣',
width: 80, width: 80,
}, },
{
field: 'weiyuejin',
title: '当前逾期违约金',
showOverflow: 'tooltip',
width: 80,
},
{
field: 'faxi',
title: '当前逾期罚息',
showOverflow: 'tooltip',
width: 80,
},
{ {
field: 'commissionAmount', field: 'commissionAmount',
title: '委案金额', title: '委案金额',
...@@ -246,12 +259,6 @@ ...@@ -246,12 +259,6 @@
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 80, width: 80,
}, },
{
field: 'credit.closingStatus',
title: '结案状态',
showOverflow: 'tooltip',
width: 80,
},
{ {
field: 'credit.constantNo', field: 'credit.constantNo',
title: '合同编号', title: '合同编号',
...@@ -368,22 +375,22 @@ ...@@ -368,22 +375,22 @@
}, },
], ],
}); });
const paramCallback = (param) => {
const obj = JSON.parse(JSON.stringify(param));
console.log('asdasd', obj)
obj['batchCode'] = currentAccount.value.code
return obj;
}
const onHide = () => { const onHide = () => {
currentAccount.value = null; currentAccount.value = null;
}; };
const query = () => ProTableRef.value?.search();
const openModal = (account) => { const openModal = (account) => {
showModal.value = true; showModal.value = true;
currentAccount.value = account; currentAccount.value = account;
pengLoanExcel({ nextTick(() => {
batchCode: account.code, query()
current: 1, })
size: 9999999,
}).then((res) => {
if (res.result) {
data.value = res.result.content;
}
});
}; };
defineExpose({ defineExpose({
......
...@@ -421,6 +421,18 @@ ...@@ -421,6 +421,18 @@
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 80, width: 80,
}, },
{
field: 'weiyuejin',
title: '当前逾期违约金',
showOverflow: 'tooltip',
width: 80,
},
{
field: 'faxi',
title: '当前逾期罚息',
showOverflow: 'tooltip',
width: 80,
},
{ {
field: 'commissionAmount', field: 'commissionAmount',
title: '委案金额', title: '委案金额',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment