| | |
| | | using Microsoft.AspNetCore.Components.Forms; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Model.Models; |
| | | |
| | | namespace WIDESEA_DTO.Outbound |
| | | { |
| | |
| | | public int pageNo { get; set; } |
| | | |
| | | } |
| | | // æå
é¾DTO |
| | | 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; } |
| | | |
| | | [Required(ErrorMessage = "订åå·ä¸è½ä¸ºç©º")] |
| | | public string OrderNo { get; set; } |
| | | |
| | | [Required(ErrorMessage = "æçå·ä¸è½ä¸ºç©º")] |
| | | public string PalletCode { get; set; } |
| | | |
| | | [Required(ErrorMessage = "åæ¡ç ä¸è½ä¸ºç©º")] |
| | | public string OriginalBarcode { get; set; } |
| | | |
| | | [Range(0.001, double.MaxValue, ErrorMessage = "æå
æ°éå¿
须大äº0")] |
| | | public decimal SplitQuantity { 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 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 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 string OrderNo { get; set; } = string.Empty; // åºåºåå· |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public class PickingConfirmReq |
| | | { |
| | |
| | | public string MaterielBarcode { get; set; } = string.Empty; // ç©ææ¡ç |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public class SplitPackageReq |
| | | { |
| | |
| | | public decimal SplitQty { get; set; } // æ°æ¡ç åé
æ°é |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public class StockReturnReq |
| | | { |
| | |
| | | public string TaskNum { get; set; } = string.Empty; // ä»»å¡å·ï¼å¯éï¼ |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public class OutStockLockDetailReq |
| | | { |
| | | public long OutStockLockId { get; set; } // åºåºè¯¦æ
ID |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public class MaterielBarcodeValidateResp |
| | | { |
| | |
| | | public decimal PackageQty { get; set; } // æ´å
æ°éï¼åé
æ°éï¼ |
| | | public string Message { get; set; } = string.Empty; |
| | | } |
| | | |
| | | |
| | | |
| | | public class OutStockLockDetailResp |
| | | { |
| | |
| | | public decimal AssignQuantity { get; set; } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public class OutStockLockListResp |
| | | { |
| | |
| | | public bool IsSplitted { get; set; } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public class PickedRecordListResp |
| | | { |
| | |
| | | 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 CancelSplitChainDto |
| | | { |
| | | [Required(ErrorMessage = "订åå·ä¸è½ä¸ºç©º")] |
| | | public string OrderNo { get; set; } |
| | | |
| | | [Required(ErrorMessage = "æçå·ä¸è½ä¸ºç©º")] |
| | | public string PalletCode { get; set; } |
| | | |
| | | [Required(ErrorMessage = "èµ·å§æ¡ç ä¸è½ä¸ºç©º")] |
| | | public string StartBarcode { get; set; } |
| | | } |
| | | |
| | | public class SplitPackageChainInfoRequestDto |
| | | { |
| | | [Required(ErrorMessage = "订åå·ä¸è½ä¸ºç©º")] |
| | | public string OrderNo { get; set; } |
| | | |
| | | [Required(ErrorMessage = "æ¡ç ä¸è½ä¸ºç©º")] |
| | | 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 materialCode { get; set; } |
| | | public string supplierCode { get; set; } |
| | | |
| | | public string quantityTotal { get; set; } |
| | | |
| | | public string batchNumber { get; set; } |
| | | |
| | | public string batch { get; set; } |
| | | public string factory { get; set; } |
| | | |
| | | public string date { get; set; } |
| | | |
| | | // public string OriginalBarcode { get; set; } |
| | | // public string NewBarcode { get; set; } |
| | | //public decimal SplitQuantity { get; set; } |
| | | //public decimal RemainQuantity { get; set; } |
| | | } |
| | | |
| | | |
| | | } |