Commit 388055c0 authored by 沈翠玲's avatar 沈翠玲

案件详情

parent 3e843e4d
......@@ -382,7 +382,7 @@
</tr>
</tbody>
</table> -->
<div class="w-2/3">
<div class=" w-3/4 pr-3">
<ProTable
:config="splitConfig"
ref="splitRef"
......@@ -483,7 +483,7 @@
</template>
</ProTable>
</div>
<div class="w-1/3 pl-3">
<div class="w-1/4">
<ProTable
:config="splitDeConfig"
:data="splitDeData"
......@@ -583,6 +583,9 @@
const downloadfile = inject('download');
const splitRef = ref();
const caseDetailRef = ref();
const splitCurrent = ref({
flowStatus: ''
});
const returnModalRef = ref();
const repairModalRef = ref();
const reduceTRef = ref();
......@@ -971,6 +974,8 @@
});
const onCellClick = ({ row, rowIndex }) => {
splitDeData.value = row.byStagesRecords;
splitCurrent.value = row
console.log('splitCurrent', splitCurrent)
};
const add = (a, b) => {
return (parseFloat(a) + parseFloat(b)).toFixed(2);
......@@ -1029,6 +1034,24 @@
showOverflow: 'tooltip',
width: 100,
},
{
field: 'flowStatus',
title: '审核状态',
showOverflow: 'tooltip',
width: 80,
fieldNames: { label: 'label', value: 'value' },
slots: {
default: ({ row }) => {
return (
<>
{row.flowStatus
? FlowStatus.value?.find((v) => v.value === row.flowStatus)?.label
: ''}
</>
);
},
},
},
{
field: 'remainingAmount',
title: '剩余待还金额',
......@@ -1064,6 +1087,7 @@
{
field: 'period',
title: '期次',
width: 48,
showOverflow: 'tooltip',
},
{
......@@ -1074,6 +1098,7 @@
{
field: 'repayStatus',
title: '状态',
width: 60,
showOverflow: 'tooltip',
slots: {
default: ({ row }) => {
......@@ -1097,7 +1122,7 @@
<ElButton
type="primary"
onClick={() => returnCrash(row, '分期还款')}
disabled={row.repayStatus === 'over' || splitDeData.value.flowStatus !== 'pass'}
disabled={row.repayStatus === 'over' || splitCurrent.value.flowStatus !== 'pass'}
>
还款
</ElButton>
......@@ -1203,6 +1228,24 @@
showOverflow: 'tooltip',
title: '减免截止时间',
},
{
field: 'flowStatus',
title: '审核状态',
showOverflow: 'tooltip',
width: 80,
fieldNames: { label: 'label', value: 'value' },
slots: {
default: ({ row }) => {
return (
<>
{row.flowStatus
? FlowStatus.value?.find((v) => v.value === row.flowStatus)?.label
: ''}
</>
);
},
},
},
{
field: 'inEffectDate',
showOverflow: 'tooltip',
......
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