Commit 4fb345b4 authored by 沈翠玲's avatar 沈翠玲

案件详情不可以勾选结案的案件

parent cb038b2e
...@@ -524,6 +524,12 @@ ...@@ -524,6 +524,12 @@
message: '跟进时间必选', message: '跟进时间必选',
}); });
} }
const arr1 = selectdList.value.filter((v) => v.repayStatus === 'over');
if (arr1.length > 0)
return ElMessage.warning({
message: '不可以勾选结案的案件',
plain: true,
});
saveTrackRecord({ saveTrackRecord({
loans: selectdList.value, loans: selectdList.value,
guarantor: currentInfo.value, guarantor: currentInfo.value,
......
...@@ -419,6 +419,12 @@ ...@@ -419,6 +419,12 @@
list.forEach((item) => { list.forEach((item) => {
delete item.payAmount; delete item.payAmount;
}); });
const arr1 = list.filter((v) => v.loan.repayStatus === 'over');
if (arr1.length > 0)
return ElMessage.warning({
message: '不可以勾选结案的案件',
plain: true,
});
let images = form.images.map((v) => v.url) let images = form.images.map((v) => v.url)
images = images.map((v) => { images = images.map((v) => {
return v.replace(envs.VITE_GLOB_API_URL_PREFIX + '/sys/static/', ''); return v.replace(envs.VITE_GLOB_API_URL_PREFIX + '/sys/static/', '');
......
...@@ -565,6 +565,13 @@ ...@@ -565,6 +565,13 @@
message: '分期金额要大于借款平台的分期最低金额', message: '分期金额要大于借款平台的分期最低金额',
plain: true, plain: true,
}); });
const arr1 = selectdList.value.filter((v) => v.repayStatus === 'over');
if (arr1.length > 0)
return ElMessage.warning({
message: '不可以勾选结案的案件',
plain: true,
});
let images = form.images.map((v) => v.url) let images = form.images.map((v) => v.url)
images = images.map((v) => { images = images.map((v) => {
return v.replace(envs.VITE_GLOB_API_URL_PREFIX + '/sys/static/', ''); return v.replace(envs.VITE_GLOB_API_URL_PREFIX + '/sys/static/', '');
......
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