瀏覽代碼

1、修复生成清单报错半成品名为空问题

MY 3 周之前
父節點
當前提交
157f36fbfe
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      JLHHJSvr/Excutor/CreatPrdPfExcutor.cs

+ 3 - 1
JLHHJSvr/Excutor/CreatPrdPfExcutor.cs

@@ -225,8 +225,10 @@ namespace JLHHJSvr.Excutor
                             SonLoss = mx.sh_rate,
                             SonDECLosS = 0,
                             wip_name = _name,
-                            wip_type = $"{mx.wip_type}|{mattress.erp_mtrlmode}"
+                            wip_type = mx.wip_type
                         };
+                        if (!string.IsNullOrEmpty(prdpf.wip_type)) prdpf.wip_type += $"|{mattress.erp_mtrlmode}";
+
                         l1Req.prdPfs.Add(prdpf);
                         i++;
                     }