From 4a3e3cb40ec008a29b094231275e5f14ac0a637d Mon Sep 17 00:00:00 2001 From: Trae AI Date: Wed, 4 Mar 2026 15:52:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B7=9F=E8=BF=9B=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=85=B6=E4=BB=96=E5=AE=A2=E6=88=B7=E7=9A=84=E6=93=8D?= =?UTF-8?q?=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/main/resources/static/index.html | 50 +++++++++++++++++------- 1 file changed, 35 insertions(+), 15 deletions(-) diff --git a/web/src/main/resources/static/index.html b/web/src/main/resources/static/index.html index 7aab26d..bb11392 100644 --- a/web/src/main/resources/static/index.html +++ b/web/src/main/resources/static/index.html @@ -5299,6 +5299,23 @@ document.body.insertAdjacentHTML('beforeend', permissionModalHTML); document.body.insertAdjacentHTML('beforeend', applyModalHTML); + // 为客户类型选择添加事件监听器 + document.getElementById('followupType').addEventListener('change', function() { + var selectedType = this.value; + if (selectedType === '其他类型') { + // 设置跟进内容为非鸡蛋行业客户 + document.getElementById('followupContent').value = '非鸡蛋行业客户'; + // 清空其他相关字段 + document.getElementById('followupLevel').value = ''; + document.getElementById('followupDemand').value = ''; + document.getElementById('followupRegion').value = ''; + document.getElementById('followupRegionDisplay').textContent = '请选择客户地区'; + document.getElementById('followupRegionDisplay').style.color = '#999'; + document.getElementById('followupDetailedAddress').value = ''; + document.getElementById('followupCompany').value = ''; + } + }); + // 员工申请记录模态框HTML var employeeApplyModalHTML = `