|
@@ -602,7 +602,7 @@ export default {
|
|
// 正价统计
|
|
// 正价统计
|
|
const isYuan1 = item.regularRuleUnit == 'YUAN'
|
|
const isYuan1 = item.regularRuleUnit == 'YUAN'
|
|
const regularUnit = isYuan1 ? '元' : '个' // 单位
|
|
const regularUnit = isYuan1 ? '元' : '个' // 单位
|
|
- const regularSelected = isYuan1 ? item.regularTotalAmount : item.regularTotalQty // 已选
|
|
|
|
|
|
+ const regularSelected = isYuan1 ? item.regularAmount : item.regularQty // 已选
|
|
const regularTotal = isYuan1 ? item.regularBorrowAmount : item.regularBorrowQty // 累计
|
|
const regularTotal = isYuan1 ? item.regularBorrowAmount : item.regularBorrowQty // 累计
|
|
const regularPromotionSameFlag = item.promotionRule.promotionRuleType === 'BUY_PROD_GIVE_PROD' && item.promotionRule.regularPromotionSameFlag == 1 // 促销品是否与正品一致
|
|
const regularPromotionSameFlag = item.promotionRule.promotionRuleType === 'BUY_PROD_GIVE_PROD' && item.promotionRule.regularPromotionSameFlag == 1 // 促销品是否与正品一致
|
|
const baseVal1 = isYuan1 ? Number(item.regularRuleValue).toFixed(2) : item.regularRuleValue
|
|
const baseVal1 = isYuan1 ? Number(item.regularRuleValue).toFixed(2) : item.regularRuleValue
|