From 51d7fcaa2f15cbc920d0e6e698ef6b9e7ef3fbf1 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期一, 25 九月 2023 15:47:29 +0800
Subject: [PATCH] style: 跟进记录模块样式调整
---
src/store/modules/getClientName.js | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/src/store/modules/getClientName.js b/src/store/modules/getClientName.js
index 90f5a17..f24918d 100644
--- a/src/store/modules/getClientName.js
+++ b/src/store/modules/getClientName.js
@@ -9,6 +9,7 @@
import { getQuotationList } from "@/api/sales/quotation"
import { getServiceOrderList } from "@/api/serviceManage/clientServiceOrder"
import { getProductList } from "@/api/common/other"
+import { getSalesReturnList } from "@/api/sales/salesReturn"
import { Message } from "element-ui"
export default {
@@ -23,7 +24,8 @@
salesDetailsList: [], // 閿�鍞槑缁嗗崟
quotationList: [], // 鎶ヤ环鍗�
serviceOrderList: [], // 瀹㈡埛鏈嶅姟鍗�
- productList: [] // 浜у搧鍒楄〃
+ productList: [], // 浜у搧鍒楄〃
+ salesReturnList: [] // 閿�鍞��璐у崟
},
mutations: {
clientNameList(state, payload) {
@@ -58,6 +60,9 @@
},
productList(state, payload) {
state.productList = payload
+ },
+ salesReturnList(state, payload) {
+ state.salesReturnList = payload
}
},
actions: {
@@ -160,6 +165,16 @@
Message.error(res.msg)
}
})
+ },
+ geReturnList(context) {
+ getSalesReturnList({ productName: "", productNumber: "", page: 1, pageSize: 10 }).then((res) => {
+ if (res.code == 200) {
+ console.log(res.data.list)
+ context.commit("salesReturnList", res.data.list)
+ } else {
+ Message.error(res.msg)
+ }
+ })
}
}
}
--
Gitblit v1.8.0