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.
50 lines
1011 B
JavaScript
50 lines
1011 B
JavaScript
import axios from "@/utils/request";
|
|
|
|
export function getThrProducts(query) {
|
|
return axios({
|
|
url: "/udiwms/thrsys/getThrProducts",
|
|
method: "get",
|
|
params: query
|
|
});
|
|
}
|
|
|
|
export function delThrProducts(query) {
|
|
return axios({
|
|
url: "/udiwms/thrsys/delThrProducts",
|
|
method: "post",
|
|
data: query
|
|
});
|
|
}
|
|
|
|
export function delAll(query) {
|
|
return axios({
|
|
url: "/udiwms/thrsys/products/delAll",
|
|
method: "get",
|
|
params: query
|
|
});
|
|
}
|
|
|
|
export function downloadAll(query) {
|
|
return axios({
|
|
url: "/udiwms/thrsys/products/downloadAll",
|
|
method: "get",
|
|
params: query
|
|
});
|
|
}
|
|
|
|
export function productsDlAll(query) {
|
|
return axios({
|
|
url: "/udiwms/thrsys/products/productsDlAll",
|
|
method: "post",
|
|
data: query
|
|
});
|
|
}
|
|
|
|
export function saveNewProduct(data) {
|
|
return axios({
|
|
url: '/udiwms/udiinfo/erp/products/saveProduct',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|