229 changed files with 4487 additions and 4487 deletions
@ -0,0 +1,27 @@ |
|||||
|
using Volo.Abp.Authorization.Permissions; |
||||
|
using Win_in.Sfs.Wms.Store.Domain; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public static class AssembleIssueJobPermissions |
||||
|
{ |
||||
|
|
||||
|
public const string Default = StorePermissions.GroupName + "." + nameof(AssembleIssueJob); |
||||
|
public const string Create = Default + "." + StorePermissions.CreateStr; |
||||
|
public const string Update = Default + "." + StorePermissions.UpdateStr; |
||||
|
public const string Delete = Default + "." + StorePermissions.DeleteStr; |
||||
|
|
||||
|
//自动发料任务
|
||||
|
public const string AutoAssembleIssueJob = StorePermissions.GroupName + "." + nameof(AutoAssembleIssueJob); |
||||
|
|
||||
|
public static void AddAssembleIssueJobPermission(this PermissionGroupDefinition permissionGroup) |
||||
|
{ |
||||
|
var AssembleIssueJobPermission = permissionGroup.AddPermission(Default, StorePermissionDefinitionProvider.L(nameof(AssembleIssueJob))); |
||||
|
AssembleIssueJobPermission.AddChild(Create, StorePermissionDefinitionProvider.L(StorePermissions.CreateStr)); |
||||
|
AssembleIssueJobPermission.AddChild(Update, StorePermissionDefinitionProvider.L(StorePermissions.UpdateStr)); |
||||
|
AssembleIssueJobPermission.AddChild(Delete, StorePermissionDefinitionProvider.L(StorePermissions.DeleteStr)); |
||||
|
|
||||
|
permissionGroup.AddPermission(AutoAssembleIssueJob, StorePermissionDefinitionProvider.L(nameof(AutoAssembleIssueJob))); |
||||
|
|
||||
|
} |
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
using System.Threading; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public interface IAssembleIssueJobAppService |
||||
|
: ISfsJobAppServiceBase<AssembleIssueJobDTO, SfsJobRequestInputBase, AssembleIssueJobCheckInput, AssembleIssueJobEditInput> |
||||
|
{ |
||||
|
Task CancelByMaterialRequestAsync(string assembleNumber); |
||||
|
|
||||
|
Task<List<AssembleIssueJobDTO>> GetByRequestNumberAsync(string requestNumber); |
||||
|
|
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public class AssembleIssueJobCheckInput : SfsJobCheckInputBase |
||||
|
{ |
||||
|
|
||||
|
} |
@ -0,0 +1,519 @@ |
|||||
|
using System; |
||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using System.ComponentModel.DataAnnotations.Schema; |
||||
|
using Win_in.Sfs.Shared.Application.Contracts; |
||||
|
using Win_in.Sfs.Shared.Domain.Shared; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public class AssembleIssueJobDetailInput : SfsDetailInputBase |
||||
|
{ |
||||
|
#region 库存基础信息
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品代码
|
||||
|
/// </summary>
|
||||
|
public string ItemCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品名称
|
||||
|
/// </summary>
|
||||
|
public string ItemName { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品描述1
|
||||
|
/// </summary>
|
||||
|
public string ItemDesc1 { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品描述2
|
||||
|
/// </summary>
|
||||
|
public string ItemDesc2 { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 标包数量
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "标包数量")] |
||||
|
[Column(TypeName = "decimal(18,6)")] |
||||
|
public decimal StdPackQty { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库存状态
|
||||
|
/// </summary>
|
||||
|
public EnumInventoryStatus Status { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 计量单位
|
||||
|
/// </summary>
|
||||
|
public string Uom { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 请求信息
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 请求库位
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到库区
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到库位组
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到仓库
|
||||
|
/// </summary>
|
||||
|
public string RequestWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 在途库库位
|
||||
|
/// </summary>
|
||||
|
public string OnTheWayLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 生产线
|
||||
|
/// </summary>
|
||||
|
public string ProdLine { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 位置码
|
||||
|
/// </summary>
|
||||
|
public string PositionCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐的类型
|
||||
|
/// </summary>
|
||||
|
public EnumRecommendType RecommendType { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 需求数量
|
||||
|
/// </summary>
|
||||
|
public decimal RequestQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 推荐来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源托标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源箱标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次排序
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库区
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库位组
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源仓库
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源数量
|
||||
|
/// </summary>
|
||||
|
public decimal RecommendFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 推荐目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标托标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标箱标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string RecommendToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次排序
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库区
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库位组
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标仓库
|
||||
|
/// </summary>
|
||||
|
public string RecommendToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标数量
|
||||
|
/// </summary>
|
||||
|
public decimal RecommendToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 库移来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源托标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源箱标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次排序
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库区
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库位组
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源ERP库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源仓库
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源数量
|
||||
|
/// </summary>
|
||||
|
public decimal TransferLibFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 库移目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标托标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标箱标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次排序
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库区
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库位组
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标ERP库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标仓库
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标数量
|
||||
|
/// </summary>
|
||||
|
public decimal TransferLibToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 实际来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际目标托标签
|
||||
|
/// </summary>
|
||||
|
public string HandledFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际箱标签
|
||||
|
/// </summary>
|
||||
|
public string HandledFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string HandledFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次排序
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库区
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位组
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际ERP库位
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际仓库
|
||||
|
/// </summary>
|
||||
|
public string HandledFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际数量
|
||||
|
/// </summary>
|
||||
|
public decimal HandledFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 实际目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际目标托标签
|
||||
|
/// </summary>
|
||||
|
public string HandledToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际箱标签
|
||||
|
/// </summary>
|
||||
|
public string HandledToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string HandledToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次排序
|
||||
|
/// </summary>
|
||||
|
public string HandledToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库区
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位组
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际ERP库位
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际仓库
|
||||
|
/// </summary>
|
||||
|
public string HandledToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际数量
|
||||
|
/// </summary>
|
||||
|
public decimal HandledToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
} |
@ -1,27 +0,0 @@ |
|||||
using Volo.Abp.Authorization.Permissions; |
|
||||
using Win_in.Sfs.Wms.Store.Domain; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public static class AssembleJobPermissions |
|
||||
{ |
|
||||
|
|
||||
public const string Default = StorePermissions.GroupName + "." + nameof(AssembleJob); |
|
||||
public const string Create = Default + "." + StorePermissions.CreateStr; |
|
||||
public const string Update = Default + "." + StorePermissions.UpdateStr; |
|
||||
public const string Delete = Default + "." + StorePermissions.DeleteStr; |
|
||||
|
|
||||
//自动发料任务
|
|
||||
public const string AutoAssembleJob = StorePermissions.GroupName + "." + nameof(AutoAssembleJob); |
|
||||
|
|
||||
public static void AddAssembleJobPermission(this PermissionGroupDefinition permissionGroup) |
|
||||
{ |
|
||||
var AssembleJobPermission = permissionGroup.AddPermission(Default, StorePermissionDefinitionProvider.L(nameof(AssembleJob))); |
|
||||
AssembleJobPermission.AddChild(Create, StorePermissionDefinitionProvider.L(StorePermissions.CreateStr)); |
|
||||
AssembleJobPermission.AddChild(Update, StorePermissionDefinitionProvider.L(StorePermissions.UpdateStr)); |
|
||||
AssembleJobPermission.AddChild(Delete, StorePermissionDefinitionProvider.L(StorePermissions.DeleteStr)); |
|
||||
|
|
||||
permissionGroup.AddPermission(AutoAssembleJob, StorePermissionDefinitionProvider.L(nameof(AutoAssembleJob))); |
|
||||
|
|
||||
} |
|
||||
} |
|
@ -1,15 +0,0 @@ |
|||||
using System.Collections.Generic; |
|
||||
using System.Threading; |
|
||||
using System.Threading.Tasks; |
|
||||
using Volo.Abp.Application.Dtos; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public interface IAssembleJobAppService |
|
||||
: ISfsJobAppServiceBase<AssembleJobDTO, SfsJobRequestInputBase, AssembleJobCheckInput, AssembleJobEditInput> |
|
||||
{ |
|
||||
Task CancelByMaterialRequestAsync(string assembleNumber); |
|
||||
|
|
||||
Task<List<AssembleJobDTO>> GetByRequestNumberAsync(string requestNumber); |
|
||||
|
|
||||
} |
|
@ -1,6 +0,0 @@ |
|||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public class AssembleJobCheckInput : SfsJobCheckInputBase |
|
||||
{ |
|
||||
|
|
||||
} |
|
@ -0,0 +1,14 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
using System.Threading; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public interface IInjectionIssueJobAppService |
||||
|
: ISfsJobAppServiceBase<InjectionIssueJobDTO, SfsJobRequestInputBase, InjectionIssueJobCheckInput, InjectionIssueJobEditInput> |
||||
|
{ |
||||
|
Task CancelByMaterialRequestAsync(string injectionNumber); |
||||
|
|
||||
|
Task<List<InjectionIssueJobDTO>> GetByRequestNumberAsync(string requestNumber); |
||||
|
} |
@ -1,14 +0,0 @@ |
|||||
using System.Collections.Generic; |
|
||||
using System.Threading; |
|
||||
using System.Threading.Tasks; |
|
||||
using Volo.Abp.Application.Dtos; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public interface IInjectionJobAppService |
|
||||
: ISfsJobAppServiceBase<InjectionJobDTO, SfsJobRequestInputBase, InjectionJobCheckInput, InjectionJobEditInput> |
|
||||
{ |
|
||||
Task CancelByMaterialRequestAsync(string injectionNumber); |
|
||||
|
|
||||
Task<List<InjectionJobDTO>> GetByRequestNumberAsync(string requestNumber); |
|
||||
} |
|
@ -0,0 +1,27 @@ |
|||||
|
using Volo.Abp.Authorization.Permissions; |
||||
|
using Win_in.Sfs.Wms.Store.Domain; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public static class InjectionIssueJobPermissions |
||||
|
{ |
||||
|
|
||||
|
public const string Default = StorePermissions.GroupName + "." + nameof(InjectionIssueJob); |
||||
|
public const string Create = Default + "." + StorePermissions.CreateStr; |
||||
|
public const string Update = Default + "." + StorePermissions.UpdateStr; |
||||
|
public const string Delete = Default + "." + StorePermissions.DeleteStr; |
||||
|
|
||||
|
//自动发料任务
|
||||
|
public const string AutoInjectionIssueJob = StorePermissions.GroupName + "." + nameof(AutoInjectionIssueJob); |
||||
|
|
||||
|
public static void AddInjectionIssueJobPermission(this PermissionGroupDefinition permissionGroup) |
||||
|
{ |
||||
|
var InjectionIssueJobPermission = permissionGroup.AddPermission(Default, StorePermissionDefinitionProvider.L(nameof(InjectionIssueJob))); |
||||
|
InjectionIssueJobPermission.AddChild(Create, StorePermissionDefinitionProvider.L(StorePermissions.CreateStr)); |
||||
|
InjectionIssueJobPermission.AddChild(Update, StorePermissionDefinitionProvider.L(StorePermissions.UpdateStr)); |
||||
|
InjectionIssueJobPermission.AddChild(Delete, StorePermissionDefinitionProvider.L(StorePermissions.DeleteStr)); |
||||
|
|
||||
|
permissionGroup.AddPermission(AutoInjectionIssueJob, StorePermissionDefinitionProvider.L(nameof(AutoInjectionIssueJob))); |
||||
|
|
||||
|
} |
||||
|
} |
@ -1,27 +0,0 @@ |
|||||
using Volo.Abp.Authorization.Permissions; |
|
||||
using Win_in.Sfs.Wms.Store.Domain; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public static class InjectionJobPermissions |
|
||||
{ |
|
||||
|
|
||||
public const string Default = StorePermissions.GroupName + "." + nameof(InjectionJob); |
|
||||
public const string Create = Default + "." + StorePermissions.CreateStr; |
|
||||
public const string Update = Default + "." + StorePermissions.UpdateStr; |
|
||||
public const string Delete = Default + "." + StorePermissions.DeleteStr; |
|
||||
|
|
||||
//自动发料任务
|
|
||||
public const string AutoInjectionJob = StorePermissions.GroupName + "." + nameof(AutoInjectionJob); |
|
||||
|
|
||||
public static void AddInjectionJobPermission(this PermissionGroupDefinition permissionGroup) |
|
||||
{ |
|
||||
var InjectionJobPermission = permissionGroup.AddPermission(Default, StorePermissionDefinitionProvider.L(nameof(InjectionJob))); |
|
||||
InjectionJobPermission.AddChild(Create, StorePermissionDefinitionProvider.L(StorePermissions.CreateStr)); |
|
||||
InjectionJobPermission.AddChild(Update, StorePermissionDefinitionProvider.L(StorePermissions.UpdateStr)); |
|
||||
InjectionJobPermission.AddChild(Delete, StorePermissionDefinitionProvider.L(StorePermissions.DeleteStr)); |
|
||||
|
|
||||
permissionGroup.AddPermission(AutoInjectionJob, StorePermissionDefinitionProvider.L(nameof(AutoInjectionJob))); |
|
||||
|
|
||||
} |
|
||||
} |
|
@ -0,0 +1,6 @@ |
|||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public class InjectionIssueJobCheckInput : SfsJobCheckInputBase |
||||
|
{ |
||||
|
|
||||
|
} |
@ -0,0 +1,519 @@ |
|||||
|
using System; |
||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using System.ComponentModel.DataAnnotations.Schema; |
||||
|
using Win_in.Sfs.Shared.Application.Contracts; |
||||
|
using Win_in.Sfs.Shared.Domain.Shared; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public class InjectionIssueJobDetailInput : SfsDetailInputBase |
||||
|
{ |
||||
|
#region 库存基础信息
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品代码
|
||||
|
/// </summary>
|
||||
|
public string ItemCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品名称
|
||||
|
/// </summary>
|
||||
|
public string ItemName { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品描述1
|
||||
|
/// </summary>
|
||||
|
public string ItemDesc1 { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品描述2
|
||||
|
/// </summary>
|
||||
|
public string ItemDesc2 { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 标包数量
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "标包数量")] |
||||
|
[Column(TypeName = "decimal(18,6)")] |
||||
|
public decimal StdPackQty { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库存状态
|
||||
|
/// </summary>
|
||||
|
public EnumInventoryStatus Status { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 计量单位
|
||||
|
/// </summary>
|
||||
|
public string Uom { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 请求信息
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 请求库位
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到库区
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到库位组
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到仓库
|
||||
|
/// </summary>
|
||||
|
public string RequestWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 在途库库位
|
||||
|
/// </summary>
|
||||
|
public string OnTheWayLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 生产线
|
||||
|
/// </summary>
|
||||
|
public string ProdLine { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 位置码
|
||||
|
/// </summary>
|
||||
|
public string PositionCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐的类型
|
||||
|
/// </summary>
|
||||
|
public EnumRecommendType RecommendType { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 需求数量
|
||||
|
/// </summary>
|
||||
|
public decimal RequestQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 推荐来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源托标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源箱标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次排序
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库区
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库位组
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源仓库
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源数量
|
||||
|
/// </summary>
|
||||
|
public decimal RecommendFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 推荐目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标托标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标箱标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string RecommendToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次排序
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库区
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库位组
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标仓库
|
||||
|
/// </summary>
|
||||
|
public string RecommendToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标数量
|
||||
|
/// </summary>
|
||||
|
public decimal RecommendToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 库移来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源托标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源箱标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次排序
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库区
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库位组
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源ERP库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源仓库
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源数量
|
||||
|
/// </summary>
|
||||
|
public decimal TransferLibFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 库移目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标托标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标箱标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次排序
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库区
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库位组
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标ERP库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标仓库
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标数量
|
||||
|
/// </summary>
|
||||
|
public decimal TransferLibToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 实际来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际目标托标签
|
||||
|
/// </summary>
|
||||
|
public string HandledFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际箱标签
|
||||
|
/// </summary>
|
||||
|
public string HandledFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string HandledFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次排序
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库区
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位组
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际ERP库位
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际仓库
|
||||
|
/// </summary>
|
||||
|
public string HandledFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际数量
|
||||
|
/// </summary>
|
||||
|
public decimal HandledFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 实际目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际目标托标签
|
||||
|
/// </summary>
|
||||
|
public string HandledToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际箱标签
|
||||
|
/// </summary>
|
||||
|
public string HandledToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string HandledToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次排序
|
||||
|
/// </summary>
|
||||
|
public string HandledToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库区
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位组
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际ERP库位
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际仓库
|
||||
|
/// </summary>
|
||||
|
public string HandledToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际数量
|
||||
|
/// </summary>
|
||||
|
public decimal HandledToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
} |
@ -1,6 +0,0 @@ |
|||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public class InjectionJobCheckInput : SfsJobCheckInputBase |
|
||||
{ |
|
||||
|
|
||||
} |
|
@ -0,0 +1,30 @@ |
|||||
|
using Volo.Abp.Authorization.Permissions; |
||||
|
using Win_in.Sfs.Wms.Store.Domain; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public static class AssembleIssueNotePermissions |
||||
|
{ |
||||
|
|
||||
|
public const string Default = StorePermissions.GroupName + "." + nameof(AssembleIssueNote); |
||||
|
public const string Create = Default + "." + StorePermissions.CreateStr; |
||||
|
public const string Update = Default + "." + StorePermissions.UpdateStr; |
||||
|
public const string Delete = Default + "." + StorePermissions.DeleteStr; |
||||
|
|
||||
|
//自动发料记录
|
||||
|
public const string AutoAssembleIssueNote = StorePermissions.GroupName + "." + nameof(AutoAssembleIssueNote); |
||||
|
|
||||
|
//直接发料
|
||||
|
public const string DirectAssembleIssueNote = StorePermissions.GroupName + "." + nameof(DirectAssembleIssueNote); |
||||
|
|
||||
|
public static void AddAssembleIssueNotePermission(this PermissionGroupDefinition permissionGroup) |
||||
|
{ |
||||
|
var AssembleIssueNotePermission = permissionGroup.AddPermission(Default, StorePermissionDefinitionProvider.L(nameof(AssembleIssueNote))); |
||||
|
AssembleIssueNotePermission.AddChild(Create, StorePermissionDefinitionProvider.L(StorePermissions.CreateStr)); |
||||
|
AssembleIssueNotePermission.AddChild(Update, StorePermissionDefinitionProvider.L(StorePermissions.UpdateStr)); |
||||
|
AssembleIssueNotePermission.AddChild(Delete, StorePermissionDefinitionProvider.L(StorePermissions.DeleteStr)); |
||||
|
|
||||
|
permissionGroup.AddPermission(AutoAssembleIssueNote, StorePermissionDefinitionProvider.L(nameof(AutoAssembleIssueNote))); |
||||
|
permissionGroup.AddPermission(DirectAssembleIssueNote, StorePermissionDefinitionProvider.L(nameof(DirectAssembleIssueNote))); |
||||
|
} |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public interface IAssembleIssueNoteAppService : ISfsStoreMasterReadOnlyAppServiceBase<AssembleIssueNoteDTO, SfsStoreRequestInputBase, AssembleIssueNoteDetailDTO, SfsStoreRequestInputBase> |
||||
|
{ |
||||
|
Task<AssembleIssueNoteDTO> CreateAsync(AssembleIssueNoteEditInput input); |
||||
|
|
||||
|
Task<AssembleIssueNoteDTO> ConfirmAsync(Guid id); |
||||
|
|
||||
|
Task<AssembleIssueNoteDTO> ConfirmAsync(string number); |
||||
|
|
||||
|
Task<PagedResultDto<AssembleIssueNoteDTO>> GetListByTypeAsync(SfsStoreRequestInputBase requestInput, |
||||
|
string requestType, bool includeDetails = false, CancellationToken cancellationToken = default); |
||||
|
|
||||
|
Task<List<AssembleIssueNoteDTO>> GetListUnConfirmedByTypeAsync(string requestType); |
||||
|
} |
@ -0,0 +1,519 @@ |
|||||
|
using System; |
||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using System.ComponentModel.DataAnnotations.Schema; |
||||
|
using Win_in.Sfs.Shared.Application.Contracts; |
||||
|
using Win_in.Sfs.Shared.Domain.Shared; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public class AssembleIssueNoteDetailInput : SfsDetailInputBase |
||||
|
{ |
||||
|
#region 库存基础信息
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品代码
|
||||
|
/// </summary>
|
||||
|
public string ItemCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品名称
|
||||
|
/// </summary>
|
||||
|
public string ItemName { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品描述1
|
||||
|
/// </summary>
|
||||
|
public string ItemDesc1 { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品描述2
|
||||
|
/// </summary>
|
||||
|
public string ItemDesc2 { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 标包数量
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "标包数量")] |
||||
|
[Column(TypeName = "decimal(18,6)")] |
||||
|
public decimal StdPackQty { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库存状态
|
||||
|
/// </summary>
|
||||
|
public EnumInventoryStatus Status { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 计量单位
|
||||
|
/// </summary>
|
||||
|
public string Uom { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 请求信息
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 请求库位
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到库区
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到库位组
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到仓库
|
||||
|
/// </summary>
|
||||
|
public string RequestWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 在途库库位
|
||||
|
/// </summary>
|
||||
|
public string OnTheWayLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 生产线
|
||||
|
/// </summary>
|
||||
|
public string ProdLine { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 位置码
|
||||
|
/// </summary>
|
||||
|
public string PositionCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐的类型
|
||||
|
/// </summary>
|
||||
|
public EnumRecommendType RecommendType { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 需求数量
|
||||
|
/// </summary>
|
||||
|
public decimal RequestQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 推荐来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源托标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源箱标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次排序
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库区
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库位组
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源仓库
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源数量
|
||||
|
/// </summary>
|
||||
|
public decimal RecommendFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 推荐目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标托标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标箱标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string RecommendToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次排序
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库区
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库位组
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标仓库
|
||||
|
/// </summary>
|
||||
|
public string RecommendToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标数量
|
||||
|
/// </summary>
|
||||
|
public decimal RecommendToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 库移来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源托标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源箱标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次排序
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库区
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库位组
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源ERP库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源仓库
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源数量
|
||||
|
/// </summary>
|
||||
|
public decimal TransferLibFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 库移目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标托标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标箱标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次排序
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库区
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库位组
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标ERP库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标仓库
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标数量
|
||||
|
/// </summary>
|
||||
|
public decimal TransferLibToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 实际来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际目标托标签
|
||||
|
/// </summary>
|
||||
|
public string HandledFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际箱标签
|
||||
|
/// </summary>
|
||||
|
public string HandledFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string HandledFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次排序
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库区
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位组
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际ERP库位
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际仓库
|
||||
|
/// </summary>
|
||||
|
public string HandledFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际数量
|
||||
|
/// </summary>
|
||||
|
public decimal HandledFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 实际目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际目标托标签
|
||||
|
/// </summary>
|
||||
|
public string HandledToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际箱标签
|
||||
|
/// </summary>
|
||||
|
public string HandledToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string HandledToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次排序
|
||||
|
/// </summary>
|
||||
|
public string HandledToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库区
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位组
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际ERP库位
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际仓库
|
||||
|
/// </summary>
|
||||
|
public string HandledToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际数量
|
||||
|
/// </summary>
|
||||
|
public decimal HandledToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
} |
@ -1,30 +0,0 @@ |
|||||
using Volo.Abp.Authorization.Permissions; |
|
||||
using Win_in.Sfs.Wms.Store.Domain; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public static class AssembleNotePermissions |
|
||||
{ |
|
||||
|
|
||||
public const string Default = StorePermissions.GroupName + "." + nameof(AssembleNote); |
|
||||
public const string Create = Default + "." + StorePermissions.CreateStr; |
|
||||
public const string Update = Default + "." + StorePermissions.UpdateStr; |
|
||||
public const string Delete = Default + "." + StorePermissions.DeleteStr; |
|
||||
|
|
||||
//自动发料记录
|
|
||||
public const string AutoAssembleNote = StorePermissions.GroupName + "." + nameof(AutoAssembleNote); |
|
||||
|
|
||||
//直接发料
|
|
||||
public const string DirectAssembleNote = StorePermissions.GroupName + "." + nameof(DirectAssembleNote); |
|
||||
|
|
||||
public static void AddAssembleNotePermission(this PermissionGroupDefinition permissionGroup) |
|
||||
{ |
|
||||
var AssembleNotePermission = permissionGroup.AddPermission(Default, StorePermissionDefinitionProvider.L(nameof(AssembleNote))); |
|
||||
AssembleNotePermission.AddChild(Create, StorePermissionDefinitionProvider.L(StorePermissions.CreateStr)); |
|
||||
AssembleNotePermission.AddChild(Update, StorePermissionDefinitionProvider.L(StorePermissions.UpdateStr)); |
|
||||
AssembleNotePermission.AddChild(Delete, StorePermissionDefinitionProvider.L(StorePermissions.DeleteStr)); |
|
||||
|
|
||||
permissionGroup.AddPermission(AutoAssembleNote, StorePermissionDefinitionProvider.L(nameof(AutoAssembleNote))); |
|
||||
permissionGroup.AddPermission(DirectAssembleNote, StorePermissionDefinitionProvider.L(nameof(DirectAssembleNote))); |
|
||||
} |
|
||||
} |
|
@ -1,519 +0,0 @@ |
|||||
using System; |
|
||||
using System.ComponentModel.DataAnnotations; |
|
||||
using System.ComponentModel.DataAnnotations.Schema; |
|
||||
using Win_in.Sfs.Shared.Application.Contracts; |
|
||||
using Win_in.Sfs.Shared.Domain.Shared; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public class AssembleNoteDetailDTO : SfsDetailDTOBase |
|
||||
{ |
|
||||
#region 库存基础信息
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品代码
|
|
||||
/// </summary>
|
|
||||
public string ItemCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品名称
|
|
||||
/// </summary>
|
|
||||
public string ItemName { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品描述1
|
|
||||
/// </summary>
|
|
||||
public string ItemDesc1 { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品描述2
|
|
||||
/// </summary>
|
|
||||
public string ItemDesc2 { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 标包数量
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "标包数量")] |
|
||||
[Column(TypeName = "decimal(18,6)")] |
|
||||
public decimal StdPackQty { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库存状态
|
|
||||
/// </summary>
|
|
||||
public EnumInventoryStatus Status { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 计量单位
|
|
||||
/// </summary>
|
|
||||
public string Uom { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 请求信息
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 请求库位
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到库区
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到库位组
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到仓库
|
|
||||
/// </summary>
|
|
||||
public string RequestWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 在途库库位
|
|
||||
/// </summary>
|
|
||||
public string OnTheWayLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 生产线
|
|
||||
/// </summary>
|
|
||||
public string ProdLine { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 位置码
|
|
||||
/// </summary>
|
|
||||
public string PositionCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐的类型
|
|
||||
/// </summary>
|
|
||||
public EnumRecommendType RecommendType { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 需求数量
|
|
||||
/// </summary>
|
|
||||
public decimal RequestQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 推荐来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源托标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源箱标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次排序
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库区
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库位组
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源仓库
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源数量
|
|
||||
/// </summary>
|
|
||||
public decimal RecommendFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 推荐目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标托标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标箱标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string RecommendToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次排序
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库区
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库位组
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标仓库
|
|
||||
/// </summary>
|
|
||||
public string RecommendToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标数量
|
|
||||
/// </summary>
|
|
||||
public decimal RecommendToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 库移来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源托标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源箱标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次排序
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库区
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库位组
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源ERP库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源仓库
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源数量
|
|
||||
/// </summary>
|
|
||||
public decimal TransferLibFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 库移目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标托标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标箱标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次排序
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库区
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库位组
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标ERP库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标仓库
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标数量
|
|
||||
/// </summary>
|
|
||||
public decimal TransferLibToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 实际来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际目标托标签
|
|
||||
/// </summary>
|
|
||||
public string HandledFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际箱标签
|
|
||||
/// </summary>
|
|
||||
public string HandledFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string HandledFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次排序
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库区
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位组
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际ERP库位
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际仓库
|
|
||||
/// </summary>
|
|
||||
public string HandledFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际数量
|
|
||||
/// </summary>
|
|
||||
public decimal HandledFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 实际目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际目标托标签
|
|
||||
/// </summary>
|
|
||||
public string HandledToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际箱标签
|
|
||||
/// </summary>
|
|
||||
public string HandledToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string HandledToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次排序
|
|
||||
/// </summary>
|
|
||||
public string HandledToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库区
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位组
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际ERP库位
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际仓库
|
|
||||
/// </summary>
|
|
||||
public string HandledToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际数量
|
|
||||
/// </summary>
|
|
||||
public decimal HandledToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
} |
|
@ -1,21 +0,0 @@ |
|||||
using System; |
|
||||
using System.Collections.Generic; |
|
||||
using System.Threading; |
|
||||
using System.Threading.Tasks; |
|
||||
using Volo.Abp.Application.Dtos; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public interface IAssembleNoteAppService : ISfsStoreMasterReadOnlyAppServiceBase<AssembleNoteDTO, SfsStoreRequestInputBase, AssembleNoteDetailDTO, SfsStoreRequestInputBase> |
|
||||
{ |
|
||||
Task<AssembleNoteDTO> CreateAsync(AssembleNoteEditInput input); |
|
||||
|
|
||||
Task<AssembleNoteDTO> ConfirmAsync(Guid id); |
|
||||
|
|
||||
Task<AssembleNoteDTO> ConfirmAsync(string number); |
|
||||
|
|
||||
Task<PagedResultDto<AssembleNoteDTO>> GetListByTypeAsync(SfsStoreRequestInputBase requestInput, |
|
||||
string requestType, bool includeDetails = false, CancellationToken cancellationToken = default); |
|
||||
|
|
||||
Task<List<AssembleNoteDTO>> GetListUnConfirmedByTypeAsync(string requestType); |
|
||||
} |
|
@ -1,519 +0,0 @@ |
|||||
using System; |
|
||||
using System.ComponentModel.DataAnnotations; |
|
||||
using System.ComponentModel.DataAnnotations.Schema; |
|
||||
using Win_in.Sfs.Shared.Application.Contracts; |
|
||||
using Win_in.Sfs.Shared.Domain.Shared; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public class AssembleNoteDetailInput : SfsDetailInputBase |
|
||||
{ |
|
||||
#region 库存基础信息
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品代码
|
|
||||
/// </summary>
|
|
||||
public string ItemCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品名称
|
|
||||
/// </summary>
|
|
||||
public string ItemName { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品描述1
|
|
||||
/// </summary>
|
|
||||
public string ItemDesc1 { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品描述2
|
|
||||
/// </summary>
|
|
||||
public string ItemDesc2 { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 标包数量
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "标包数量")] |
|
||||
[Column(TypeName = "decimal(18,6)")] |
|
||||
public decimal StdPackQty { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库存状态
|
|
||||
/// </summary>
|
|
||||
public EnumInventoryStatus Status { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 计量单位
|
|
||||
/// </summary>
|
|
||||
public string Uom { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 请求信息
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 请求库位
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到库区
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到库位组
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到仓库
|
|
||||
/// </summary>
|
|
||||
public string RequestWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 在途库库位
|
|
||||
/// </summary>
|
|
||||
public string OnTheWayLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 生产线
|
|
||||
/// </summary>
|
|
||||
public string ProdLine { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 位置码
|
|
||||
/// </summary>
|
|
||||
public string PositionCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐的类型
|
|
||||
/// </summary>
|
|
||||
public EnumRecommendType RecommendType { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 需求数量
|
|
||||
/// </summary>
|
|
||||
public decimal RequestQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 推荐来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源托标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源箱标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次排序
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库区
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库位组
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源仓库
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源数量
|
|
||||
/// </summary>
|
|
||||
public decimal RecommendFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 推荐目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标托标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标箱标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string RecommendToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次排序
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库区
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库位组
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标仓库
|
|
||||
/// </summary>
|
|
||||
public string RecommendToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标数量
|
|
||||
/// </summary>
|
|
||||
public decimal RecommendToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 库移来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源托标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源箱标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次排序
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库区
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库位组
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源ERP库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源仓库
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源数量
|
|
||||
/// </summary>
|
|
||||
public decimal TransferLibFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 库移目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标托标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标箱标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次排序
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库区
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库位组
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标ERP库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标仓库
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标数量
|
|
||||
/// </summary>
|
|
||||
public decimal TransferLibToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 实际来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际目标托标签
|
|
||||
/// </summary>
|
|
||||
public string HandledFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际箱标签
|
|
||||
/// </summary>
|
|
||||
public string HandledFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string HandledFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次排序
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库区
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位组
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际ERP库位
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际仓库
|
|
||||
/// </summary>
|
|
||||
public string HandledFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际数量
|
|
||||
/// </summary>
|
|
||||
public decimal HandledFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 实际目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际目标托标签
|
|
||||
/// </summary>
|
|
||||
public string HandledToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际箱标签
|
|
||||
/// </summary>
|
|
||||
public string HandledToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string HandledToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次排序
|
|
||||
/// </summary>
|
|
||||
public string HandledToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库区
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位组
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际ERP库位
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际仓库
|
|
||||
/// </summary>
|
|
||||
public string HandledToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际数量
|
|
||||
/// </summary>
|
|
||||
public decimal HandledToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
} |
|
@ -0,0 +1,21 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public interface IInjectionIssueNoteAppService : ISfsStoreMasterReadOnlyAppServiceBase<InjectionIssueNoteDTO, SfsStoreRequestInputBase, InjectionIssueNoteDetailDTO, SfsStoreRequestInputBase> |
||||
|
{ |
||||
|
Task<InjectionIssueNoteDTO> CreateAsync(InjectionIssueNoteEditInput input); |
||||
|
|
||||
|
Task<InjectionIssueNoteDTO> ConfirmAsync(Guid id); |
||||
|
|
||||
|
Task<InjectionIssueNoteDTO> ConfirmAsync(string number); |
||||
|
|
||||
|
Task<PagedResultDto<InjectionIssueNoteDTO>> GetListByTypeAsync(SfsStoreRequestInputBase requestInput, |
||||
|
string requestType, bool includeDetails = false, CancellationToken cancellationToken = default); |
||||
|
|
||||
|
Task<List<InjectionIssueNoteDTO>> GetListUnConfirmedByTypeAsync(string requestType); |
||||
|
} |
@ -0,0 +1,519 @@ |
|||||
|
using System; |
||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using System.ComponentModel.DataAnnotations.Schema; |
||||
|
using Win_in.Sfs.Shared.Application.Contracts; |
||||
|
using Win_in.Sfs.Shared.Domain.Shared; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public class InjectionIssueNoteDetailInput : SfsDetailInputBase |
||||
|
{ |
||||
|
#region 库存基础信息
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品代码
|
||||
|
/// </summary>
|
||||
|
public string ItemCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品名称
|
||||
|
/// </summary>
|
||||
|
public string ItemName { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品描述1
|
||||
|
/// </summary>
|
||||
|
public string ItemDesc1 { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 物品描述2
|
||||
|
/// </summary>
|
||||
|
public string ItemDesc2 { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 标包数量
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "标包数量")] |
||||
|
[Column(TypeName = "decimal(18,6)")] |
||||
|
public decimal StdPackQty { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库存状态
|
||||
|
/// </summary>
|
||||
|
public EnumInventoryStatus Status { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 计量单位
|
||||
|
/// </summary>
|
||||
|
public string Uom { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 请求信息
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 请求库位
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到库区
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到库位组
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RequestLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 到仓库
|
||||
|
/// </summary>
|
||||
|
public string RequestWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 在途库库位
|
||||
|
/// </summary>
|
||||
|
public string OnTheWayLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 生产线
|
||||
|
/// </summary>
|
||||
|
public string ProdLine { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 位置码
|
||||
|
/// </summary>
|
||||
|
public string PositionCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐的类型
|
||||
|
/// </summary>
|
||||
|
public EnumRecommendType RecommendType { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 需求数量
|
||||
|
/// </summary>
|
||||
|
public decimal RequestQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 推荐来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源托标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源箱标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源批次排序
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库区
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源库位组
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源仓库
|
||||
|
/// </summary>
|
||||
|
public string RecommendFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐来源数量
|
||||
|
/// </summary>
|
||||
|
public decimal RecommendFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 推荐目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标托标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标箱标签
|
||||
|
/// </summary>
|
||||
|
public string RecommendToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string RecommendToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime RecommendToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标批次排序
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库区
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标库位组
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标ERP库位
|
||||
|
/// </summary>
|
||||
|
public string RecommendToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标仓库
|
||||
|
/// </summary>
|
||||
|
public string RecommendToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 推荐目标数量
|
||||
|
/// </summary>
|
||||
|
public decimal RecommendToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 库移来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源托标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源箱标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源批次排序
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库区
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源库位组
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源ERP库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源仓库
|
||||
|
/// </summary>
|
||||
|
public string TransferLibFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移来源数量
|
||||
|
/// </summary>
|
||||
|
public decimal TransferLibFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 库移目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标托标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标箱标签
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime TransferLibToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标批次排序
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库区
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标库位组
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标ERP库位
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标仓库
|
||||
|
/// </summary>
|
||||
|
public string TransferLibToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库移目标数量
|
||||
|
/// </summary>
|
||||
|
public decimal TransferLibToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 实际来源
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际目标托标签
|
||||
|
/// </summary>
|
||||
|
public string HandledFromContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际箱标签
|
||||
|
/// </summary>
|
||||
|
public string HandledFromPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string HandledFromSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledFromExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次排序
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库区
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位组
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际ERP库位
|
||||
|
/// </summary>
|
||||
|
public string HandledFromLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际仓库
|
||||
|
/// </summary>
|
||||
|
public string HandledFromWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际数量
|
||||
|
/// </summary>
|
||||
|
public decimal HandledFromQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 实际目标
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际目标托标签
|
||||
|
/// </summary>
|
||||
|
public string HandledToContainerCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际箱标签
|
||||
|
/// </summary>
|
||||
|
public string HandledToPackingCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次供应商批次
|
||||
|
/// </summary>
|
||||
|
public string HandledToSupplierBatch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次到货时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToArriveDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次生产时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToProduceDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次过期时间
|
||||
|
/// </summary>
|
||||
|
public DateTime HandledToExpireDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际批次排序
|
||||
|
/// </summary>
|
||||
|
public string HandledToLot { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库区
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationArea { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际库位组
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationGroup { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际ERP库位
|
||||
|
/// </summary>
|
||||
|
public string HandledToLocationErpCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际仓库
|
||||
|
/// </summary>
|
||||
|
public string HandledToWarehouseCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际数量
|
||||
|
/// </summary>
|
||||
|
public decimal HandledToQty { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
|
} |
@ -1,519 +0,0 @@ |
|||||
using System; |
|
||||
using System.ComponentModel.DataAnnotations; |
|
||||
using System.ComponentModel.DataAnnotations.Schema; |
|
||||
using Win_in.Sfs.Shared.Application.Contracts; |
|
||||
using Win_in.Sfs.Shared.Domain.Shared; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public class InjectionNoteDetailDTO : SfsDetailDTOBase |
|
||||
{ |
|
||||
#region 库存基础信息
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品代码
|
|
||||
/// </summary>
|
|
||||
public string ItemCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品名称
|
|
||||
/// </summary>
|
|
||||
public string ItemName { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品描述1
|
|
||||
/// </summary>
|
|
||||
public string ItemDesc1 { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品描述2
|
|
||||
/// </summary>
|
|
||||
public string ItemDesc2 { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 标包数量
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "标包数量")] |
|
||||
[Column(TypeName = "decimal(18,6)")] |
|
||||
public decimal StdPackQty { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库存状态
|
|
||||
/// </summary>
|
|
||||
public EnumInventoryStatus Status { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 计量单位
|
|
||||
/// </summary>
|
|
||||
public string Uom { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 请求信息
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 请求库位
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到库区
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到库位组
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到仓库
|
|
||||
/// </summary>
|
|
||||
public string RequestWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 在途库库位
|
|
||||
/// </summary>
|
|
||||
public string OnTheWayLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 生产线
|
|
||||
/// </summary>
|
|
||||
public string ProdLine { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 位置码
|
|
||||
/// </summary>
|
|
||||
public string PositionCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐的类型
|
|
||||
/// </summary>
|
|
||||
public EnumRecommendType RecommendType { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 需求数量
|
|
||||
/// </summary>
|
|
||||
public decimal RequestQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 推荐来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源托标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源箱标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次排序
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库区
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库位组
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源仓库
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源数量
|
|
||||
/// </summary>
|
|
||||
public decimal RecommendFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 推荐目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标托标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标箱标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string RecommendToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次排序
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库区
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库位组
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标仓库
|
|
||||
/// </summary>
|
|
||||
public string RecommendToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标数量
|
|
||||
/// </summary>
|
|
||||
public decimal RecommendToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 库移来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源托标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源箱标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次排序
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库区
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库位组
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源ERP库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源仓库
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源数量
|
|
||||
/// </summary>
|
|
||||
public decimal TransferLibFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 库移目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标托标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标箱标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次排序
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库区
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库位组
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标ERP库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标仓库
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标数量
|
|
||||
/// </summary>
|
|
||||
public decimal TransferLibToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 实际来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际目标托标签
|
|
||||
/// </summary>
|
|
||||
public string HandledFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际箱标签
|
|
||||
/// </summary>
|
|
||||
public string HandledFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string HandledFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次排序
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库区
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位组
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际ERP库位
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际仓库
|
|
||||
/// </summary>
|
|
||||
public string HandledFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际数量
|
|
||||
/// </summary>
|
|
||||
public decimal HandledFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 实际目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际目标托标签
|
|
||||
/// </summary>
|
|
||||
public string HandledToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际箱标签
|
|
||||
/// </summary>
|
|
||||
public string HandledToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string HandledToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次排序
|
|
||||
/// </summary>
|
|
||||
public string HandledToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库区
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位组
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际ERP库位
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际仓库
|
|
||||
/// </summary>
|
|
||||
public string HandledToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际数量
|
|
||||
/// </summary>
|
|
||||
public decimal HandledToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
} |
|
@ -1,21 +0,0 @@ |
|||||
using System; |
|
||||
using System.Collections.Generic; |
|
||||
using System.Threading; |
|
||||
using System.Threading.Tasks; |
|
||||
using Volo.Abp.Application.Dtos; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public interface IInjectionNoteAppService : ISfsStoreMasterReadOnlyAppServiceBase<InjectionNoteDTO, SfsStoreRequestInputBase, InjectionNoteDetailDTO, SfsStoreRequestInputBase> |
|
||||
{ |
|
||||
Task<InjectionNoteDTO> CreateAsync(InjectionNoteEditInput input); |
|
||||
|
|
||||
Task<InjectionNoteDTO> ConfirmAsync(Guid id); |
|
||||
|
|
||||
Task<InjectionNoteDTO> ConfirmAsync(string number); |
|
||||
|
|
||||
Task<PagedResultDto<InjectionNoteDTO>> GetListByTypeAsync(SfsStoreRequestInputBase requestInput, |
|
||||
string requestType, bool includeDetails = false, CancellationToken cancellationToken = default); |
|
||||
|
|
||||
Task<List<InjectionNoteDTO>> GetListUnConfirmedByTypeAsync(string requestType); |
|
||||
} |
|
@ -1,519 +0,0 @@ |
|||||
using System; |
|
||||
using System.ComponentModel.DataAnnotations; |
|
||||
using System.ComponentModel.DataAnnotations.Schema; |
|
||||
using Win_in.Sfs.Shared.Application.Contracts; |
|
||||
using Win_in.Sfs.Shared.Domain.Shared; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public class InjectionNoteDetailInput : SfsDetailInputBase |
|
||||
{ |
|
||||
#region 库存基础信息
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品代码
|
|
||||
/// </summary>
|
|
||||
public string ItemCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品名称
|
|
||||
/// </summary>
|
|
||||
public string ItemName { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品描述1
|
|
||||
/// </summary>
|
|
||||
public string ItemDesc1 { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 物品描述2
|
|
||||
/// </summary>
|
|
||||
public string ItemDesc2 { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 标包数量
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "标包数量")] |
|
||||
[Column(TypeName = "decimal(18,6)")] |
|
||||
public decimal StdPackQty { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库存状态
|
|
||||
/// </summary>
|
|
||||
public EnumInventoryStatus Status { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 计量单位
|
|
||||
/// </summary>
|
|
||||
public string Uom { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 请求信息
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 请求库位
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到库区
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到库位组
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RequestLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 到仓库
|
|
||||
/// </summary>
|
|
||||
public string RequestWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 在途库库位
|
|
||||
/// </summary>
|
|
||||
public string OnTheWayLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 生产线
|
|
||||
/// </summary>
|
|
||||
public string ProdLine { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 位置码
|
|
||||
/// </summary>
|
|
||||
public string PositionCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐的类型
|
|
||||
/// </summary>
|
|
||||
public EnumRecommendType RecommendType { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 需求数量
|
|
||||
/// </summary>
|
|
||||
public decimal RequestQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 推荐来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源托标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源箱标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源批次排序
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库区
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源库位组
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源仓库
|
|
||||
/// </summary>
|
|
||||
public string RecommendFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐来源数量
|
|
||||
/// </summary>
|
|
||||
public decimal RecommendFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 推荐目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标托标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标箱标签
|
|
||||
/// </summary>
|
|
||||
public string RecommendToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string RecommendToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime RecommendToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标批次排序
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库区
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标库位组
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标ERP库位
|
|
||||
/// </summary>
|
|
||||
public string RecommendToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标仓库
|
|
||||
/// </summary>
|
|
||||
public string RecommendToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 推荐目标数量
|
|
||||
/// </summary>
|
|
||||
public decimal RecommendToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 库移来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源托标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源箱标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源批次排序
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库区
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源库位组
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源ERP库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源仓库
|
|
||||
/// </summary>
|
|
||||
public string TransferLibFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移来源数量
|
|
||||
/// </summary>
|
|
||||
public decimal TransferLibFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 库移目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标托标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标箱标签
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime TransferLibToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标批次排序
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库区
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标库位组
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标ERP库位
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标仓库
|
|
||||
/// </summary>
|
|
||||
public string TransferLibToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 库移目标数量
|
|
||||
/// </summary>
|
|
||||
public decimal TransferLibToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 实际来源
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际目标托标签
|
|
||||
/// </summary>
|
|
||||
public string HandledFromContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际箱标签
|
|
||||
/// </summary>
|
|
||||
public string HandledFromPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string HandledFromSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledFromExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次排序
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库区
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位组
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际ERP库位
|
|
||||
/// </summary>
|
|
||||
public string HandledFromLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际仓库
|
|
||||
/// </summary>
|
|
||||
public string HandledFromWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际数量
|
|
||||
/// </summary>
|
|
||||
public decimal HandledFromQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
|
|
||||
#region 实际目标
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际目标托标签
|
|
||||
/// </summary>
|
|
||||
public string HandledToContainerCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际箱标签
|
|
||||
/// </summary>
|
|
||||
public string HandledToPackingCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次供应商批次
|
|
||||
/// </summary>
|
|
||||
public string HandledToSupplierBatch { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次到货时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToArriveDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次生产时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToProduceDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次过期时间
|
|
||||
/// </summary>
|
|
||||
public DateTime HandledToExpireDate { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际批次排序
|
|
||||
/// </summary>
|
|
||||
public string HandledToLot { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库区
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际库位组
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationGroup { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际ERP库位
|
|
||||
/// </summary>
|
|
||||
public string HandledToLocationErpCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际仓库
|
|
||||
/// </summary>
|
|
||||
public string HandledToWarehouseCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 实际数量
|
|
||||
/// </summary>
|
|
||||
public decimal HandledToQty { get; set; } |
|
||||
|
|
||||
#endregion
|
|
||||
} |
|
@ -0,0 +1,15 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
using System.Threading; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Requests.MaterialRequests; |
||||
|
|
||||
|
public interface ICoatingIssueRequestAppService |
||||
|
: ISfsStoreRequestMasterAppServiceBase<CoatingIssueRequestDTO, SfsStoreRequestInputBase, CoatingIssueRequestEditInput, CoatingIssueRequestDetailDTO, SfsStoreRequestInputBase> |
||||
|
|
||||
|
{ |
||||
|
Task<CoatingIssueRequestDTO> CreateAndHandleAsync(CoatingIssueRequestEditInput input); |
||||
|
|
||||
|
} |
@ -1,15 +0,0 @@ |
|||||
using System.Collections.Generic; |
|
||||
using System.Threading; |
|
||||
using System.Threading.Tasks; |
|
||||
using Volo.Abp.Application.Dtos; |
|
||||
using Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Requests.MaterialRequests; |
|
||||
|
|
||||
public interface ICoatingMaterialRequestAppService |
|
||||
: ISfsStoreRequestMasterAppServiceBase<CoatingMaterialRequestDTO, SfsStoreRequestInputBase, CoatingMaterialRequestEditInput, CoatingMaterialRequestDetailDTO, SfsStoreRequestInputBase> |
|
||||
|
|
||||
{ |
|
||||
Task<CoatingMaterialRequestDTO> CreateAndHandleAsync(CoatingMaterialRequestEditInput input); |
|
||||
|
|
||||
} |
|
@ -0,0 +1,13 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
using System.Threading; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public interface IInjectionIssueRequestAppService |
||||
|
: ISfsStoreRequestMasterAppServiceBase<InjectionIssueRequestDTO, SfsStoreRequestInputBase, InjectionIssueRequestEditInput, InjectionIssueRequestDetailDTO, SfsStoreRequestInputBase> |
||||
|
|
||||
|
{ |
||||
|
Task<InjectionIssueRequestDTO> CreateAndHandleAsync(InjectionIssueRequestEditInput input); |
||||
|
} |
@ -0,0 +1,27 @@ |
|||||
|
using Volo.Abp.Authorization.Permissions; |
||||
|
using Win_in.Sfs.Wms.Store.Domain; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public static class InjectionIssueRequestPermissions |
||||
|
{ |
||||
|
|
||||
|
public const string Default = StorePermissions.GroupName + "." + nameof(InjectionIssueRequest); |
||||
|
public const string Create = Default + "." + StorePermissions.CreateStr; |
||||
|
public const string Update = Default + "." + StorePermissions.UpdateStr; |
||||
|
public const string Delete = Default + "." + StorePermissions.DeleteStr; |
||||
|
|
||||
|
//自动叫料申请
|
||||
|
public const string AutoInjectionIssueRequest = StorePermissions.GroupName + "." + nameof(AutoInjectionIssueRequest); |
||||
|
|
||||
|
public static void AddInjectionIssueRequestPermission(this PermissionGroupDefinition permissionGroup) |
||||
|
{ |
||||
|
var InjectionIssueRequestPermission = permissionGroup.AddPermission(Default, StorePermissionDefinitionProvider.L(nameof(InjectionIssueRequest))); |
||||
|
InjectionIssueRequestPermission.AddChild(Create, StorePermissionDefinitionProvider.L(StorePermissions.CreateStr)); |
||||
|
InjectionIssueRequestPermission.AddChild(Update, StorePermissionDefinitionProvider.L(StorePermissions.UpdateStr)); |
||||
|
InjectionIssueRequestPermission.AddChild(Delete, StorePermissionDefinitionProvider.L(StorePermissions.DeleteStr)); |
||||
|
|
||||
|
permissionGroup.AddPermission(AutoInjectionIssueRequest, StorePermissionDefinitionProvider.L(nameof(AutoInjectionIssueRequest))); |
||||
|
|
||||
|
} |
||||
|
} |
2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionRequests/Inputs/InjectionRequestDetailInput.cs → be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionIssueRequests/Inputs/InjectionIssueRequestDetailInput.cs
2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionRequests/Inputs/InjectionRequestDetailInput.cs → be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionIssueRequests/Inputs/InjectionIssueRequestDetailInput.cs
4
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionRequests/Inputs/InjectionRequestEditInput.cs → be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionIssueRequests/Inputs/InjectionIssueRequestEditInput.cs
4
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionRequests/Inputs/InjectionRequestEditInput.cs → be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionIssueRequests/Inputs/InjectionIssueRequestEditInput.cs
2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionRequests/Inputs/InjectionRequestImportInput.cs → be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionIssueRequests/Inputs/InjectionIssueRequestImportInput.cs
2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionRequests/Inputs/InjectionRequestImportInput.cs → be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/MaterialRequests/InjectionIssueRequests/Inputs/InjectionIssueRequestImportInput.cs
@ -1,13 +0,0 @@ |
|||||
using System.Collections.Generic; |
|
||||
using System.Threading; |
|
||||
using System.Threading.Tasks; |
|
||||
using Volo.Abp.Application.Dtos; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public interface IInjectionRequestAppService |
|
||||
: ISfsStoreRequestMasterAppServiceBase<InjectionRequestDTO, SfsStoreRequestInputBase, InjectionRequestEditInput, InjectionRequestDetailDTO, SfsStoreRequestInputBase> |
|
||||
|
|
||||
{ |
|
||||
Task<InjectionRequestDTO> CreateAndHandleAsync(InjectionRequestEditInput input); |
|
||||
} |
|
@ -1,27 +0,0 @@ |
|||||
using Volo.Abp.Authorization.Permissions; |
|
||||
using Win_in.Sfs.Wms.Store.Domain; |
|
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|
||||
|
|
||||
public static class InjectionRequestPermissions |
|
||||
{ |
|
||||
|
|
||||
public const string Default = StorePermissions.GroupName + "." + nameof(InjectionRequest); |
|
||||
public const string Create = Default + "." + StorePermissions.CreateStr; |
|
||||
public const string Update = Default + "." + StorePermissions.UpdateStr; |
|
||||
public const string Delete = Default + "." + StorePermissions.DeleteStr; |
|
||||
|
|
||||
//自动叫料申请
|
|
||||
public const string AutoInjectionRequest = StorePermissions.GroupName + "." + nameof(AutoInjectionRequest); |
|
||||
|
|
||||
public static void AddInjectionRequestPermission(this PermissionGroupDefinition permissionGroup) |
|
||||
{ |
|
||||
var InjectionRequestPermission = permissionGroup.AddPermission(Default, StorePermissionDefinitionProvider.L(nameof(InjectionRequest))); |
|
||||
InjectionRequestPermission.AddChild(Create, StorePermissionDefinitionProvider.L(StorePermissions.CreateStr)); |
|
||||
InjectionRequestPermission.AddChild(Update, StorePermissionDefinitionProvider.L(StorePermissions.UpdateStr)); |
|
||||
InjectionRequestPermission.AddChild(Delete, StorePermissionDefinitionProvider.L(StorePermissions.DeleteStr)); |
|
||||
|
|
||||
permissionGroup.AddPermission(AutoInjectionRequest, StorePermissionDefinitionProvider.L(nameof(AutoInjectionRequest))); |
|
||||
|
|
||||
} |
|
||||
} |
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue