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.
45 lines
898 B
JavaScript
45 lines
898 B
JavaScript
import axios from "../../utils/axios";
|
|
|
|
|
|
export function filterProducts(query) {
|
|
return axios({
|
|
url: "/spms/prein/inv/products/filter",
|
|
method: "get",
|
|
params: query
|
|
});
|
|
}
|
|
|
|
export function filterDetailProducts(query) {
|
|
return axios({
|
|
url: "/spms/prein/inv/products/filterDetail",
|
|
method: "get",
|
|
params: query
|
|
});
|
|
}
|
|
|
|
export function deleteProducts(query) {
|
|
return axios(
|
|
{
|
|
url: "/spms/prein/inv/products/delete",
|
|
method: "post",
|
|
data: query
|
|
}
|
|
)
|
|
}
|
|
export function statDetailProducts(query) {
|
|
return axios({
|
|
url: "/spms/prein/inv/products/stat",
|
|
method: "get",
|
|
params: query
|
|
});
|
|
}
|
|
|
|
export function clearAllProducts(data) {
|
|
return axios({
|
|
url: "/spms/prein/inv/products/clearAll",
|
|
method: "post",
|
|
data: data
|
|
});
|
|
}
|
|
|