From 10404fb469dd963e1da3c772a5cf416161723018 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Fri, 29 Aug 2025 16:52:01 +0800 Subject: [PATCH] =?UTF-8?q?refactor(wms):=20=E8=B0=83=E6=95=B4=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2=E7=9A=84=E7=89=A9?= =?UTF-8?q?=E6=96=99=E5=A4=A7=E7=B1=BB=E5=AD=97=E6=AE=B5=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在多个页面中注释掉物料大类相关的代码 - 调整部分字段的可见性设置 -优化部分代码结构以提高可读性 --- src/api/wms/instockPrint/types.ts | 18 +++++- src/api/wms/instockRecord/types.ts | 33 +++++++++- src/views/wms/instockOrderCopy/index.vue | 65 ++++++++++++-------- src/views/wms/instockPrint/index.vue | 22 ++++--- src/views/wms/instockRecord/index.vue | 28 +++++---- src/views/wms/wmsPurchaseOrder/index.vue | 2 +- src/views/wms/wmsPurchaseOrderCopy/index.vue | 30 ++++----- 7 files changed, 130 insertions(+), 68 deletions(-) diff --git a/src/api/wms/instockPrint/types.ts b/src/api/wms/instockPrint/types.ts index cc9239d..d1bf4be 100644 --- a/src/api/wms/instockPrint/types.ts +++ b/src/api/wms/instockPrint/types.ts @@ -76,6 +76,11 @@ export interface InstockPrintVO { */ actualInboundTime: string; + /** + * 创建时间 + */ + createTime?: string; + } @@ -151,12 +156,17 @@ export interface InstockPrintForm extends BaseEntity { * 入库状态(0-待入库,1-已入库,2-入库中) */ inboundStatus?: string; - + /** * 实际入库时间 */ actualInboundTime?: string; + /** + * 创建时间 + */ + createTime?: string; + } export interface InstockPrintQuery extends PageQuery { @@ -223,6 +233,10 @@ export interface InstockPrintQuery extends PageQuery { materialCategoryName?: string; + /** + * 创建时间 + */ + createTime?: string; /** * 推荐库位id @@ -233,7 +247,7 @@ export interface InstockPrintQuery extends PageQuery { * 入库状态(0-待入库,1-已入库,2-入库中) */ inboundStatus?: string; - + /** * 实际入库时间 */ diff --git a/src/api/wms/instockRecord/types.ts b/src/api/wms/instockRecord/types.ts index f889155..c76a975 100644 --- a/src/api/wms/instockRecord/types.ts +++ b/src/api/wms/instockRecord/types.ts @@ -77,6 +77,17 @@ export interface InstockRecordVO { */ specialType: string | number; + + /** + * 用户账号 + */ + userName: string; + + /** + * 用户昵称 + */ + nickName: string; + } export interface InstockRecordForm extends BaseEntity { @@ -84,7 +95,7 @@ export interface InstockRecordForm extends BaseEntity { * 入库记录ID */ instockRecordId?: string | number; - + /** * 入库单号 */ @@ -157,6 +168,16 @@ export interface InstockRecordForm extends BaseEntity { */ specialType?: string | number; + /** + * 用户账号 + */ + userName?: string; + + /** + * 用户昵称 + */ + nickName?: string; + } export interface InstockRecordQuery extends PageQuery { @@ -218,6 +239,16 @@ export interface InstockRecordQuery extends PageQuery { */ specialType?: string | number; + /** + * 用户账号 + */ + userName?: string; + + /** + * 用户昵称 + */ + nickName?: string; + /** * 日期范围参数 */ diff --git a/src/views/wms/instockOrderCopy/index.vue b/src/views/wms/instockOrderCopy/index.vue index a7c3df5..701f32e 100644 --- a/src/views/wms/instockOrderCopy/index.vue +++ b/src/views/wms/instockOrderCopy/index.vue @@ -64,8 +64,8 @@ - - + + - - + +