| | |
| | | using System; |
| | | using Microsoft.AspNetCore.Components.Forms; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | |
| | | public string Operator { get; set; } |
| | | } |
| | | |
| | | |
| | | |
| | | public class PickingConfirmRequest |
| | | { |
| | | public int OrderDetailId { get; set; } |
| | |
| | | public string PalletCode { get; set; } |
| | | public int StockId { get; set; } // åºåID |
| | | public int OutStockLockInfoId { get; set; } // åºåºéå®ä¿¡æ¯ID |
| | | } |
| | | } |
| | | |
| | | public class DirectOutboundRequest |
| | | { |
| | |
| | | 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; |
| | | } |
| | | } |