From 191410459f20eb64a1ede22b926c6cfed744b21b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 22 五月 2026 11:42:14 +0800
Subject: [PATCH] 宝东 1.代码合并

---
 src/views/basicData/customerFile/index.vue        |   12 ++++--------
 src/views/basicData/customerFileOpenSea/index.vue |    3 +++
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/views/basicData/customerFile/index.vue b/src/views/basicData/customerFile/index.vue
index f997a51..42e3ec7 100644
--- a/src/views/basicData/customerFile/index.vue
+++ b/src/views/basicData/customerFile/index.vue
@@ -899,6 +899,7 @@
   const openForm = (type, row) => {
     operationType.value = type;
     form.value = {};
+    form.value.maintainer = userStore.nickName;
     formYYs.value.contactList = [
       {
         contactPerson: "",
@@ -957,14 +958,9 @@
       .map(item => item.contactPhone)
       .join(",");
     addCustomer(form.value).then(res => {
-      form.value.contactPosition = formYYs.value.contactList
-        .map(item => item.contactPosition || "")
-        .join(",");
-      addCustomerPrivate(form.value).then(res => {
-        proxy.$modal.msgSuccess("鎻愪氦鎴愬姛");
-        closeDia();
-        getList();
-      });
+      proxy.$modal.msgSuccess("鎻愪氦鎴愬姛");
+      closeDia();
+      getList();
     });
   };
   // 鎻愪氦淇敼
diff --git a/src/views/basicData/customerFileOpenSea/index.vue b/src/views/basicData/customerFileOpenSea/index.vue
index ac901cc..a475aaf 100644
--- a/src/views/basicData/customerFileOpenSea/index.vue
+++ b/src/views/basicData/customerFileOpenSea/index.vue
@@ -1033,6 +1033,7 @@
   const openForm = (type, row) => {
     operationType.value = type;
     form.value = {};
+    form.value.maintainer = userStore.nickName;
     formYYs.value.contactList = [
       {
         contactPerson: "",
@@ -1040,6 +1041,8 @@
         contactPosition: "",
       },
     ];
+    form.value.maintenanceTime = getCurrentDate();
+    form.value.type = 1;
     userListNoPage().then(res => {
       userList.value = res.data;
     });

--
Gitblit v1.9.3