From e383f522e87b06e60d4cf1c3329bfd86c6b98bac Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 14 十二月 2023 15:37:03 +0800 Subject: [PATCH] 出库、入库、调拨编辑的时候入库类型不显示的问题 --- src/api/common/other.js | 35 ++++++++++++++++++++++++++++++----- 1 files changed, 30 insertions(+), 5 deletions(-) diff --git a/src/api/common/other.js b/src/api/common/other.js index 08db148..09e37d6 100644 --- a/src/api/common/other.js +++ b/src/api/common/other.js @@ -1,9 +1,34 @@ // import request from "@/common/untils/request.js" -import axios from "axios" - -// 鏌ヨ鍏徃鍒楄〃 -export const getCompanyList = async (data) => { - return await axios.get(`/api-wms/v1/company/company`, { +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 + }) +} -- Gitblit v1.8.0