liudan 7 months ago
parent f488693a25
commit 2e55c3a99f
  1. 15
      pages/order_addcart/order_addcart.vue

@ -453,7 +453,7 @@
}).then(res=>{
this.selectCountPrice = 0.00
this.cartCount = 0;
this.getCartList(true);
this.getCartList(true,'isdel');
this.getCartNum();
return that.$util.Tips({
title: res.message,
@ -777,7 +777,7 @@
});
},
//
getCartList: function(isChange) {
getCartList: function(isChange,val) {
let that = this;
let resArr=[]
this.cartList.valid.forEach(item=>{
@ -855,6 +855,17 @@
this.selectCountPrice = totalMoney
this.cartCount = totalNum
}
if(val=='isdel'){
this.cartList.valid.forEach(el=>{
el.list.forEach(e => {
e.check = false;
})
})
this.selectCountPrice = 0
this.cartCount = 0
}
});
},

Loading…
Cancel
Save