huxy 11 ヶ月 前
コミット
bcfb5f0591

+ 3 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/service/impl/SyPackingListFabricServiceImpl.java

@@ -2608,7 +2608,9 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 				jsonObject1.put("CTYPE","普通");//发票类型
 			}
 			jsonObject1.put("CGLTYPE","销售出库单");//上游单据
-			jsonObject1.put("CDEFINE11",syPackingListFabric.getEndCustomer());//最终客户
+			if (syPackingListFabric.getEndCustomer()!=null){
+				jsonObject1.put("CDEFINE11",syPackingListFabric.getEndCustomer().replace("&","(-)"));//最终客户
+			}
 
 			jsonObject1.put("DDATE",syPackingListFabric.getTheFinalShippingDate().substring(0,10));//日期
 			jsonObject1.put("CDEFINE4",syPackingListFabric.getTheFinalShippingDate());//最终船期