From 53eb1fecde9382d90772513f60f4c0e12ed32582 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Wed, 3 Sep 2025 14:57:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms):=20=E5=85=A5=E5=BA=93=E5=8D=95?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E5=A2=9E=E5=8A=A0=E8=B4=A8=E6=A3=80=E8=A6=81?= =?UTF-8?q?=E6=B1=82=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在入库单打印表格中添加质检要求列 - 在 API 类型定义中添加质检要求字段 - 更新数据模型和查询参数以支持质检要求 --- src/api/wms/instockPrint/types.ts | 17 +++++++++++++++++ src/views/wms/instockOrderCopy/index.vue | 5 +++++ src/views/wms/instockPrint/index.vue | 11 ++++++++++- 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/src/api/wms/instockPrint/types.ts b/src/api/wms/instockPrint/types.ts index 5c13ec4..42f8c5e 100644 --- a/src/api/wms/instockPrint/types.ts +++ b/src/api/wms/instockPrint/types.ts @@ -91,6 +91,11 @@ export interface InstockPrintVO { */ agvStatus?: string; + /** + * 质检要求(0必检,1免检) + */ + inspectionRequest?: string; + } export interface InstockPrintForm extends BaseEntity { @@ -185,6 +190,13 @@ export interface InstockPrintForm extends BaseEntity { * AGV状态(0待拾取 / 1运输中 / 2完成) */ agvStatus?: string; + + /** + * 质检要求(0必检,1免检) + */ + inspectionRequest?: string; + + } export interface InstockPrintQuery extends PageQuery { @@ -282,6 +294,11 @@ export interface InstockPrintQuery extends PageQuery { */ agvStatus?: string; + /** + * 质检要求(0必检,1免检) + */ + inspectionRequest?: string; + /** * 日期范围参数 diff --git a/src/views/wms/instockOrderCopy/index.vue b/src/views/wms/instockOrderCopy/index.vue index 9c1055d..b9608ac 100644 --- a/src/views/wms/instockOrderCopy/index.vue +++ b/src/views/wms/instockOrderCopy/index.vue @@ -850,6 +850,11 @@ const submitForm = async() => { childrenTableInfoForm.value.batchCode = generateBatchCode(childrenTableInfoForm.value) await updateInstockDetail(childrenTableInfoForm.value) + // === 新增代码:刷新子表数据 === + await getChildrenTable({ + instockId: partntTableSelectCell.value.instockId, + auditStatus: partntTableSelectCell.value.auditStatus + }) getChildrenTable({instockId: partntTableSelectCell.value.instockId}) childrenTableInfoVisible.value = false } diff --git a/src/views/wms/instockPrint/index.vue b/src/views/wms/instockPrint/index.vue index 7957bc8..0b8c1af 100644 --- a/src/views/wms/instockPrint/index.vue +++ b/src/views/wms/instockPrint/index.vue @@ -127,6 +127,12 @@ + + + +