From 01d52b4d848d2636fa778689a2c1f783e0e15bd4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 16 四月 2024 18:30:08 +0800 Subject: [PATCH] wms项目 产品模块 增加启用多单位的前端开发+新增和编辑产品 2个接口联调 --- src/api/common/other.js | 43 ++++++++++++++++++++++++++++++++++++++----- 1 files changed, 38 insertions(+), 5 deletions(-) diff --git a/src/api/common/other.js b/src/api/common/other.js index 4f88e95..1e35ea7 100644 --- a/src/api/common/other.js +++ b/src/api/common/other.js @@ -1,9 +1,42 @@ // import request from "@/common/untils/request.js" -import axios from "axios" - -// 璐熻矗浜� -export const getMemberListFromGrpc = async (data) => { - return await axios.get(`/api/m/getMemberListFromGrpc`, { +import request from "@/common/untils/request" +// 鏌ヨ鍏徃 +export const getCompanyList = (data) => { + return request({ + url: "/api-wms/v1/company/company", + method: "get", + params: data + }) +} +// 鏌ヨ渚涘簲鍟� +export const getSupplierList = (data) => { + return request({ + url: "/api-wms/v1/operation/getSupplierList", + method: "get", + params: data + }) +} +// 鏌ヨ瀹㈡埛 +export const getClientList = (data) => { + return request({ + url: "/api-wms/v1/operation/getClientList", + method: "get", + params: data + }) +} +// 涓婁紶闄勪欢 +export const uploadFiles = (data) => { + return request({ + url: "/api-wms/v1/attachment/uploadFiles", + method: "post", + data + }) +} +// 鑾峰彇鐧诲綍鐢ㄦ埛淇℃伅 +export const getUserInfo = (data) => { + return request({ + url: "/api-wms/v1/product/getUserInfo", + method: "get", params: data }) } -- Gitblit v1.8.0