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

案件详情

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