第三方产品信息功能js代码提交
parent
9a767c2299
commit
31441f81cf
@ -1,34 +1,34 @@
|
|||||||
import axios from "../../utils/request";
|
import axios from "@/utils/request";
|
||||||
|
|
||||||
export function getThrProducts(query) {
|
export function getThrProducts(query) {
|
||||||
return axios({
|
return axios({
|
||||||
url: "/udiwms/thrsys/getThrAddProducts",
|
url: "/udiwms/thrsys/getThrAddProducts",
|
||||||
method: "get",
|
method: "get",
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function delThrProducts(query) {
|
export function delThrProducts(query) {
|
||||||
return axios({
|
return axios({
|
||||||
url: "/udiwms/thrsys/delThrAddProducts",
|
url: "/udiwms/thrsys/delThrAddProducts",
|
||||||
method: "post",
|
method: "post",
|
||||||
data: query
|
data: query
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function updateProduct(data) {
|
export function updateProduct(data) {
|
||||||
return axios({
|
return axios({
|
||||||
url: '/udiwms/thrsys/updateThrAddProducts',
|
url: '/udiwms/thrsys/updateThrAddProducts',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function addProduct(data) {
|
export function addProduct(data) {
|
||||||
return axios({
|
return axios({
|
||||||
url: '/udiwms/thrsys/addThrAddProducts',
|
url: '/udiwms/thrsys/addThrAddProducts',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,35 +1,33 @@
|
|||||||
import axios from "../../utils/request";
|
import axios from "@/utils/request";
|
||||||
|
|
||||||
|
|
||||||
export function filterLog(query) {
|
export function filterLog(query) {
|
||||||
return axios({
|
return axios({
|
||||||
url: "/udiwms/thrProducts/exportLog/filter",
|
url: "/udiwms/thrProducts/exportLog/filter",
|
||||||
method: "get",
|
method: "get",
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function deleteLog(query) {
|
export function deleteLog(query) {
|
||||||
return axios({
|
return axios({
|
||||||
url: "/udiwms/thrProducts/exportLog/deleteLog",
|
url: "/udiwms/thrProducts/exportLog/deleteLog",
|
||||||
method: "post",
|
method: "post",
|
||||||
data: query
|
data: query
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function downloadLog(query) {
|
export function downloadLog(query) {
|
||||||
return axios({
|
return axios({
|
||||||
url: "/udiwms/thrProducts/exportLog/download",
|
url: "/udiwms/thrProducts/exportLog/download",
|
||||||
method: "get",
|
method: "get",
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function exportExcel(query) {
|
export function exportExcel(query) {
|
||||||
return axios({
|
return axios({
|
||||||
url: "/udiwms/thrProducts/importLog/export",
|
url: "/udiwms/thrProducts/importLog/export",
|
||||||
method: "post",
|
method: "post",
|
||||||
data: query
|
data: query
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,26 +1,25 @@
|
|||||||
import axios from "../../utils/request";
|
import axios from "@/utils/request";
|
||||||
|
|
||||||
|
|
||||||
export function filterLog(query) {
|
export function filterLog(query) {
|
||||||
return axios({
|
return axios({
|
||||||
url: "/udiwms/thrProducts/importLog/filter",
|
url: "/udiwms/thrProducts/importLog/filter",
|
||||||
method: "get",
|
method: "get",
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function filterDetail(query) {
|
export function filterDetail(query) {
|
||||||
return axios({
|
return axios({
|
||||||
url: "/udiwms/thrProducts/importLog/filterDetail",
|
url: "/udiwms/thrProducts/importLog/filterDetail",
|
||||||
method: "get",
|
method: "get",
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function deleteLog(query) {
|
export function deleteLog(query) {
|
||||||
return axios({
|
return axios({
|
||||||
url: "/udiwms/thrProducts/importLog/deleteLog",
|
url: "/udiwms/thrProducts/importLog/deleteLog",
|
||||||
method: "post",
|
method: "post",
|
||||||
data: query
|
data: query
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue