From 60a8f558b3d144cf3ff5e903de0f384c079268c3 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期四, 28 九月 2023 11:54:56 +0800 Subject: [PATCH] feat: 服务合同页列表配置列显隐控制; 修复列显隐组件按钮层级过高的问题 --- src/views/client/salesLead/DetailSalesLead.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/client/salesLead/DetailSalesLead.vue b/src/views/client/salesLead/DetailSalesLead.vue index adafad6..0fd12d9 100644 --- a/src/views/client/salesLead/DetailSalesLead.vue +++ b/src/views/client/salesLead/DetailSalesLead.vue @@ -171,9 +171,11 @@ if (item.FollowRecord && item.FollowRecord.length > 0) { this.record = item.FollowRecord[0].record console.log(item.FollowRecord[0].follow_time) - let follow_time = item.FollowRecord[0].follow_time - this.newContactDays = follow_time.substring(0, 10) - this.noContactDays = this.getDiffDay(Date.now(), this.newContactDays) + if (item.FollowRecord[0].follow_time && item.FollowRecord[0].follow_time.length > 0) { + let follow_time = item.FollowRecord[0].follow_time + this.newContactDays = follow_time.substring(0, 10) + this.noContactDays = this.getDiffDay(Date.now(), this.newContactDays) + } } this.basicInfoList = [ { -- Gitblit v1.8.0