From dfd946de820f512334a220ea7b973b370aa2c20b Mon Sep 17 00:00:00 2001 From: "maxw@mesnac.com" Date: Tue, 14 Jan 2025 08:50:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=87=BA=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E4=B8=BB=E5=AD=90=E8=A1=A8=E9=A1=B5=E9=9D=A2=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/instockDetail/index.ts | 6 +- src/api/wms/outstockDetail/index.ts | 2 +- src/views/wms/instockOrderCopy/index.vue | 686 ++++++++++++++++++++++ src/views/wms/linkage/index.vue | 44 +- src/views/wms/outstockOrderCopy/index.vue | 680 +++++++++++++++++++++ 5 files changed, 1401 insertions(+), 17 deletions(-) create mode 100644 src/views/wms/instockOrderCopy/index.vue create mode 100644 src/views/wms/outstockOrderCopy/index.vue diff --git a/src/api/wms/instockDetail/index.ts b/src/api/wms/instockDetail/index.ts index 0654ec9..a263190 100644 --- a/src/api/wms/instockDetail/index.ts +++ b/src/api/wms/instockDetail/index.ts @@ -8,7 +8,7 @@ import { InstockDetailVO, InstockDetailForm, InstockDetailQuery } from '@/api/wm * @returns {*} */ -export const listInstockDetail = (query?: InstockDetailQuery): AxiosPromise => { +export const listInstockDetail = (query) => { return request({ url: '/wms/instockDetail/list', method: 'get', @@ -47,7 +47,7 @@ export const getInstockDetail = (instockDetailId: string | number): AxiosPromise * 新增入库单-物料 * @param data */ -export const addInstockDetail = (data: InstockDetailForm) => { +export const addInstockDetail = (data) => { return request({ url: '/wms/instockDetail', method: 'post', @@ -73,7 +73,7 @@ export const updateInstockDetail = (data: InstockDetailForm) => { */ export const delInstockDetail = (instockDetailId: string | number | Array) => { return request({ - url: '/wms/instockDetail/' + instockDetailId, + url: '/wms/instockDetail/removeInstockDetail/' + instockDetailId, method: 'delete' }); }; diff --git a/src/api/wms/outstockDetail/index.ts b/src/api/wms/outstockDetail/index.ts index 3a9af0f..968f429 100644 --- a/src/api/wms/outstockDetail/index.ts +++ b/src/api/wms/outstockDetail/index.ts @@ -57,7 +57,7 @@ export const updateOutstockDetail = (data: OutstockDetailForm) => { */ export const delOutstockDetail = (outstockDetailId: string | number | Array) => { return request({ - url: '/wms/outstockDetail/' + outstockDetailId, + url: '/wms/outstockDetail/detailRemove/' + outstockDetailId, method: 'delete' }); }; diff --git a/src/views/wms/instockOrderCopy/index.vue b/src/views/wms/instockOrderCopy/index.vue new file mode 100644 index 0000000..cee01b6 --- /dev/null +++ b/src/views/wms/instockOrderCopy/index.vue @@ -0,0 +1,686 @@ + + + + diff --git a/src/views/wms/linkage/index.vue b/src/views/wms/linkage/index.vue index 9fd6ed6..2d8abb5 100644 --- a/src/views/wms/linkage/index.vue +++ b/src/views/wms/linkage/index.vue @@ -63,7 +63,7 @@ - +