From 9a7c72663c87b22b878176b450317c9a925adf6a Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Fri, 5 May 2023 09:12:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/order.js | 24 +- src/api/inout/orderDetailBiz.js | 40 +- src/layout/components/Navbar.vue | 1 - src/views/inout/InvoiceRegistration.vue | 412 ++++++++++----- .../inout/InvoiceRegistrationDetermine.vue | 497 ++++++++++++++++++ 5 files changed, 818 insertions(+), 156 deletions(-) create mode 100644 src/views/inout/InvoiceRegistrationDetermine.vue diff --git a/src/api/inout/order.js b/src/api/inout/order.js index 452696e5..e74e9ae2 100644 --- a/src/api/inout/order.js +++ b/src/api/inout/order.js @@ -57,7 +57,6 @@ export function submitAllocateBiz(query) { }); } - export function saveOrderWeb(query) { return axios({ url: "/warehouse/inout/saveOrderWeb", @@ -148,6 +147,14 @@ export function filterOrder(query) { }); } +export function filterOrderList(query) { + return axios({ + url: "/udiwms/inout/order/filterList", + method: "get", + params: query + }); +} + export function selectNew(query) { return axios({ url: "/admin/warehouse/inout/order/selectNew", @@ -430,13 +437,6 @@ export function getOrderList(params) { }); } -export function getOrderFilter(params) { - return axios({ - url: "udiwms/inout/preInorder/filter", - method: "get", - params: params - }); -} export function updateStatus(query) { return axios({ @@ -528,11 +528,3 @@ export function orderDetailAdd(params) { data: params }); } - -export function orderChange(query) { - return axios({ - url: "/udiwms/stock/order/change", - method: "post", - data: query - }); -} diff --git a/src/api/inout/orderDetailBiz.js b/src/api/inout/orderDetailBiz.js index b4aa8c90..c568b4ec 100644 --- a/src/api/inout/orderDetailBiz.js +++ b/src/api/inout/orderDetailBiz.js @@ -8,6 +8,15 @@ export function getBizDetailList(params) { }); } +export function getBizDetailListInv(params) { + return axios({ + url: "/udiwms/inout/bizDetail/filterListInv", + method: "get", + params: params + }); +} + + export function filterListInvoice(params) { return axios({ url: "/udiwms/inout/bizDetail/filterListInvoice", @@ -19,8 +28,8 @@ export function filterListInvoice(params) { export function deleteById(params) { return axios({ url: "/udiwms/inout/biz/deleteById", - method: "get", - params: params + method: "post", + data: params }); } @@ -40,6 +49,14 @@ export function insertInvoice(params) { }); } +export function updateorderBiz(params) { + return axios({ + url: "/udiwms/inout/biz/updateorderBiz", + method: "post", + data: params + }); +} + export function getCheckDetailList(params) { return axios({ @@ -49,7 +66,6 @@ export function getCheckDetailList(params) { }); } - export function getWaitAllocateList(params) { return axios({ url: "/udiwms/inout/waitAllocate/filterList", @@ -59,5 +75,23 @@ export function getWaitAllocateList(params) { } +export function updateOrder(params) { + return axios({ + url: "/udiwms/inout/order/updateOrder", + method: "post", + data: params + }); +} + +export function filterBizOrderList(params) { + return axios({ + url: "/udiwms/inout/bizDetail/filterBizOrderList", + method: "get", + params: params + }); +} + + + diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index ffffc357..4df395bc 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -284,7 +284,6 @@ export default { locDeptCode: store.getters.locDeptCode, }; - this.getDeptList(); //this.getInvList() diff --git a/src/views/inout/InvoiceRegistration.vue b/src/views/inout/InvoiceRegistration.vue index 7856271f..6c557c24 100644 --- a/src/views/inout/InvoiceRegistration.vue +++ b/src/views/inout/InvoiceRegistration.vue @@ -11,8 +11,8 @@ - - + + @@ -138,7 +138,7 @@ + @row-click="handleSelectionChange"> @@ -152,7 +152,7 @@ - + @@ -171,16 +171,30 @@ + + + + + + @@ -194,176 +208,206 @@ + - 订单 {{ currentRow.billNo }}-发票信息 - - - 单据 {{ currentRow.billNo }}-单据详情 + - - + - + + - + + + + + + + + + + + - 单据 {{ currentRow.billNo }}-单据详情 - 单据 {{ currentRow.billNo }}-发票信息 + + - - - + + + + + - - + + + + + + + + + +