|
@@ -453,9 +453,9 @@ const submitForm = () => {
|
|
|
}
|
|
|
}
|
|
|
const total = list.reduce((total, x) => (total += Number(x.money)), 0);
|
|
|
- if (Number(formData.data.amount) !== total) {
|
|
|
+ if (Number(formData.data.amount) < total) {
|
|
|
return ElMessage({
|
|
|
- message: "认领金额总合和交易金额需一致!",
|
|
|
+ message: "认领金额总合不能大于交易金额!",
|
|
|
type: "info",
|
|
|
});
|
|
|
}
|