mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 16:35:53 +08:00
add wholesale of sale model
This commit is contained in:
@@ -363,13 +363,13 @@ export default {
|
||||
},
|
||||
// 设置购买数量
|
||||
changeNum(val, id) {
|
||||
console.log(val, id);
|
||||
APICart.setCartGoodsNum({ skuId: id, num: val }).then((res) => {
|
||||
console.log(res);
|
||||
if (res.success) {
|
||||
this.getCartList();
|
||||
}
|
||||
});
|
||||
if (val) {
|
||||
APICart.setCartGoodsNum({ skuId: id, num: val }).then((res) => {
|
||||
if (res.success) {
|
||||
this.getCartList();
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
// 设置商品选中状态
|
||||
async changeChecked(status, type, id) {
|
||||
|
||||
Reference in New Issue
Block a user