diff --git a/src/api/collect/collectOrder.js b/src/api/collect/collectOrder.js index 290c639b..9ea8754a 100644 --- a/src/api/collect/collectOrder.js +++ b/src/api/collect/collectOrder.js @@ -4,10 +4,11 @@ import axios from "@/utils/request" export function orderPage(query) { return axios({ url: "/udiwms/basic/collect/order/filter", - method: "get", - params: query + method: "post", + data: query }); } + export function findByBill(query) { return axios({ url: "/udiwms/basic/collect/order/findByBill", @@ -23,6 +24,7 @@ export function getNextOrder(query) { params: query }); } + export function getCurOrder(query) { return axios({ url: "/udiwms/basic/collect/order/current", @@ -39,6 +41,7 @@ export function orderDetail(query) { params: query }); } + export function allDetail(query) { return axios({ url: "/udiwms/basic/collect/order/allDetail", @@ -161,7 +164,6 @@ export function orderTop(query) { } - export function getSplitCode(query) { return axios({ url: "/udiwms/ioSplit/collect/auto/code/filter", @@ -171,8 +173,6 @@ export function getSplitCode(query) { } - - export function downloadOrder(query) { return axios({ url: "/udiwms/basic/collect/origin/order/download", @@ -208,7 +208,6 @@ export function errorHandle(query) { } - export function errorHandleSubmit(query) { return axios({ url: "/udiwms/basic/collect/origin/order/errorHandleSubmit", @@ -226,6 +225,7 @@ export function orderFinish(query) { params: query }); } + //已完成单明细 export function getDetail(query) { return axios({