盘点界面相关调整

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) {
return axios({
url: "/inv/count/codes/filter",
url: "/invCount/codes/filter",
method: "get",
params: params
});
@ -10,7 +10,7 @@ export function getCountCodesList(params) {
export function deleteCode(data) {
return axios({
url: "/inv/count/codes/deleteCode",
url: "/invCount/codes/deleteCode",
method: "post",
data: data
});
@ -18,7 +18,7 @@ export function deleteCode(data) {
export function addCode(data) {
return axios({
url: "/inv/count/codes/addCode",
url: "/invCount/codes/addCode",
method: "post",
data: data
});
@ -26,7 +26,7 @@ export function addCode(data) {
export function getCodesNum(params) {
return axios({
url: "/inv/count/codes/getCountOrderCodesNum",
url: "/invCount/codes/getCountOrderCodesNum",
method: "get",
params: params
});

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

@ -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,
updateCountOrderStatus, getCountOrderDetailList
} from "@/api/inventory/invCountOrder";
import invCountCodes from "@/views/inventory/InvCountCodes.vue";
import invCountCodes from "@/views/inventory/count/InvCountCodes.vue";
export default {
name: "InvCountOrderAudit",

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

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

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