pan
2025-11-29 6641d42d35d7b9739c64fe578d69e43a39e26c16
ÏîÄ¿´úÂë/WMSÎÞ²Ö´¢°æ/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_PickingRecord.cs
@@ -20,7 +20,14 @@
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public int TaskNo { get; set; }
        public string OrderNo { get; set; }
        public int OrderDetailId { get; set; }
        public string PalletCode { get; set; }
        public int OutStockLockId { get; set; }
        public string MaterielCode { get; set; }
        [SugarColumn(Length = 100)]
        public string Barcode { get; set; }
@@ -36,9 +43,18 @@
        public string LocationCode { get; set; }
        public int StockId { get; set; }
    }
        public string BatchNo { get; set; }
        public bool IsCancelled { get; set; }
        public DateTime? CancelTime { get; set; }
        public string CancelOperator { get; set; }
        public string FactoryArea { get; set; }
    }
    /// <summary>
    /// å›žåº“记录表
    /// </summary>
@@ -73,23 +89,39 @@
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public string OrderNo { get; set; }
        public int? TaskNum { get; set; }
        public string PalletCode { get; set; }
        public int StockId { get; set; }
        public bool IsReverted { get; set; } = false;
        public int OutStockLockInfoId { get; set; } // å…³è”的出库锁定信息
        public string OriginalBarcode { get; set; } // åŽŸæ¡ç 
        public string NewBarcode { get; set; } // æ–°æ¡ç 
 
        public string FactoryArea { get; set; }
        /// <summary>
        /// æ‹†åˆ†æ•°é‡ï¼ˆæ–°æ¡ç æ•°é‡ï¼‰
        /// </summary>
        public decimal SplitQty { get; set; }
        public decimal RemainQuantity { get; set; }
        public string MaterielCode { get; set; } // ç‰©æ–™ç¼–码
        public DateTime SplitTime { get; set; } = DateTime.Now;
        public string Operator { get; set; } // æ“ä½œäºº
        public int Status { get; set; } // çŠ¶æ€ï¼š1-已拆包 2-已拣选 3-已回库
    }
        public DateTime RevertTime { get; set; }
        public string RevertOperator { get; set; }
        public int PreviousSplitRecordId { get; set; }
        [SugarColumn(IsNullable = true)]
        public decimal? OriginalStockQuantity { get; set; }
       public decimal StockBeforeSplit { get; set; }
        public decimal AssignBeforeSplit { get; set; }
    }
}