From f0119595aab57a037a40b0c9fc183bb1517d015f Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期一, 16 十月 2023 14:56:16 +0800
Subject: [PATCH] feat: 销售机会编辑时允许编辑联系人

---
 src/store/modules/getClientName.js |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/src/store/modules/getClientName.js b/src/store/modules/getClientName.js
index f24918d..194f2b0 100644
--- a/src/store/modules/getClientName.js
+++ b/src/store/modules/getClientName.js
@@ -84,6 +84,9 @@
         }
       })
     },
+    getContactFilter({ commit }, newData) {
+      commit("contactNameList", newData)
+    },
     geChance(context) {
       getSaleChanceList().then((res) => {
         if (res.code == 200) {
@@ -92,6 +95,9 @@
           Message.error(res.msg)
         }
       })
+    },
+    getChanceFilter({commit},newData){
+      commit("saleChancelist",newData)
     },
     geLead(context) {
       getSalesLeadsList().then((res) => {
@@ -138,6 +144,9 @@
         }
       })
     },
+    getSalesDetailsFliter({commit},newData){
+      commit("salesDetailsList", newData)
+    },
     geQuotation(context) {
       getQuotationList().then((res) => {
         if (res.code == 200) {
@@ -158,9 +167,9 @@
     },
     geProductList(context) {
       getProductList({ productName: "", productNumber: "", page: 1, pageSize: 10 }).then((res) => {
-        if (res.data.code == 200) {
-          console.log(res.data.data.data)
-          context.commit("productList", res.data.data.data)
+        if (res.code == 200) {
+          console.log(res.data.data)
+          context.commit("productList", res.data.data)
         } else {
           Message.error(res.msg)
         }
@@ -175,6 +184,9 @@
           Message.error(res.msg)
         }
       })
+    },
+    getReturnListFliter({commit},newData){
+      commit("salesReturnList",newData)
     }
   }
 }

--
Gitblit v1.8.0