zyf
2025-04-12 b2be3b6939b4382f9165c78857a072f1aa7b01d0
MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs
@@ -142,6 +142,7 @@
                CancelledBy = erpDto.FCancellerId, // 作废人
                CancelDate = ParseDateTime(erpDto.FCancelDate) ?? null, // 作废日期
                CloseStatus = erpDto.FBillCloseStatus, // 关闭状态
                BillStatus = erpDto.FDocumentStatus //单据状态
            };
@@ -181,8 +182,8 @@
                    ErpHeadId = erpDto.EHID,//ERP头ID
                    SalesOrderId = erpDto.F_UNW_Text_xsddh,//销售订单号
                    MaterialId = erpDto.FMaterialId,//物料编号
                    MaterialName = erpDto.FMaterialName,// 物料名称
                    MaterialSpecification = erpDto.FMaterialModel,//规格型号
                   // MaterialName = erpDto.FMaterialName,// 物料名称
                    //MaterialSpecification = erpDto.FMaterialModel,//规格型号
                    SalesUnitId = erpDto.FUnitID,//销售单位
                    SalesQuantity = Convert.ToDecimal(erpDto.FQty),//销售数量
                    IsFree = erpDto.FIsFree,//是否赠品
@@ -195,7 +196,7 @@
                    OwnerId = erpDto.FOwnerIdHead,//货主
                    InventoryUnit = erpDto.FStockUnitID,//库存单位
                    InventoryQuantity = Convert.ToDecimal(erpDto.FStockQty),//库存数量
                    MaterialCategory = erpDto.FMaterialType,//物料类别
                    //MaterialCategory = erpDto.FMaterialType,//物料类别
                    PlanDeliveryDate = ParseDateTime(erpDto.FPlanDeliveryDate),//计划发货日期
                    OutLmtUnit = erpDto.FOutLmtUnit,//超发控制单位
                    OutMaxQty = erpDto.FOutMaxQty,//出库上限
@@ -207,7 +208,9 @@
                    TerminationStatus = erpDto.FTerminationStatus,//终止状态
                    TerminationDate = ParseDateTime(erpDto.FTerminateDate),//业务终止日期
                    SumOutQty = erpDto.FSumOutQty,//累计出库数量
                    RemainOutQty = erpDto.FRemainOutQty//未出库数量
                    RemainOutQty = erpDto.FRemainOutQty,//未出库数量
                    GDY = erpDto.F_UNW_Base_GDY,//跟单员
                    NOTE = erpDto.FEntrynote//备注
                };