From 7c2f99aae7d67e54260cf95edfe34f2189521225 Mon Sep 17 00:00:00 2001 From: zhangsiyu Date: Wed, 23 Aug 2023 09:23:45 +0800 Subject: [PATCH] =?UTF-8?q?tsapi=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basicdata/basicdataGoodsShelfView.ts | 46 +++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/src/api/basicdata/basicdataGoodsShelfView.ts b/src/api/basicdata/basicdataGoodsShelfView.ts index 74166925..0ab62554 100644 --- a/src/api/basicdata/basicdataGoodsShelfView.ts +++ b/src/api/basicdata/basicdataGoodsShelfView.ts @@ -4,7 +4,9 @@ import { AxiosResponse } from 'axios'; // 假设使用Axios发送HTTP请求 interface VisualizationResponseData { data: any; // 根据实际返回数据结构进行定义 } - +/** + * 获取可视化数据 + */ export function getVisualization(params): Promise>{ return request({ url: '/api/logpm-warehouse/warehouseGoodsAllocation/Visualization', @@ -14,6 +16,9 @@ export function getVisualization(params): Promise>{ return request({ url: '/api/logpm-warehouse/warehouseGoodsAllocation/storeCargo', @@ -22,4 +27,43 @@ export function getstoreCargo(params): Promise>{ + return request({ + url: '/api/logpm-basicdata/goodsAllocation/update', + method: 'post', + data + }) +} +/** + * 货位统计数据 + */ +export function Alloclocationsnub(): Promise>{ + return request({ + url: '/api/logpm-warehouse/warehouseGoodsAllocation/locationsnub', + method: 'get', + }) +} +/** + * 货位统计数据 + */ +export function geturl(name,params): Promise>{ + return request({ + url:'/api/logpm-warehouse/warehouseGoodsAllocation/'+name, + method: 'get', + params + }) +} +/** + * 货位上架 + */ +export function posturl(name,data): Promise>{ + return request({ + url:'/api/logpm-warehouse/warehouseGoodsAllocation/'+name, + method: 'post', + data + }) } \ No newline at end of file