sjz
4 天以前 678e995cca52a9072c0a92a805060b4969d1010f
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)
@@ -199,9 +198,19 @@
                    CustOrder    = erpDto.F_ZJXF_TEXT_QTR_LEE,//客户订单号
                    SalesContractNo = erpDto.FXSHTBH,//销售合同编号
                    F_KHWLBM=erpDto.F_KHWLBM,
                    F_KHWLMC=erpDto.F_KHWLMC
                    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)
                {