You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udiwms-vue/src/api/inventory/invSpace.js

26 lines
543 B
JavaScript

import axios from "../../utils/axios";
export function getInvSpaceList(params) {
return axios({
url: "/spms/inv/space/filter",
method: "get",
params: params
});
}
export function saveSpace(data, formName){
return axios({
url: formName === "add" ? "/spms/inv/space/add" : "/spms/inv/space/update",
method: "post",
data: data
});
}
export function deleteSpace(data) {
return axios({
url: "/spms/inv/space/delete",
method: "post",
data: data
})
}