From e3cadadc1e03e0648a079f7fc8bf8b3d0d64bc27 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 15 四月 2024 15:54:04 +0800 Subject: [PATCH] wms的出库入库调拨 3个模块新建,编辑,列表增加 主管,会计,保管员3个字段以及新建,编辑联调 --- src/api/reportForm/inventoryRwport.js | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 53 insertions(+), 3 deletions(-) diff --git a/src/api/reportForm/inventoryRwport.js b/src/api/reportForm/inventoryRwport.js index 7e1c92d..fa597c3 100644 --- a/src/api/reportForm/inventoryRwport.js +++ b/src/api/reportForm/inventoryRwport.js @@ -1,5 +1,55 @@ // 搴撳瓨鎶ヨ〃 -// import request from "@/common/untils/request.js" -// import axios from "axios" +import request from "@/common/untils/request.js" -// 鏂板缓搴撳瓨鎶ヨ〃 \ No newline at end of file + +// 鑾峰彇搴撳瓨鎶ヨ〃 +export function getInventoryData(data) { + return request({ + url: "/api-wms/v1/forms/getInventoryForms", + method: "post", + data + }) +} + +// 浠撳簱绫诲瀷鍒楄〃 +export const getWarehouseList = (data) => { + return request({ + url: "/api-wms/v1/warehouse/warehouse", + method: "get", + params: data + }) +} + +// 浜у搧绫诲瀷鍒楄〃 +export function getProductCategoryList(data) { + return request({ + url: "/api-wms/v1/product/getProductCategoryList", + method: "post", + data + }) +} + +//鎶ヨ〃鍘嗗彶 +export function getHistory(data) { + return request({ + url: "/api-wms/v1/forms/getHistory", + method: "post", + data + }) +} +// 鍑哄叆搴撴槑缁� +export function listByCondition(data) { + return request({ + url: "/api-wms/v1/operation/listByCondition", + method: "post", + data + }) +} +//鏌ヨ鍗曟潯璇︽儏鎺ュ彛 +export function getOperationInfo(data) { + return request({ + url: `/api-wms/v1/operation/getOperationInfo/${data}`, + method: "get", + data + }) +} \ No newline at end of file -- Gitblit v1.8.0