From 8a0d4fc516f6a32102e37bc868ff93a73a4c86de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Thu, 4 Sep 2025 14:38:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E8=B7=9F=E8=BF=9B?= =?UTF-8?q?=E6=97=B6=E9=97=B4=20=20=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/crmpc/customer/Followadd.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/views/crmpc/customer/Followadd.vue b/src/views/crmpc/customer/Followadd.vue index 3c37d1c..be9408c 100644 --- a/src/views/crmpc/customer/Followadd.vue +++ b/src/views/crmpc/customer/Followadd.vue @@ -202,7 +202,7 @@ v-for="item in remindOptions.filter((opt) => opt.value !== 'custom')" :key="item.value" :class="['remind-btn', { active: remindValue === item.value }]" - @click="remindValue = item.value" + @click="selectPreset(item.value)" > {{ item.label }} @@ -214,6 +214,10 @@ style="width: 100%" CircleClose :disabled-date="disabledPastDate" + @focus="selectCustom" + @change="selectCustom" + clearable + @clear="customDate = ''" /> 确定 @@ -346,6 +350,14 @@ ElMessage.error(e?.message || '提交失败') } } + // 提醒方式互斥处理 + const selectPreset = (val: string) => { + remindValue.value = val + customDate.value = '' + } + const selectCustom = () => { + remindValue.value = 'custom' + } // 在