From 47ad16dfb2486db1bdad18a0edb31055f56a44b8 Mon Sep 17 00:00:00 2001 From: tongfei <244188119@qq.com> Date: Fri, 27 Oct 2023 10:36:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AE=9E=E4=BD=93=E5=91=BD?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WMS.Web.Api/wwwroot/WMS.Web.Core.xml | 95 +++++++++++++++++++ src/WMS.Web.Api/wwwroot/WMS.Web.Domain.xml | 75 ++++++++++----- src/WMS.Web.Domain/Entitys/InstockTask.cs | 4 +- .../Entitys/InstockTaskDetails.cs | 2 +- .../Configuration/RepositoryDbContext.cs | 8 +- 5 files changed, 153 insertions(+), 31 deletions(-) diff --git a/src/WMS.Web.Api/wwwroot/WMS.Web.Core.xml b/src/WMS.Web.Api/wwwroot/WMS.Web.Core.xml index b490ca21..7440356c 100644 --- a/src/WMS.Web.Api/wwwroot/WMS.Web.Core.xml +++ b/src/WMS.Web.Api/wwwroot/WMS.Web.Core.xml @@ -730,11 +730,106 @@ 用户类型:1为员工,2为供应商,3为客户 + + + 物料规格型号 + + + + + 箱号 + + + + + 原仓位 + + + + + 目标仓位 + + + + + 数量 + + + + + 类型:整箱移货上级,整箱移货下级 + + + + + 操作人 + + + + + 操作时间 + + 移箱列表请求 + + + 类型:1- 整箱移货上级,2-整箱移货下级 + + + + + 箱号 + + + + + 操作人 + + + + + 操作时间开始 + + + + + 操作时间结束 + + + + + 移箱保存 + + + + + 箱号ID + + + + + 原仓位ID + + + + + 目标仓位ID + + + + + 数量 + + + + + 类型:1-整箱移货上级,2-整箱移货下级 + + 组织Id(所有列表页都需要 全局) diff --git a/src/WMS.Web.Api/wwwroot/WMS.Web.Domain.xml b/src/WMS.Web.Api/wwwroot/WMS.Web.Domain.xml index dbbe844f..e9087e62 100644 --- a/src/WMS.Web.Api/wwwroot/WMS.Web.Domain.xml +++ b/src/WMS.Web.Api/wwwroot/WMS.Web.Domain.xml @@ -280,122 +280,122 @@ 数量 - + erp入库任务表 - + ID - + 单据编号 - + 入库状态 - + 入库类型 - + 收货人 - + 收货时间 - + 操作人(上架人) - + 操作时间(入库时间) - + 明细 - + erp入库任务明细表 - + ID - + 单据头ID - + 来源单号 - + 供应商Id - + 组织ID - + 物料ID - + 收货仓库 - + 出厂价 - + 应入数量 - + 收货数量 - + 实际入库数量 - + 明细备注 - + 创建时间(erp那边的创建时间) @@ -510,6 +510,11 @@ 目标仓位ID + + + 数量 + + 类型:1-整箱移货上级,2-整箱移货下级 @@ -525,6 +530,12 @@ 操作时间 + + + 创建 + + + wms出库单 @@ -1290,6 +1301,22 @@ 改箱 移箱服务 + + + 改箱保存 + + + + + + + + 移箱保存 + + + + + erp数据交互服务 diff --git a/src/WMS.Web.Domain/Entitys/InstockTask.cs b/src/WMS.Web.Domain/Entitys/InstockTask.cs index b6440577..966f68a5 100644 --- a/src/WMS.Web.Domain/Entitys/InstockTask.cs +++ b/src/WMS.Web.Domain/Entitys/InstockTask.cs @@ -11,7 +11,7 @@ namespace WMS.Web.Domain.Entitys /// [Serializable] [Table("t_erp_instock_task")] - public class InstockTask + public class InStockTask { /// /// ID @@ -50,6 +50,6 @@ namespace WMS.Web.Domain.Entitys /// 明细 /// [NotMapped] - public List Details = new List(); + public List Details = new List(); } } diff --git a/src/WMS.Web.Domain/Entitys/InstockTaskDetails.cs b/src/WMS.Web.Domain/Entitys/InstockTaskDetails.cs index 13ab7c08..a3775e78 100644 --- a/src/WMS.Web.Domain/Entitys/InstockTaskDetails.cs +++ b/src/WMS.Web.Domain/Entitys/InstockTaskDetails.cs @@ -10,7 +10,7 @@ namespace WMS.Web.Domain.Entitys /// [Serializable] [Table("t_erp_outstock_task_details")] - public class InstockTaskDetails + public class InStockTaskDetails { /// /// ID diff --git a/src/WMS.Web.Repositories/Configuration/RepositoryDbContext.cs b/src/WMS.Web.Repositories/Configuration/RepositoryDbContext.cs index 02f43aa7..80bb0b4f 100644 --- a/src/WMS.Web.Repositories/Configuration/RepositoryDbContext.cs +++ b/src/WMS.Web.Repositories/Configuration/RepositoryDbContext.cs @@ -116,7 +116,7 @@ namespace WMS.Web.Repositories.Configuration # endregion #region 入库任务单 - builder.Entity(ent => + builder.Entity(ent => { ent.ToTable("t_erp_instock_task"); ent.HasKey(x => x.Id); @@ -126,7 +126,7 @@ namespace WMS.Web.Repositories.Configuration .HasForeignKey(p => p.Fid) .OnDelete(DeleteBehavior.Cascade); }); - builder.Entity(ent => + builder.Entity(ent => { ent.ToTable("t_erp_outstock_task_details"); ent.HasKey(x => x.Id); @@ -192,8 +192,8 @@ namespace WMS.Web.Repositories.Configuration public DbSet TakeStock { get; set; } public DbSet Instock { get; set; } public DbSet InStockDetails { get; set; } - public DbSet InstockTask { get; set; } - public DbSet InstockTaskDetails { get; set; } + public DbSet InStockTask { get; set; } + public DbSet InStockTaskDetails { get; set; } public DbSet BackRecord { get; set; } public DbSet BackRecordDetails { get; set; } public DbSet BoxInventory { get; set; }