From f2b7de3623f3e439c27fd0363d73a6d74a9b4aaf Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 29 十一月 2023 15:39:40 +0800
Subject: [PATCH] 客户管理模块新建设置默认负责人为当前用户

---
 src/views/service/serviceContract/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/service/serviceContract/index.vue b/src/views/service/serviceContract/index.vue
index 7bc06b1..d56d3d6 100644
--- a/src/views/service/serviceContract/index.vue
+++ b/src/views/service/serviceContract/index.vue
@@ -271,9 +271,9 @@
       this.editConfig.infomation = {
         ...this.addConfig,
         currency: "浜烘皯甯�",
-        client_name: "",
+        client_name: Object.keys(this.addConfig).length === 0 ? "" : this.addConfig.client_name,
         contact_name: "",
-        sale_chance_name: "",
+        sale_chance_name: Object.keys(this.addConfig).length === 0 ? "" : this.addConfig.sale_chance_name,
         contract_number: "",
         quotation_number: ""
       }

--
Gitblit v1.8.0