lilei 1 week ago
parent
commit
7ad4d4c39e

+ 3 - 3
src/views/salesManagement/salesQueryNew/comps/activeStatisticsList.vue

@@ -616,9 +616,9 @@ export default {
         const regularNextVal = regularPromotionSameFlag ? undefined : nextVal1 // 下级差
         // 促销品
         const promoUnit = '个'
-        const promoSelected = item.giftQty || 0 // 已选
-        const promoBalance = item.giftShortfallQty //  差额
-        const promoLimit = item.giftGiveQty // 额度
+        const promoSelected = item.giftQty || item.giftQty == 0 ? item.giftQty : undefined// 已选
+        const promoBalance = item.giftShortfallQty || item.giftShortfallQty == 0 ? item.giftShortfallQty : undefined //  差额
+        const promoLimit = item.giftGiveQty || item.giftGiveQty == 0 ? item.giftGiveQty : undefined // 额度
         // 采购额
         const purchaseUnit = '元'
         const purchaseLimit = item.totalPromoGiftsAmount || item.totalPromoGiftsAmount == 0 ? Number(item.totalPromoGiftsAmount).toFixed(2) : undefined // 额度