1.添加盘点单据接口文件

prod
x_z 2 years ago
parent d480d0500d
commit 77c31ce9ca

@ -0,0 +1,33 @@
import axios from "../../utils/request";
export function getCountCodesList(params) {
return axios({
url: "/inv/count/codes/filter",
method: "get",
params: params
});
}
export function deleteCode(data) {
return axios({
url: "/inv/count/codes/deleteCode",
method: "post",
data: data
});
}
export function addCode(data) {
return axios({
url: "/inv/count/codes/addCode",
method: "post",
data: data
});
}
export function getCodesNum(params) {
return axios({
url: "/inv/count/codes/getCountOrderCodesNum",
method: "get",
params: params
});
}

@ -0,0 +1,83 @@
import axios from "../../utils/request";
export function getCountOrderList(params) {
return axios({
url: "/invCount/order/filter",
method: "get",
params: params
});
}
export function deleteCountOrder(data) {
return axios({
url: "/invCount/order/delete",
method: "post",
data: data
});
}
export function getCountOrderDetailList(params) {
return axios({
url: "/invCount/order/detail/filter",
method: "get",
params: params
});
}
export function saveCountOrder(data) {
return axios({
url: "/invCount/order/saveCountOrder",
method: "post",
data: data
});
}
export function submitAudit(params) {
return axios({
url: "/invCount/order/submitAudit",
method: "get",
params: params
});
}
export function deleteCountOrderDetail(data) {
return axios({
url: "/inv/count/order/detail/deleteOrderDetail",
method: "post",
data: data
});
}
export function addCountOrderDetail(data) {
return axios({
url: "/inv/count/order/detail/addCountOrderDetail",
method: "post",
data: data
});
}
export function updateCountOrderStatus(data) {
return axios({
url: "/inv/count/order/updateCountOrderStatus",
method: "post",
data: data
});
}
export function verifyTemplateFile(data) {
return axios({
url: "/inv/count/order/verifyTemplateFile",
method: "post",
data: data
});
}
export function printOrder(data) {
return axios({
url: "/inv/count/order/printOrder",
method: "post",
data: data,
headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'},
responseType: 'arraybuffer', //一定要设置响应类型否则页面会是空白pdf
});
}
Loading…
Cancel
Save