From 6be74fae87a57996e8cf1b8778ad16ddbb1f870b Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 27 二月 2024 16:57:10 +0800
Subject: [PATCH] 如果销售机会,客户名称为空查询所有销售报价单列表,否则查对应报价单,如果客户名称为空查所有销售机会列表

---
 src/store/index.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/store/index.js b/src/store/index.js
index 1d8741c..68e35eb 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -4,7 +4,15 @@
 
 Vue.use(Vuex)
 export default new Vuex.Store({
+  state:{
+    menus:[]
+  },
+  mutations: {
+    setMenus(state, payload) {  
+      state.menus = payload;  
+    },
+  },
   modules: {
     getClientName
-  }
+  },
 })

--
Gitblit v1.8.0