From d02263474906d1cc5780454733423d582751eaf2 Mon Sep 17 00:00:00 2001 From: yin <3313488199@qq.com> Date: Tue, 28 Apr 2026 18:22:32 +0800 Subject: [PATCH] =?UTF-8?q?4=E6=9C=8828?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index/index.ts | 14 + src/api/warehouse/warehouse.ts | 28 + src/components/UpperTable/index.vue | 172 ++++- .../config/order-common-config.ts | 120 ++- .../form/AllocateExpressForm.vue | 38 + .../orderManagement/form/CloneOrderForm.vue | 51 ++ .../form/StorageAllocateForm.vue | 50 ++ .../orderManagement/form/SyncOrderIdsForm.vue | 34 + .../form/UpdateOrderMetaForm.vue | 65 ++ .../order/orderManagement/pendingOrder.vue | 704 +++--------------- .../order/orderManagement/reviewOrder.vue | 64 +- .../orderManagement/utils/toolbar-actions.ts | 567 ++++++++++++++ .../inventory/component/panelstockdetail.vue | 31 +- src/views/warehouse/RackSpaceManagement.vue | 57 +- workflows/api-doc-agent/config/响应.md | 467 +----------- workflows/api-doc-agent/config/接口.md | 13 +- workflows/api-doc-system/apidata/config.json | 14 +- workflows/api-doc-system/apidata/data.json | 512 ++----------- .../interface-details/interface-details.json | 201 ++++- .../data/module-list/module-list.json | 50 +- .../data/module/config/_module.lifecycle.json | 2 +- .../data/module/config/module.json | 4 +- .../module/dashboard/_module.lifecycle.json | 2 +- .../data/module/dashboard/module.json | 4 +- .../data/module/index/_module.lifecycle.json | 2 +- .../data/module/index/module.json | 41 +- .../order.archiveorder/_module.lifecycle.json | 2 +- .../module/order.archiveorder/module.json | 4 +- .../_module.lifecycle.json | 2 +- .../order.deliveryexpectionorder/module.json | 4 +- .../_module.lifecycle.json | 2 +- .../module/order.deliveryorder/module.json | 4 +- .../order.entrustorder/_module.lifecycle.json | 2 +- .../module/order.entrustorder/module.json | 4 +- .../_module.lifecycle.json | 2 +- .../module/order.expectionorder/module.json | 4 +- .../module/order.index/_module.lifecycle.json | 2 +- .../data/module/order.index/module.json | 4 +- .../_module.lifecycle.json | 2 +- .../module/order.outboundorder/module.json | 4 +- .../order.pendingorder/_module.lifecycle.json | 2 +- .../module/order.pendingorder/module.json | 4 +- .../order.revieworder/_module.lifecycle.json | 2 +- .../data/module/order.revieworder/module.json | 4 +- .../data/module/print/_module.lifecycle.json | 2 +- .../data/module/print/module.json | 4 +- .../printer.station/_module.lifecycle.json | 2 +- .../data/module/printer.station/module.json | 4 +- .../setting.account/_module.lifecycle.json | 2 +- .../data/module/setting.account/module.json | 4 +- .../setting.express/_module.lifecycle.json | 2 +- .../data/module/setting.express/module.json | 4 +- .../_module.lifecycle.json | 2 +- .../setting.expressinterface/module.json | 4 +- .../setting.permission/_module.lifecycle.json | 2 +- .../module/setting.permission/module.json | 4 +- .../setting.platform/_module.lifecycle.json | 2 +- .../data/module/setting.platform/module.json | 4 +- .../_module.lifecycle.json | 2 +- .../module/setting.printtemplate/module.json | 4 +- .../setting.role/_module.lifecycle.json | 2 +- .../data/module/setting.role/module.json | 4 +- .../data/module/stock/_module.lifecycle.json | 2 +- .../data/module/stock/module.json | 4 +- .../storage.entry/_module.lifecycle.json | 2 +- .../data/module/storage.entry/module.json | 4 +- .../storage.inventory/_module.lifecycle.json | 2 +- .../data/module/storage.inventory/module.json | 4 +- .../storage.stockout/_module.lifecycle.json | 2 +- .../data/module/storage.stockout/module.json | 4 +- .../storage_receiving/_module.lifecycle.json | 2 +- .../data/module/storage_receiving/module.json | 4 +- .../data/module/store/_module.lifecycle.json | 2 +- .../data/module/store/module.json | 4 +- .../_module.lifecycle.json | 2 +- .../module/storewarehouse.store/module.json | 4 +- .../data/module/user/_module.lifecycle.json | 2 +- .../data/module/user/module.json | 4 +- .../module/warehouse/_module.lifecycle.json | 2 +- .../data/module/warehouse/module.json | 130 +++- 80 files changed, 1843 insertions(+), 1752 deletions(-) create mode 100644 src/views/order/orderManagement/form/AllocateExpressForm.vue create mode 100644 src/views/order/orderManagement/form/CloneOrderForm.vue create mode 100644 src/views/order/orderManagement/form/StorageAllocateForm.vue create mode 100644 src/views/order/orderManagement/form/SyncOrderIdsForm.vue create mode 100644 src/views/order/orderManagement/form/UpdateOrderMetaForm.vue create mode 100644 src/views/order/orderManagement/utils/toolbar-actions.ts diff --git a/src/api/index/index.ts b/src/api/index/index.ts index 56f9971d..8d28d997 100644 --- a/src/api/index/index.ts +++ b/src/api/index/index.ts @@ -221,4 +221,18 @@ export function recognizeLicensePlate(data:any){ data: data, isSystemApi: true } as any) +} + +export function getLocationTypeList(data?: Record) { + return request({ + url: '/system', + method: 'post', + params: { + method: 'index.getLocationTypeList', + v: '1.0', + timestamp: new Date().getTime() + }, + data: data ?? {}, + isSystemApi: true + } as any) } \ No newline at end of file diff --git a/src/api/warehouse/warehouse.ts b/src/api/warehouse/warehouse.ts index 2a90ca3f..806dbd57 100644 --- a/src/api/warehouse/warehouse.ts +++ b/src/api/warehouse/warehouse.ts @@ -297,3 +297,31 @@ export function getAreaRacks(area_id: any) { isSystemApi: true } as any) } + +export function exportRackSpaces(id: number | string) { + return request({ + url: '/system', + method: 'post', + params: { + method: 'warehouse.exportRackSpaces', + v: '1.0', + timestamp: new Date().getTime() + }, + data: { id }, + isSystemApi: true + } as any) +} + +export function batchUpdateSpaceInfo(data: { items: Array> }) { + return request({ + url: '/system', + method: 'post', + params: { + method: 'warehouse.batchUpdateSpaceInfo', + v: '1.0', + timestamp: new Date().getTime() + }, + data, + isSystemApi: true + } as any) +} diff --git a/src/components/UpperTable/index.vue b/src/components/UpperTable/index.vue index cfa40b49..2554886e 100644 --- a/src/components/UpperTable/index.vue +++ b/src/components/UpperTable/index.vue @@ -5,7 +5,7 @@ @@ -38,6 +40,10 @@ @@ -73,6 +80,10 @@ :filter-placement="column.filterPlacement" > @@ -192,7 +204,7 @@ diff --git a/src/views/order/orderManagement/form/CloneOrderForm.vue b/src/views/order/orderManagement/form/CloneOrderForm.vue new file mode 100644 index 00000000..9cabf9c1 --- /dev/null +++ b/src/views/order/orderManagement/form/CloneOrderForm.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/views/order/orderManagement/form/StorageAllocateForm.vue b/src/views/order/orderManagement/form/StorageAllocateForm.vue new file mode 100644 index 00000000..337066db --- /dev/null +++ b/src/views/order/orderManagement/form/StorageAllocateForm.vue @@ -0,0 +1,50 @@ + + + diff --git a/src/views/order/orderManagement/form/SyncOrderIdsForm.vue b/src/views/order/orderManagement/form/SyncOrderIdsForm.vue new file mode 100644 index 00000000..46e39614 --- /dev/null +++ b/src/views/order/orderManagement/form/SyncOrderIdsForm.vue @@ -0,0 +1,34 @@ + + + diff --git a/src/views/order/orderManagement/form/UpdateOrderMetaForm.vue b/src/views/order/orderManagement/form/UpdateOrderMetaForm.vue new file mode 100644 index 00000000..3697181f --- /dev/null +++ b/src/views/order/orderManagement/form/UpdateOrderMetaForm.vue @@ -0,0 +1,65 @@ + + + diff --git a/src/views/order/orderManagement/pendingOrder.vue b/src/views/order/orderManagement/pendingOrder.vue index 3ab934bd..bb66ee2d 100644 --- a/src/views/order/orderManagement/pendingOrder.vue +++ b/src/views/order/orderManagement/pendingOrder.vue @@ -178,139 +178,46 @@ - -

是否确认分配?

- -
- - + - - - - {{ storagePendingOrderIds.length }} 条 - - - - - - - - - + - - - {{ updateOrderMetaOrderIds.length }} 条 - - - - - - - - - - - + - -
-

原订单ID:{{ cloneSourceOrderId || '-' }}

-

订单号:{{ cloneSourceOrderCode || '-' }}

-
- -
- - + - - - {{ selectionRows.length }} 条 - - - - + @submit="submitSyncOrderIds" + /> @@ -320,7 +227,7 @@