lilei 1 年之前
父节点
当前提交
1440302a98
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

+ 2 - 1
src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

@@ -312,9 +312,10 @@
                 promo: promo,
                 promo: promo,
                 total: acTotal
                 total: acTotal
               },...aclist] : []
               },...aclist] : []
+              // 将活动产品数据拼接
               listData = aclist&&aclist.length ? listData.concat(retList) : listData
               listData = aclist&&aclist.length ? listData.concat(retList) : listData
             }
             }
-            // 如果活动没有任何产品
+            // 如果活动没有任何产品,不显示统计一行
             if(active.length){
             if(active.length){
               const hasAcp = listData.filter(item => item.id.indexOf("promo-")>=0)
               const hasAcp = listData.filter(item => item.id.indexOf("promo-")>=0)
               if(hasAcp && hasAcp.length==1){
               if(hasAcp && hasAcp.length==1){