Commit f824076c by 高淑倩

select_重新计算优惠价

parent 9db81c6f
......@@ -191,6 +191,20 @@ wxService.page({
handelChangeSelectVip() {
this.setData({
isSelect: !this.data.isSelect
}, () => {
const { isSelect } = this.data
console.log('isSelect', isSelect)
this.setData({
checkByPremium: isSelect
}, () => {
const { trolleySku2Buy, checkByPremium } = this.data
let params = {
checkByPremium,
trolleySku2Buy
}
this.calPreferentialPrice(params) // 重新计算优惠价
})
})
},
// 默认地址
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment