From a02069bb8ceeaedfd0ff4bba080e44b26166dd84 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Thu, 4 Sep 2025 14:38:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms):=20=E4=BC=98=E5=8C=96=E5=87=BA?= =?UTF-8?q?=E5=BA=93=E5=8D=95=E5=88=9B=E5=BB=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加搜索和重置按钮 - 修改仓库名称显示 - 优化销售客户选择逻辑 - 移除物料大类选择 - 完善表单验证和提交逻辑 - 更新相关类型定义 --- src/api/wms/outstockOrder/types.ts | 23 ++++++ src/views/wms/outstockOrderCopy/index.vue | 95 +++++++++++++++++------ 2 files changed, 94 insertions(+), 24 deletions(-) diff --git a/src/api/wms/outstockOrder/types.ts b/src/api/wms/outstockOrder/types.ts index 0689a8d..d9ec1e1 100644 --- a/src/api/wms/outstockOrder/types.ts +++ b/src/api/wms/outstockOrder/types.ts @@ -1,3 +1,5 @@ +import type { OutstockDetailForm } from '@/api/wms/outstockDetail/types'; + export interface OutstockOrderVO { /** * 出库单 主键 @@ -62,6 +64,12 @@ export interface OutstockOrderVO { */ customerId: string | number; + /** + * 仓库名称 + */ + warehouseName: string; + + } export interface OutstockOrderForm extends BaseEntity { @@ -127,6 +135,16 @@ export interface OutstockOrderForm extends BaseEntity { */ customerId?: string | number; + /** + * 仓库名称 + */ + warehouseName: string; + + /** + * 出库明细集合(一次性提交) + */ + detailList?: OutstockDetailForm[]; + } export interface OutstockOrderQuery extends PageQuery { @@ -193,6 +211,11 @@ export interface OutstockOrderQuery extends PageQuery { */ customerId?: string | number; + /** + * 仓库名称 + */ + warehouseName: string; + /** * 日期范围参数 */ diff --git a/src/views/wms/outstockOrderCopy/index.vue b/src/views/wms/outstockOrderCopy/index.vue index 2fdf5ed..3850049 100644 --- a/src/views/wms/outstockOrderCopy/index.vue +++ b/src/views/wms/outstockOrderCopy/index.vue @@ -15,6 +15,10 @@ + + 搜索 + 重置 + @@ -44,8 +48,7 @@ @current-change="parentTableCellClick" @selection-change="selectionChange" ref="parentTableRef"> - - +