Commit 851d3dd1 by 高淑倩

退款预览

parent f44b4428
......@@ -196,7 +196,7 @@ wxService.page({
cartList: cartList
}, () => {
this.getReturnPrice()
// this.editOk(cartList[e]) //调用完成
this.editOk(cartList[e]) //调用完成
})
},
addNum: function (e) { // 增加数量
......@@ -212,6 +212,7 @@ wxService.page({
cartList: cartList
}, () => {
this.getReturnPrice()
this.editOk(cartList[e]) //调用完成
})
},
......@@ -241,8 +242,13 @@ wxService.page({
}, () => {
console.log('blurNum', cartList[index], index, newNum, refundNum)
this.getReturnPrice()
this.editOk(cartList[e]) //调用完成
})
},
editOk(cartPro){
console.log('cartPro', cartPro)
this.reFundPreview() // 退款预览
},
getReturnPrice() {
var cartList = this.data.cartList
var returnPrice = 0
......
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