11
啊鑫
5 天以前 646ac6f3e1e77d0481e46ea15a6eb6db4ecba065
MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs
@@ -150,7 +150,6 @@
        {
            var salesOrderSubList = new List<SalesDeliveryNoticeDetail>();
            DateTime parsedDate;
            // 时间格式转换函数,ERP时间格式为 "yyyy-MM-dd HH:mm:ss"
            DateTime? ParseDateTime(string dateStr)
@@ -197,10 +196,21 @@
                    RemainOutQty = erpDto.FRemainOutQty,//未出库数量
                    SalesOrder   = erpDto.FXSHTH,//销售订单号
                    CustOrder    = erpDto.F_ZJXF_TEXT_QTR_LEE,//客户订单号
                    SalesContractNo = erpDto.FXSHTBH//销售合同编号
                    SalesContractNo = erpDto.FXSHTBH,//销售合同编号
                    F_KHWLBM=erpDto.F_KHWLBM,
                    F_KHWLMC=erpDto.F_KHWLMC,
                };
                if (erpDto.FRemainOutQty==0)
                {
                    salesOrderSub.IsFinish = 1;
                }
                else
                {
                    salesOrderSub.IsFinish = 0;
                }
                var single = _SalesDeliveryDetailManager.GetSingle(it =>it.ErpLineId == salesOrderSub.ErpLineId);
                if (single != null)
                {