From 0cf72dd9a6c02443f9539ef6533c2d4a6597cef7 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Fri, 15 Aug 2025 16:33:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms):=20=E4=BC=98=E5=8C=96=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD=EF=BC=8C=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8D=E5=86=8D=E8=B0=83=E7=94=A8=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E4=B8=BB=E8=A1=A8=E5=92=8C=E5=AD=90=E8=A1=A8=E4=B8=A4=E4=B8=AA?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=EF=BC=8C=E8=80=8C=E6=98=AF=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E4=B8=80=E6=AC=A1=E6=8E=A5=E5=8F=A3=EF=BC=8C=E5=B0=86=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E5=8D=95=E5=AD=90=E8=A1=A8=E4=BD=9C=E4=B8=BA=E4=B8=BB?= =?UTF-8?q?=E8=A1=A8=E5=AD=97=E6=AE=B5=E6=8F=92=E5=85=A5=EF=BC=8C=E6=9B=B4?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=96=B0=E5=A2=9E=E7=9A=84=E5=8D=B3=E5=85=A5?= =?UTF-8?q?=E5=8D=B3=E5=87=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 baseMaterialInfo 表格添加质检要求和是否高价值物料字段 - 更新 instockOrderCopy 和 wmsPurchaseOrderCopy 中的物料选择逻辑 - 在 allocateOrder添加调拨原因字段 --- src/api/wms/allocateOrder/types.ts | 15 ++++++ src/api/wms/baseMaterialInfo/types.ts | 32 ++++++++++++ src/api/wms/instockOrder/types.ts | 7 +++ src/views/wms/baseMaterialInfo/index.vue | 55 ++++++++++++++++++-- src/views/wms/instockOrderCopy/index.vue | 49 +++++++++++------ src/views/wms/wmsPurchaseOrderCopy/index.vue | 4 +- 6 files changed, 141 insertions(+), 21 deletions(-) diff --git a/src/api/wms/allocateOrder/types.ts b/src/api/wms/allocateOrder/types.ts index 5356fa9..745f7dc 100644 --- a/src/api/wms/allocateOrder/types.ts +++ b/src/api/wms/allocateOrder/types.ts @@ -76,6 +76,11 @@ export interface AllocateOrderVO { */ inMethod: string; + /** + * 调拨原因 + */ + allocateReason: string; + } export interface AllocateOrderForm extends BaseEntity { @@ -156,6 +161,11 @@ export interface AllocateOrderForm extends BaseEntity { */ inMethod?: string; + /** + * 调拨原因 + */ + allocateReason?: string; + } export interface AllocateOrderQuery extends PageQuery { @@ -237,6 +247,11 @@ export interface AllocateOrderQuery extends PageQuery { */ inMethod?: string; + /** + * 调拨原因 + */ + allocateReason?: string; + /** * 日期范围参数 */ diff --git a/src/api/wms/baseMaterialInfo/types.ts b/src/api/wms/baseMaterialInfo/types.ts index 56a69cd..7c29d20 100644 --- a/src/api/wms/baseMaterialInfo/types.ts +++ b/src/api/wms/baseMaterialInfo/types.ts @@ -293,6 +293,17 @@ export interface BaseMaterialInfoVO { */ materialCategoryName: string; + + /** + * 质检要求(0必检,1免检) + */ + inspectionRequest: string; + + /** + * 是否高价值物料(0否,1是) + */ + isHighValue: string; + } export interface BaseMaterialInfoForm extends BaseEntity { @@ -550,6 +561,16 @@ export interface BaseMaterialInfoForm extends BaseEntity { */ materialCategoryName: string; + /** + * 质检要求(0必检,1免检) + */ + inspectionRequest?: string; + + /** + * 是否高价值物料(0否,1是) + */ + isHighValue?: string; + } export interface BaseMaterialInfoQuery extends PageQuery { @@ -790,6 +811,17 @@ export interface BaseMaterialInfoQuery extends PageQuery { */ saleType?: string; + /** + * 质检要求(0必检,1免检) + */ + inspectionRequest?: string; + + /** + * 是否高价值物料(0否,1是) + */ + isHighValue?: string; + + /** * 日期范围参数 */ diff --git a/src/api/wms/instockOrder/types.ts b/src/api/wms/instockOrder/types.ts index 46c932c..a9dea86 100644 --- a/src/api/wms/instockOrder/types.ts +++ b/src/api/wms/instockOrder/types.ts @@ -1,3 +1,5 @@ +import { InstockDetailForm } from '@/api/wms/instockDetail/types'; + export interface InstockOrderVO { /** * 入库单 主键 @@ -116,6 +118,11 @@ export interface InstockOrderForm extends BaseEntity { */ instockMethond?: string; + /** + * 入库单子表(与后端 WmsInstockOrderBo.detailListBo 对齐) + */ + detailListBo?: InstockDetailForm[]; + } export interface InstockOrderQuery extends PageQuery { diff --git a/src/views/wms/baseMaterialInfo/index.vue b/src/views/wms/baseMaterialInfo/index.vue index 47262e7..e1743af 100644 --- a/src/views/wms/baseMaterialInfo/index.vue +++ b/src/views/wms/baseMaterialInfo/index.vue @@ -83,7 +83,16 @@ {{ formatDayHourMinutes(scope.row.maxParkingTime) }} - + + + + + +