|
|
|
@ -272,6 +272,10 @@ async function handleSave() { |
|
|
|
|
if (!formRef.value) return |
|
|
|
|
const valid = await formRef.value.getElFormRef().validate() |
|
|
|
|
if (!valid) return |
|
|
|
|
if (!followList.value && followList.value.length == 0) { |
|
|
|
|
message.info('请添加跟进人') |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if (followList.value && followList.value.length && followList.value.some((it) => !it.userId)) { |
|
|
|
|
message.info('请将跟进人填写完整!') |
|
|
|
|
return |
|
|
|
|