yzc 1 anno fa
parent
commit
3a4211f31f

+ 7 - 0
hx-sale/src/main/java/com/fjhx/sale/service/sale/impl/SaleQuotationServiceImpl.java

@@ -200,6 +200,13 @@ public class SaleQuotationServiceImpl extends ServiceImpl<SaleQuotationMapper, S
             item.setProductWidth(productInfo.getWidth());
             item.setProductWidth(productInfo.getHeight());
         });
+
+        for (QuotationProductVo quotationPayVo : quotationPayVos) {
+            if (ObjectUtil.isEmpty(quotationPayVo.getProductId())) {
+                quotationPayVo.setProductName("定制");
+            }
+        }
+
         Map<Long, List<QuotationProductVo>> pMap = quotationPayVos.stream().collect(Collectors.groupingBy(QuotationProduct::getSaleQuotationId));
 
         for (SaleQuotationVo saleQuotationVo : records) {