pan
2025-11-15 4476740c214edb7ab667c48fcab00488fbdd9879
ÏîÄ¿´úÂë/WMSÎÞ²Ö´¢°æ/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs
@@ -82,6 +82,11 @@
        public decimal AssignQuantity {  get; set; }
        /// <summary>
        /// å·²æ‹£é€‰æ•°é‡
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "已拣选数量")]
        public decimal PickedQty { get; set; } //
        /// <summary>
        /// è´§ä½ç¼–号
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "货位编号")]
@@ -103,10 +108,27 @@
        [SugarColumn(IsNullable = true, ColumnDescription = "任务号")]
        public int? TaskNum { get; set; }
        public string SupplyCode { get; set; }
        public string WarehouseCode { get; set; }
        /// <summary>
        /// çŠ¶æ€
        /// çŠ¶æ€ çŠ¶æ€ï¼š0-已分配 1-部分拣选 2-已拣选 3-已完成
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "状态")]
        public int Status { get; set; }
        [SugarColumn(Length = 100)]
        public string CurrentBarcode { get; set; } // å½“前条码(拆包后可能变化)
        public decimal OriginalLockQuantity { get; set; } // åŽŸå§‹é”å®šæ•°é‡
        public int IsSplitted { get; set; } // æ˜¯å¦å·²æ‹†åŒ… 0-否 1-是
        public int? ParentLockId { get; set; }
        [Navigate(NavigateType.OneToOne, nameof(StockInfo))]//一对一 SchoolId是StudentA类里面的
        public Dt_StockInfo StockInfo { get; set; } //不能赋值只能是null
        [SugarColumn(IsIgnore = true)]
        public decimal RemainQuantity => AssignQuantity - PickedQty;
    }
}