|
@@ -323,11 +323,11 @@ export default {
|
|
// this.insterActiveOk(['normal','promo'][type])
|
|
// this.insterActiveOk(['normal','promo'][type])
|
|
},
|
|
},
|
|
// 打开选择产品弹框
|
|
// 打开选择产品弹框
|
|
- openProductModal (type, refId, scopeLevel) {
|
|
|
|
- console.log(type, refId, scopeLevel)
|
|
|
|
|
|
+ openProductModal (type, refId, countData) {
|
|
|
|
+ console.log(type, refId, countData)
|
|
const promo = this.activeList.find(item => item.promoRuleSn == refId)
|
|
const promo = this.activeList.find(item => item.promoRuleSn == refId)
|
|
- if(promo && promo.promotionRule){
|
|
|
|
- promo.promotionRule.scopeLevel = scopeLevel
|
|
|
|
|
|
+ if(promo){
|
|
|
|
+ promo.countData = countData
|
|
}
|
|
}
|
|
this.$refs.chooseProduct.pageInit(this.detailData, promo, type)
|
|
this.$refs.chooseProduct.pageInit(this.detailData, promo, type)
|
|
this.cpCurRefId = 'productList-' + refId
|
|
this.cpCurRefId = 'productList-' + refId
|