From c3bf1f33621a9525d312a33834a55e5f2ca2846b Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Thu, 21 Aug 2025 16:55:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms):=20=E6=B7=BB=E5=8A=A0=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E6=A0=87=E8=AF=86=E5=AD=97=E6=AE=B5=EF=BC=8C=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E6=A0=87=E8=AF=86=E5=AD=97=E6=AE=B5=E7=94=A8=E4=BA=8E?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E8=B0=83=E6=8B=A8=E5=92=8C=E9=80=80=E5=BA=93?= =?UTF-8?q?=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在入库记录和出库记录中添加特殊标识字段,用于区分调拨和退库 - 优化仓库列表获取函数,传递 null 参数以获取完整列表 - 在 WMS 盘点任务中添加物料类型名称和仓库名称字段 --- src/api/wms/instockRecord/types.ts | 15 ++++++++++++ src/api/wms/outstockRecord/types.ts | 17 ++++++++++++++ src/api/wms/wmsCheckTask/types.ts | 30 ++++++++++++++++++++++++ src/views/wms/instockOrderCopy/index.vue | 2 +- src/views/wms/instockRecord/index.vue | 22 ++++++++++------- src/views/wms/outstockRecord/index.vue | 12 ++++++++-- 6 files changed, 87 insertions(+), 11 deletions(-) diff --git a/src/api/wms/instockRecord/types.ts b/src/api/wms/instockRecord/types.ts index be457f7..5658e69 100644 --- a/src/api/wms/instockRecord/types.ts +++ b/src/api/wms/instockRecord/types.ts @@ -72,6 +72,11 @@ export interface InstockRecordVO { */ updateTime: string; + /** + * 特殊标识(0调拨,1退库) + */ + specialType: string | number; + } export interface InstockRecordForm extends BaseEntity { @@ -142,6 +147,11 @@ export interface InstockRecordForm extends BaseEntity { */ erpSynchronousQty?: number; + /** + * 特殊标识(0调拨,1退库) + */ + specialType?: string | number; + } export interface InstockRecordQuery extends PageQuery { @@ -198,6 +208,11 @@ export interface InstockRecordQuery extends PageQuery { */ erpSynchronousQty?: number; + /** + * 特殊标识(0调拨,1退库) + */ + specialType?: string | number; + /** * 日期范围参数 */ diff --git a/src/api/wms/outstockRecord/types.ts b/src/api/wms/outstockRecord/types.ts index 1807bb4..aa29c28 100644 --- a/src/api/wms/outstockRecord/types.ts +++ b/src/api/wms/outstockRecord/types.ts @@ -62,6 +62,12 @@ export interface OutstockRecordVO { */ erpSynchronousQty: number; + + /** + * 特殊标识(0调拨,1退库) + */ + specialType: string | number; + } export interface OutstockRecordForm extends BaseEntity { @@ -122,6 +128,12 @@ export interface OutstockRecordForm extends BaseEntity { */ erpSynchronousQty?: number; + + /** + * 特殊标识(0调拨,1退库) + */ + specialType?: string | number; + } export interface OutstockRecordQuery extends PageQuery { @@ -148,6 +160,11 @@ export interface OutstockRecordQuery extends PageQuery { */ erpSynchronousStatus?: string; + /** + * 特殊标识(0调拨,1退库) + */ + specialType?: string | number; + /** * 日期范围参数 */ diff --git a/src/api/wms/wmsCheckTask/types.ts b/src/api/wms/wmsCheckTask/types.ts index b8ffcfc..ca1fce6 100644 --- a/src/api/wms/wmsCheckTask/types.ts +++ b/src/api/wms/wmsCheckTask/types.ts @@ -59,6 +59,16 @@ export interface WmsCheckTaskVO { */ executeMonth?: number; + /** + * 物料类型名称 + */ + matrialTypeName: string; + + /** + * 仓库名称 + */ + warehouseName: string; + } export interface WmsCheckTaskForm extends BaseEntity { @@ -113,6 +123,16 @@ export interface WmsCheckTaskForm extends BaseEntity { executeMonth?: number; + /** + * 物料类型名称 + */ + matrialTypeName?: string; + + /** + * 仓库名称 + */ + warehouseName?: string; + } export interface WmsCheckTaskQuery extends PageQuery { @@ -162,6 +182,16 @@ export interface WmsCheckTaskQuery extends PageQuery { */ wmsCheckTaskFrequency?: string; + /** + * 物料类型名称 + */ + matrialTypeName?: string; + + /** + * 仓库名称 + */ + warehouseName?: string; + /** * 日期范围参数 */ diff --git a/src/views/wms/instockOrderCopy/index.vue b/src/views/wms/instockOrderCopy/index.vue index b3cf853..dfad3b9 100644 --- a/src/views/wms/instockOrderCopy/index.vue +++ b/src/views/wms/instockOrderCopy/index.vue @@ -696,7 +696,7 @@ const state = reactive({ }); // 获取仓库 -getBaseWarehouseList().then(e => { +getBaseWarehouseList(null).then(e => { baseStoreList.value = e.data }) diff --git a/src/views/wms/instockRecord/index.vue b/src/views/wms/instockRecord/index.vue index 440d731..aacb110 100644 --- a/src/views/wms/instockRecord/index.vue +++ b/src/views/wms/instockRecord/index.vue @@ -82,7 +82,6 @@ - @@ -96,11 +95,16 @@ - + + + + + + +