Commit 8c506804 authored by 沈翠玲's avatar 沈翠玲

还款记录

parent 0b225f3e
......@@ -139,6 +139,17 @@
enum: options,
search: { el: 'select', props: { filterable: true }, span: 1, labelWidth: 80 },
fieldNames: { label: 'label', value: 'value' },
slots: {
default: ({ row }) => {
return (
<>
{row.repayType
? options.find((v) => v.value === row.repayType).label
: ''}
</>
);
},
},
width: 80,
},
{
......
......@@ -257,7 +257,13 @@
});
};
const changeRadio = () => {
radio.value === 0 && getStatisis(pageParams.value);
let param = {}
if (lonsArr.value && lonsArr.value.length) {
param['loanIds'] = lonsArr.value.map(v => v.id)
} else {
param = {...pageParams.value}
}
radio.value === 0 && getStatisis(param);
step.value = 0
currentTenant.value = null;
};
......
......@@ -279,6 +279,7 @@
const param = {
repayType: options.find((v) => v.label === currentType.value).value,
...form,
repayAmount: form.realRepayAmount,
borrower: currentInfo.value.borrower,
flowStatus: 'pending',
repayStatus: 'over',
......
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