盘点界面相关调整

20231126-yw
anthonywj 1 year ago
parent f7b6e336ca
commit 69e9fb5e3b

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

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

@ -0,0 +1,25 @@
import axios from '@/utils/request'
export function getSettingList(params) {
return axios({
url: "/invCount/setting/filterList",
method: "get",
params: params
});
}
export function saveCountSetting(data, formName) {
return axios({
url: formName === 'add' ? "/invCount/setting/add" : "/invCount/setting/update",
method: "post",
data: data
});
}
export function verifyAdd() {
return axios({
url: "/invCount/setting/verifyAdd",
method: "get",
params: null
});
}

@ -153,7 +153,7 @@ import {
deleteCountOrder, deleteCountOrder,
updateCountOrderStatus, getCountOrderDetailList updateCountOrderStatus, getCountOrderDetailList
} from "@/api/inventory/invCountOrder"; } from "@/api/inventory/invCountOrder";
import invCountCodes from "@/views/inventory/InvCountCodes.vue"; import invCountCodes from "@/views/inventory/count/InvCountCodes.vue";
export default { export default {
name: "InvCountOrderAudit", name: "InvCountOrderAudit",

@ -134,7 +134,7 @@ import {
getCountOrderList, getCountOrderList,
getCountOrderDetailList getCountOrderDetailList
} from "@/api/inventory/invCountOrder"; } from "@/api/inventory/invCountOrder";
import invCountCodes from "@/views/inventory/InvCountCodes.vue"; import invCountCodes from "@/views/inventory/count/InvCountCodes.vue";
export default { export default {
name: "InvCountOrderCompleted", name: "InvCountOrderCompleted",

@ -242,7 +242,7 @@ import {addCode} from "@/api/inventory/invCountCodes";
import {getCountInvProductProduct} from "@/api/inventory/invPorduct"; import {getCountInvProductProduct} from "@/api/inventory/invPorduct";
import {isBlank} from "@/utils/strUtil"; import {isBlank} from "@/utils/strUtil";
import {getInvListByUser} from "@/api/system/invWarehouse"; import {getInvListByUser} from "@/api/system/invWarehouse";
import invCountCodes from "@/views/inventory/InvCountCodes.vue"; import invCountCodes from "@/views/inventory/count/InvCountCodes.vue";
export default { export default {
props: { props: {

@ -138,7 +138,7 @@ import {
verifyTemplateFile, verifyTemplateFile,
printOrder printOrder
} from "@/api/inventory/invCountOrder"; } from "@/api/inventory/invCountOrder";
import invCountOrderModify from "@/views/inventory/InvCountOrderModify.vue"; import invCountOrderModify from "@/views/inventory/count/InvCountOrderModify.vue";
export default { export default {
name: "InvCountOrderNew", name: "InvCountOrderNew",
Loading…
Cancel
Save