Commit 65852cbd authored by 沈翠玲's avatar 沈翠玲

bug修复

parent 71d9489d
......@@ -96,7 +96,7 @@
style="display: block"
label="跟进结果:"
prop="name"
label-position="top"
>
<el-tabs v-model="resuleObj.label" class="w-full">
<el-tab-pane
......@@ -154,7 +154,7 @@
<p class="font-bold mb-2 mt-2">跟进附件:</p>
<el-form inline :model="form" :rules="rules" label-width="110px" label-position="left">
<el-form-item class="w-full" label="通话录音:" prop="code">
<el-icon>
<el-icon style="cursor:pointer;margin-right: 10px">
<Download
v-for="(item, index) in form.voices"
:key="index"
......@@ -397,8 +397,7 @@
}
};
const download = (item) => {
const name = item.slice(item.lastIndexOf('/') + 1, item.length);
downloadfile('/sys/static/' + item, {}, name);
downloadfile(item.url.replace(envs.VITE_GLOB_API_URL_PREFIX, ''), {}, item.name);
};
const handleRemove3 = (uploadFile, uploadFiles) => {
const index = form.others.findIndex((v) => v.name === uploadFile.name);
......
......@@ -96,7 +96,7 @@
style="display: block"
label="跟进结果:"
prop="name"
label-position="top"
>
<el-tabs v-model="resuleObj.label" class="w-full">
<el-tab-pane
......@@ -154,7 +154,7 @@
<p class="font-bold mb-2 mt-2">跟进附件:</p>
<el-form inline :model="form" :rules="rules" label-width="110px" label-position="left">
<el-form-item class="w-full" label="通话录音:" prop="code">
<el-icon>
<el-icon style="cursor:pointer;margin-right: 10px">
<Download
v-for="(item, index) in form.voices"
:key="index"
......@@ -397,8 +397,7 @@
}
};
const download = (item) => {
const name = item.slice(item.lastIndexOf('/') + 1, item.length);
downloadfile('/sys/static/' + item, {}, name);
downloadfile(item.url.replace(envs.VITE_GLOB_API_URL_PREFIX, ''), {}, item.name);
};
const handleRemove3 = (uploadFile, uploadFiles) => {
const index = form.others.findIndex((v) => v.name === uploadFile.name);
......
......@@ -94,12 +94,10 @@
</el-col>
<el-col :span="24">
<el-form-item
class="w-full"
style="display: block"
class="w-full" style="display: block"
label="跟进结果:"
required
prop="name"
label-position="top"
>
<el-tabs v-model="resuleObj.label" class="w-full">
<el-tab-pane
......
......@@ -412,6 +412,11 @@
}, 500);
};
const submitForm = () => {
if (form.totalReduceAmount > form.commissionAmount)
return ElMessage.warning({
message: '减免金额不能大于委案金额',
plain: true,
});
const list = JSON.parse(JSON.stringify(selectdList.value));
list.forEach((item) => {
......
......@@ -32,6 +32,11 @@
label-position="left"
>
<el-row>
<el-col :span="24">
<el-form-item class="w-full" label="分期最低金额:" prop="name">
{{ minAmount }}
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item class="w-full" label="剩余待还总额:" prop="name">
{{ form.remainingAmount }}
......@@ -558,7 +563,7 @@
const arr = splitdata.value.filter((v) => v.applyAmount < minAmount.value);
if (arr.length > 0)
return ElMessage.warning({
message: '分期金额要大于借款平台的分期最低金额',
message: '分期金额要大于本批次的分期最低金额',
plain: true,
});
......
......@@ -203,9 +203,9 @@
search: { render: ({ searchParam }) => {
return (
<div class="flex">
<el-input vModel_trim={searchParam.commissionAmountBegin} placeholder="" />
<el-input vModel_trim={searchParam.commissionAmountBegin} placeholder="最小值" />
<span class="mr-1 ml-1">-</span>
<el-input vModel_trim={searchParam.commissionAmountEnd} placeholder="" />
<el-input vModel_trim={searchParam.commissionAmountEnd} placeholder="最大值" />
</div>
);
}, props: { clearable: true }, labelWidth: 90 },
......
......@@ -96,7 +96,7 @@
style="display: block"
label="跟进结果:"
prop="name"
label-position="top"
>
<el-tabs v-model="resuleObj.label" class="w-full">
<el-tab-pane
......@@ -405,8 +405,7 @@
}
};
const download = (item) => {
const name = item.slice(item.lastIndexOf('/') + 1, item.length);
downloadfile('/sys/static/' + item, {}, name);
downloadfile(item.url.replace(envs.VITE_GLOB_API_URL_PREFIX, ''), {}, item.name);
};
const handleRemove3 = (uploadFile, uploadFiles) => {
const index = form.others.findIndex((v) => v.name === uploadFile.name);
......
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