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
837 B
JavaScript
45 lines
837 B
JavaScript
3 years ago
|
import axios from "../../utils/axios";
|
||
|
|
||
|
export function getUnitMaintain(query) {
|
||
|
return axios({
|
||
|
url: "/warehouse/unitMaintain/filter",
|
||
|
method: "get",
|
||
|
params: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function combine(query) {
|
||
|
return axios({
|
||
|
url: "/udiwms/basic/unit/maintain/combine",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function deleteUnitMaintain(query) {
|
||
|
return axios({
|
||
|
url: "/warehouse/unitMaintain/delete",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function addUnit(query) {
|
||
|
return axios({
|
||
|
url: "/warehouse/unitMaintain/add",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function modifyUnit(query) {
|
||
|
return axios({
|
||
|
url: "/warehouse/unitMaintain/modify",
|
||
|
method: "post",
|
||
|
data: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
|
||
|
|