From 5ecb7958c96d3f0b6d47b79aff7eb306c2cf690f Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期二, 06 八月 2024 11:16:58 +0800
Subject: [PATCH] gitlab上面的wms转移到公司git

---
 src/api/overview/overview.js |   41 +++++++++++++++++++++++++++++++++++++----
 1 files changed, 37 insertions(+), 4 deletions(-)

diff --git a/src/api/overview/overview.js b/src/api/overview/overview.js
index 13e8195..2d4edd5 100644
--- a/src/api/overview/overview.js
+++ b/src/api/overview/overview.js
@@ -1,9 +1,18 @@
 import request from "@/common/untils/request.js"
-import axios from "axios"
 
 // 鏌ヨ涓氬姟绫诲瀷鍒楄〃
-export const getOperationType = async (data) => {
-  return await axios.get(`/api-wms/v1/operationType/operationType`, {
+export const getOperationType =  (data) => {
+  return request({
+    url: "/api-wms/v1/operationType/operationType",
+    method: "get",
+    params: data
+  })
+}
+// 鏌ヨ涓氬姟绫诲瀷鍒楄〃--鍐呴儴璋冩嫧
+export const getListTransfer = (data) => {
+  return request({
+    url: "/api-wms/v1/operationType/listTransfer",
+    method: "get",
     params: data
   })
 }
@@ -72,7 +81,14 @@
     id
   })
 }
-
+// 鍙栨秷-鐘舵�� 
+export function stateCancel(id) {
+  return request({
+    url: `/api-wms/v1/operation/cancel/${id}`,
+    method: "put",
+    id
+  })
+}
 // 鑾峰彇浣嶇疆鍒楄〃
 export function getLocationList(data) {
   return request({
@@ -90,3 +106,20 @@
     data
   })
 }
+
+// 鑾峰彇鐗╂祦鍏徃淇℃伅
+export const getLogisticCompanyList = (data) => {
+  return request({
+    url: "/api-wms/v1/operation/getLogisticCompanyList",
+    method: "get",
+    params: data
+  })
+}
+// 鎵撳嵃
+export function printReceipts(id) {
+  return request({
+    url: `/api-wms/v1/operation/outputOperation/${id}`,
+    method: "put",
+    id
+  })
+}
\ No newline at end of file

--
Gitblit v1.8.0