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'
+ }
// 在