| | |
| | | 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 = async (data) => { |
| | | return await axios.get(`/api-wms/v1/operationType/listTransfer`, { |
| | | export const getListTransfer = (data) => { |
| | | return request({ |
| | | url: "/api-wms/v1/operationType/listTransfer", |
| | | method: "get", |
| | | params: data |
| | | }) |
| | | } |
| | |
| | | id |
| | | }) |
| | | } |
| | | |
| | | // 取消-状态 |
| | | export function stateCancel(id) { |
| | | return request({ |
| | | url: `/api-wms/v1/operation/cancel/${id}`, |
| | | method: "put", |
| | | id |
| | | }) |
| | | } |
| | | // 获取位置列表 |
| | | export function getLocationList(data) { |
| | | return request({ |
| | |
| | | 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 |
| | | }) |
| | | } |