fix: 商机改为已流失时前端自动清空列收时间再提交

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-12 20:56:03 +08:00
parent 82755e14a1
commit 9354752b89
2 changed files with 5 additions and 1 deletions
@@ -78,6 +78,7 @@ async function handleQuickCreate() {
async function handleSubmit() {
if (!form.value.customer_id) { ElMessage.warning('请选择客户'); return }
if (form.value.status === '已流失') form.value.expected_revenue_date = ''
submitLoading.value = true
try {
if (isEdit.value) {