|
|
|
@ -1161,7 +1161,16 @@ |
|
|
|
} |
|
|
|
if(!this.moreBuyList[index].isChecked && isHas){ |
|
|
|
this.moreBuyData.splice(index1,1) |
|
|
|
this.moreBuyList[index].quantity = 0 |
|
|
|
} |
|
|
|
|
|
|
|
let moreBuyPrice = 0 |
|
|
|
for(let i = 0;i<this.moreBuyData.length;i++){ |
|
|
|
if(this.moreBuyData[i].quantity > 0){ |
|
|
|
moreBuyPrice += Number((Number(this.moreBuyData[i].quantity) * Number(this.sliceMsg2(this.moreBuyData[i].attributeListPrice))).toFixed(2)) |
|
|
|
} |
|
|
|
} |
|
|
|
this.selectedGroupRule.groupPriceAndMore = Number(this.selectedGroupRule.groupPrice) + moreBuyPrice |
|
|
|
}, |
|
|
|
sliceMsg2(val) { |
|
|
|
var name = '' |
|
|
|
|