From 06611cb899ed5e32479585d175b8011a90bc675f Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 16 十月 2023 12:42:49 +0800 Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/crm-web into wn --- src/store/modules/getClientName.js | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/store/modules/getClientName.js b/src/store/modules/getClientName.js index c53f358..194f2b0 100644 --- a/src/store/modules/getClientName.js +++ b/src/store/modules/getClientName.js @@ -84,7 +84,7 @@ } }) }, - getContactFilter({commit},newData){ + getContactFilter({ commit }, newData) { commit("contactNameList", newData) }, geChance(context) { @@ -95,6 +95,9 @@ Message.error(res.msg) } }) + }, + getChanceFilter({commit},newData){ + commit("saleChancelist",newData) }, geLead(context) { getSalesLeadsList().then((res) => { @@ -141,6 +144,9 @@ } }) }, + getSalesDetailsFliter({commit},newData){ + commit("salesDetailsList", newData) + }, geQuotation(context) { getQuotationList().then((res) => { if (res.code == 200) { @@ -161,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) } @@ -178,6 +184,9 @@ Message.error(res.msg) } }) + }, + getReturnListFliter({commit},newData){ + commit("salesReturnList",newData) } } } -- Gitblit v1.8.0