1
huangxiaoqiang
2025-12-18 9753fb2756f6b4e30ff79d901a7bb86145517c8b
ÏîÄ¿´úÂë/WMSÎÞ²Ö´¢°æ/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs
@@ -47,31 +47,31 @@
        /// <summary>
        /// è¡Œå·
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "行号")]
        public int RowNo {  get; set; }
        [SugarColumn(IsNullable = false, ColumnDescription = "行号", DefaultValue = "0")]
        public int RowNo { get; set; }
        /// <summary>
        /// å•据数量
        /// </summary>
        [SugarColumn(IsNullable = false,  ColumnDescription = "单据数量")]
        [SugarColumn(IsNullable = false, ColumnDescription = "单据数量")]
        public decimal OrderQuantity { get; set; }
        /// <summary>
        /// é”å®šæ•°é‡
        /// </summary>
        [SugarColumn(IsNullable = false,  ColumnDescription = "锁定数量", DefaultValue = "0")]
        [SugarColumn(IsNullable = false, ColumnDescription = "锁定数量", DefaultValue = "0")]
        public decimal LockQuantity { get; set; }
        /// <summary>
        /// å·²å‡ºæ•°é‡
        /// </summary>
        [SugarColumn(IsNullable = false,  ColumnDescription = "已出数量", DefaultValue = "0")]
        [SugarColumn(IsNullable = false, ColumnDescription = "已出数量", DefaultValue = "0")]
        public decimal OverOutQuantity { get; set; }
        /// <summary>
        /// è®¢å•明细状态
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "订单明细状态")]
        [SugarColumn(IsNullable = false, ColumnDescription = "订单明细状态", DefaultValue = "0")]
        public int OrderDetailStatus { get; set; }
        /// <summary>
        /// å•位
@@ -83,29 +83,56 @@
        /// è¡Œå·
        /// é»˜è®¤å€¼:
        ///</summary>
        [SugarColumn(ColumnName = "lineNo", ColumnDescription = "行号")]
        [SugarColumn(ColumnName = "lineNo", ColumnDescription = "行号", DefaultValue = "0")]
        public string? lineNo { get; set; }
        /// <summary>
        /// æŒªæ–™æ•°é‡
        /// é»˜è®¤å€¼:
        ///</summary>
        [SugarColumn(ColumnName = "MoveQty", ColumnDescription = "挪料数量")]
        [SugarColumn(ColumnDescription = "挪料数量", IsNullable = true)]
        public decimal MoveQty { get; set; }
        /// <summary>
        /// ä¾›åº”商编号
        /// é»˜è®¤å€¼:
        ///</summary>
        [SugarColumn(ColumnName = "supplyCode", ColumnDescription = "供应商编号")]
        [SugarColumn(ColumnDescription = "供应商编号", IsNullable = true)]
        public string? SupplyCode { get; set; }
        /// <summary>
        /// æ•°é‡
        /// é»˜è®¤å€¼:
        ///</summary>
        [SugarColumn(ColumnDescription = "数量", DefaultValue = "0", IsNullable = true)]
        public decimal BarcodeQty { get; set; }
        /// <summary>
        /// å•位
        /// é»˜è®¤å€¼:
        ///</summary>
        [SugarColumn(ColumnDescription = "单位", IsNullable = true)]
        public string BarcodeUnit { get; set; } = null!;
        /// <summary>
        ///
        /// é»˜è®¤å€¼:
        ///</summary>
        [SugarColumn(ColumnDescription = "数量", DefaultValue = "0", IsNullable = true)]
        public decimal BarcodeMoveQty { get; set; }
        /// <summary>
        /// ä»“库
        /// é»˜è®¤å€¼:
        ///</summary>
        [SugarColumn(ColumnName = "warehouseCode", ColumnDescription = "仓库")]
        [SugarColumn(ColumnDescription = "仓库", IsNullable = true)]
        public string? WarehouseCode { get; set; }
        /// <summary>
        /// å›žä¼ MES
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "回传MES")]
        public int ReturnToMESStatus { get; set; } = 0;
        /// <summary>
        /// å¤‡æ³¨
        /// </summary>
@@ -115,6 +142,35 @@
        [SugarColumn(IsIgnore = true)]
        public decimal NeedOutQuantity => OrderQuantity - MoveQty;
        [SugarColumn(IsNullable = true, ColumnDescription = "", IsIgnore = true)]
        public decimal PickedQty { get; set; }
        [SugarColumn(IsNullable = true, ColumnDescription = "")]
        public string documentsNO { get; set; }
        [SugarColumn(IsNullable = true, ColumnDescription = "")]
        public decimal AllocatedQuantity { get; set; }
        [SugarColumn(IsNullable = true, ColumnDescription = "")]
        public int BatchAllocateStatus { get; set; }
        /// <summary>
        /// è™šæ‹Ÿå‡ºå…¥åº“数量
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "虚拟出入库数量")]
        public decimal NoStockOutQty { get; set; }
        // æ–°å¢žå­—段
        /// <summary>
        ///
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "回传MES数据")]
        public string ReturnJsonData { get; set; }
        [SugarColumn(IsNullable = true)]
        public decimal CurrentDeliveryQty { get; set; }
    }
}