From 246622a6e9c2563bd21d627c21c6012017f0f04e Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期四, 20 十一月 2025 15:54:03 +0800
Subject: [PATCH] 提交

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs |  273 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 272 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs"
index e029706..b39c856 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs"
@@ -1,8 +1,11 @@
-锘縰sing System;
+锘縰sing Microsoft.AspNetCore.Components.Forms;
+using Newtonsoft.Json;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using WIDESEA_Model.Models;
 
 namespace WIDESEA_DTO.Outbound
 {
@@ -12,4 +15,272 @@
         public int pageNo { get; set; }
 
     }
+    // 鎷嗗寘閾綝TO
+    public class SplitPackageChainDto
+    {
+        public int Id { get; set; }
+        public DateTime SplitTime { get; set; }
+        public string Operator { get; set; }
+        public string OriginalBarcode { get; set; }
+        public string NewBarcode { get; set; }
+        public decimal SplitQty { get; set; }
+        public decimal RemainQuantity { get; set; }
+        public bool IsReverted { get; set; }
+        public DateTime? RevertTime { get; set; }
+        public int? PreviousSplitRecordId { get; set; }
+
+        public int NewLockInfoId { get; set; }
+        public int Status { get; set; }
+    }
+    // 鎷嗗寘璇锋眰
+    public class SplitPackageRequest
+    {
+        public int OutStockLockInfoId { get; set; }
+        public string MaterielCode { get; set; }
+        public decimal SplitQuantity { get; set; }
+        public string Operator { get; set; }
+    }
+    public class ConfirmPickingDto
+    {
+        [JsonProperty("orderNo")]
+        public string OrderNo { get; set; }
+        [JsonProperty("palletCode")]
+        public string PalletCode { get; set; }
+        [JsonProperty("barcode")]
+        public string Barcode { get; set; }
+    }
+    public class SummaryPickingDto
+    {
+
+       public string PalletCode { get; set; }
+        public string MaterielCode { get; set; }
+        public int UnpickedCount { get; set; }
+        public decimal UnpickedQuantity { get; set; }
+        public int pickedCount { get; set; }
+
+    }
+    public class PickingConfirmRequest
+    {
+        public int OrderDetailId { get; set; }
+        public string Barcode { get; set; }
+        public string MaterielCode { get; set; }
+        public decimal PickQuantity { get; set; }
+        public string LocationCode { get; set; }
+        public string PalletCode { get; set; }
+        public int StockId { get; set; } // 搴撳瓨ID
+        public int OutStockLockInfoId { get; set; } // 鍑哄簱閿佸畾淇℃伅ID
+    }
+
+    public class DirectOutboundRequest
+    {
+        public string PalletCode { get; set; }
+        public string OrderNo { get; set; }
+    }
+
+    public class CancelPickingRequest
+    {
+        public int PickingHistoryId { get; set; }
+    }
+
+    public class BackToStockRequest
+    {
+        public string PalletCode { get; set; }
+        public string CurrentLocation { get; set; }
+        public string TargetLocation { get; set; }
+        public string Operator { get; set; }
+    }
+
+    public class BackToStockCompleteRequest
+    {
+        public string TaskNum { get; set; }
+        public string TargetLocation { get; set; }
+        public DateTime CompleteTime { get; set; }
+    }
+    public class InputDto { }
+
+    public class OutputDto { }
+    #region 鍏ュ弬DTO
+    public class ScanCodeValidateInput : InputDto
+    {
+        public string ScanCode { get; set; } = string.Empty; // 鎵弿鐨勬潯鐮�
+        public string OrderNo { get; set; } = string.Empty; // 鍑哄簱鍗曞彿
+    }
+
+    public class PickingConfirmInput : InputDto
+    {
+        public string TaskNum { get; set; } = string.Empty; // 浠诲姟鍙�
+        public string PalletCode { get; set; } = string.Empty; // 鎵樼洏鐮�
+        public string MaterielBarcode { get; set; } = string.Empty; // 鐗╂枡鏉$爜
+    }
+
+    public class SplitPackageInput : InputDto
+    {
+        public long OutStockLockId { get; set; } // 寰呮媶鍒嗙殑鍑哄簱璇︽儏ID
+        public string NewBarcode { get; set; } = string.Empty; // 鏂版潯鐮�
+        public decimal SplitQty { get; set; } // 鏂版潯鐮佸垎閰嶆暟閲�
+    }
+
+    public class StockReturnInput : InputDto
+    {
+        public string OrderNo { get; set; } = string.Empty; // 鍑哄簱鍗曞彿
+        public string TaskNum { get; set; } = string.Empty; // 浠诲姟鍙凤紙鍙�夛級
+    }
+
+    public class OutStockLockDetailInput : InputDto
+    {
+        public long OutStockLockId { get; set; } // 鍑哄簱璇︽儏ID
+    }
+    #endregion
+
+    #region 鍑哄弬DTO
+    //[AutoMapFrom(typeof(OutStockLockInfo))]
+    public class OutStockLockInfoOutput : OutputDto
+    {
+        public string TaskNum { get; set; } = string.Empty;
+        public string PalletCode { get; set; } = string.Empty;
+        public string CurrentBarcode { get; set; } = string.Empty;
+        public decimal AssignQuantity { get; set; }
+        public decimal PickedQty { get; set; }
+        public int Status { get; set; }
+        public bool IsSplitted { get; set; }
+    }
+
+    //[AutoMapFrom(typeof(OutStockLockInfo))]
+    public class OutStockLockDetailOutput : OutputDto
+    {
+        public string CurrentBarcode { get; set; } = string.Empty;
+        public decimal AssignQuantity { get; set; }
+    }
+    public class LockInfoDetailDto : Dt_OutStockLockInfo
+    {
+        public string MaterielName { get; set; }
+        public string Unit { get; set; }
+    }
+    public class MaterielBarcodeValidateOutput : OutputDto
+    {
+        public bool IsValid { get; set; }
+        public long OutStockLockId { get; set; }
+        public decimal PackageQty { get; set; } // 鍒嗛厤鏁伴噺
+        public string Message { get; set; } = string.Empty;
+    }
+
+    //[AutoMapFrom(typeof(PickingRecord))]
+    public class PickingRecordOutput : OutputDto
+    {
+        public string Barcode { get; set; } = string.Empty;
+        public string PalletCode { get; set; } = string.Empty;
+        public decimal PickQuantity { get; set; }
+        public string PickTime { get; set; } = string.Empty;
+    }
+    #endregion
+
+    public class ScanCodeValidateReq
+    {
+        public string ScanCode { get; set; } = string.Empty; // 鎵弿鐨勬潯鐮�
+        public string OrderNo { get; set; } = string.Empty; // 鍑哄簱鍗曞彿
+    }
+
+ 
+
+    public class PickingConfirmReq
+    {
+        public string TaskNum { get; set; } = string.Empty; // 浠诲姟鍙�
+        public string PalletCode { get; set; } = string.Empty; // 鎵樼洏鐮�
+        public string MaterielBarcode { get; set; } = string.Empty; // 鐗╂枡鏉$爜
+    }
+
+ 
+
+    public class SplitPackageReq
+    {
+        public long OutStockLockId { get; set; } // 寰呮媶鍒嗙殑鍑哄簱璇︽儏ID
+        public string NewBarcode { get; set; } = string.Empty; // 鏂版潯鐮�
+        public decimal SplitQty { get; set; } // 鏂版潯鐮佸垎閰嶆暟閲�
+    }
+
+ 
+
+    public class StockReturnReq
+    {
+        public string OrderNo { get; set; } = string.Empty; // 鍑哄簱鍗曞彿
+        public string TaskNum { get; set; } = string.Empty; // 浠诲姟鍙凤紙鍙�夛級
+    }
+
+ 
+
+    public class OutStockLockDetailReq
+    {
+        public long OutStockLockId { get; set; } // 鍑哄簱璇︽儏ID
+    }
+
+ 
+
+    public class MaterielBarcodeValidateResp
+    {
+        public bool IsValid { get; set; }
+        public long OutStockLockId { get; set; }
+        public decimal PackageQty { get; set; } // 鏁村寘鏁伴噺锛堝垎閰嶆暟閲忥級
+        public string Message { get; set; } = string.Empty;
+    }
+ 
+
+    public class OutStockLockDetailResp
+    {
+        public string CurrentBarcode { get; set; } = string.Empty;
+        public decimal AssignQuantity { get; set; }
+    }
+
+ 
+
+    public class OutStockLockListResp
+    {
+        public long Id { get; set; }
+        public string TaskNum { get; set; } = string.Empty;
+        public string PalletCode { get; set; } = string.Empty;
+        public string CurrentBarcode { get; set; } = string.Empty;
+        public decimal AssignQuantity { get; set; }
+        public decimal PickedQty { get; set; }
+        public int Status { get; set; }
+        public bool IsSplitted { get; set; }
+    }
+
+ 
+
+    public class PickedRecordListResp
+    {
+        public string barcode { get; set; } = string.Empty;
+        public string palletCode { get; set; } = string.Empty;
+        public decimal pickQuantity { get; set; }
+        public string pickTime { get; set; } = string.Empty;
+    }
+
+    public class CancelPickingDto
+    {
+        public string OrderNo { get; set; }
+        public string PalletCode { get; set; }
+        public string Barcode { get; set; }
+    }
+
+    public class SplitPackageDto
+    {
+        public string OrderNo { get; set; }
+        public string PalletCode { get; set; }
+        public string OriginalBarcode { get; set; }
+        public decimal SplitQuantity { get; set; }
+        public string MaterielCode { get; set; }
+    }
+
+    public class RevertSplitDto
+    {
+        public string OriginalBarcode { get; set; }
+    }
+
+    // 鎷嗗寘缁撴灉绫�
+    public class SplitResult
+    {
+        public string OriginalBarcode { get; set; }
+        public string NewBarcode { get; set; }
+        public decimal SplitQuantity { get; set; }
+        public decimal RemainQuantity { get; set; }
+    }
 }

--
Gitblit v1.9.3