Commit 39408f6c authored by 沈翠玲's avatar 沈翠玲

修复问题

parent 499042e9
......@@ -728,8 +728,7 @@
message: '修改分期数值后要确认',
plain: true,
});
const arr = splitdata.value.filter((v) => v.applyAmount < minAmount.value);
if (arr.length > 0)
if (Number(form.totalRepayAmount || 0) < minAmount.value)
return ElMessage.warning({
message: '分期金额要大于本批次的分期最低金额',
plain: true,
......
......@@ -558,8 +558,7 @@
message: '修改分期数值后要确认',
plain: true,
});
const arr = splitdata.value.filter((v) => v.applyAmount < minAmount.value);
if (arr.length > 0)
if (Number(form.totalRepayAmount || 0) < minAmount.value)
return ElMessage.warning({
message: '分期金额要大于本批次的分期最低金额',
plain: true,
......
......@@ -383,7 +383,7 @@
title: '是否有跟进记录',
width: 80,
enum: BooleanStatus,
search: { el: 'select', props: { filterable: true,clearable: true }, labelWidth: 90, defaultValue: activeName.value === '全部' ? 'N' : 'Y' },
search: activeName.value === '全部' ? { el: 'select', props: { filterable: true,clearable: true }, labelWidth: 90, defaultValue: 'N' } : null,
fieldNames: { label: 'label', value: 'value' },
slots: {
default: ({ row }) => {
......
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