From 1f72ccdc6093a5b44910bd73a78a27f7226325b2 Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期四, 13 十一月 2025 10:55:58 +0800
Subject: [PATCH] 提交

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs |  162 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 159 insertions(+), 3 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 5eeecc4..88aa0f7 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,4 +1,5 @@
-锘縰sing System;
+锘縰sing Microsoft.AspNetCore.Components.Forms;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -22,7 +23,7 @@
         public string Operator { get; set; }
     }
 
- 
+
     public class PickingConfirmRequest
     {
         public int OrderDetailId { get; set; }
@@ -31,7 +32,9 @@
         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
     {
@@ -57,4 +60,157 @@
         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 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;
+    }
 }

--
Gitblit v1.9.3