From 7c300bd42c1408546142024345cb42e80956737f Mon Sep 17 00:00:00 2001 From: anthonywj Date: Mon, 27 Feb 2023 20:42:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E5=8D=95=E6=8D=AE?= =?UTF-8?q?=E9=80=89=E5=85=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/erpOrder.js | 158 ++++++++++++----------- src/views/inout/DialogSelectThrOrder.vue | 4 +- 2 files changed, 85 insertions(+), 77 deletions(-) diff --git a/src/api/inout/erpOrder.js b/src/api/inout/erpOrder.js index 1a99f7af..cc7899a5 100644 --- a/src/api/inout/erpOrder.js +++ b/src/api/inout/erpOrder.js @@ -2,126 +2,134 @@ import axios from '@/utils/request' //--------------获取ERP数据------------------- export function getErpMainOrder(query) { - return axios({ - url: "/warehouse/getErpMainOrder", - method: "get", - params: query - }); + return axios({ + url: "/warehouse/getErpMainOrder", + method: "get", + params: query + }); } export function getCloudErp(query) { - return axios({ - url: "/spms/erpOrder/filter", - method: "get", - params: query - }); + return axios({ + url: "/spms/erpOrder/filter", + method: "get", + params: query + }); } export function getThirdSysOrder(query) { - return axios({ - url: "/udiwms/thirdOrder/filter", - method: "get", - params: query - }); + return axios({ + url: "/udiwms/thirdOrder/filter", + method: "get", + params: query + }); } export function getErpMainOrderStatus(query) { - return axios({ - url: "/warehouse/getErpMainOrderStatus", - method: "get", - params: query - }); + return axios({ + url: "/warehouse/getErpMainOrderStatus", + method: "get", + params: query + }); } export function getErpDetailOrder(query) { - return axios({ - url: "/warehouse/getErpDetailOrder", - method: "get", - params: query - }); + return axios({ + url: "/warehouse/getErpDetailOrder", + method: "get", + params: query + }); } export function importErpOrder(query) { - return axios({ - url: "/warehouse/importErpOrder", - method: "post", - data: query - }); + return axios({ + url: "/warehouse/importErpOrder", + method: "post", + data: query + }); } export function combineErpOrder(query) { - return axios({ - url: "/warehouse/combineErpOrder", - method: "post", - data: query - }); + return axios({ + url: "/warehouse/combineErpOrder", + method: "post", + data: query + }); } export function deleteErpOrder(query) { - return axios({ - url: "/warehouse/deleteErpOrder", - method: "post", - data: query - }); + return axios({ + url: "/warehouse/deleteErpOrder", + method: "post", + data: query + }); } export function selectErpOrder(query) { - return axios({ - url: "/warehouse/selectErpOrder", - method: "post", - data: query - }); + return axios({ + url: "/warehouse/selectErpOrder", + method: "post", + data: query + }); } export function importErpStock(query) { - return axios({ - url: "/warehouse/stockPrint/importErpStock", - method: "post", - data: query - }); + return axios({ + url: "/warehouse/stockPrint/importErpStock", + method: "post", + data: query + }); } export function repeatCheck(query) { - return axios({ - url: "/warehouse/repeatCheck", - method: "post", - data: query - }); + return axios({ + url: "/warehouse/repeatCheck", + method: "post", + data: query + }); } export function repeatPrintCheck(query) { - return axios({ - url: "/warehouse/repeatPrintCheck", - method: "post", - data: query - }); + return axios({ + url: "/warehouse/repeatPrintCheck", + method: "post", + data: query + }); } export function dlErpStock(query) { - return axios({ - url: "/warehouse/dlErpStock", - method: "get", - params: query - }); + return axios({ + url: "/warehouse/dlErpStock", + method: "get", + params: query + }); } export function addStockOrder(query) { - return axios({ - url: "/udiwms/erpOrder/addStockOrder", - method: "get", - params: query - }); + return axios({ + url: "/udiwms/erpOrder/addStockOrder", + method: "get", + params: query + }); } export function addReceiveOrder(query) { - return axios({ - url: "/udiwms/inout/order/addReceiveOrder", - method: "post", - data: query - }); + return axios({ + url: "/udiwms/inout/order/addReceiveOrder", + method: "post", + data: query + }); +} + +export function addThrOrder(query) { + return axios({ + url: "/udiwms/inout/order/addThrOrder", + method: "post", + data: query + }); } diff --git a/src/views/inout/DialogSelectThrOrder.vue b/src/views/inout/DialogSelectThrOrder.vue index f8b8819d..c0e11b18 100644 --- a/src/views/inout/DialogSelectThrOrder.vue +++ b/src/views/inout/DialogSelectThrOrder.vue @@ -143,7 +143,7 @@