add wholesale of sale model

master
paulGao 2022-05-27 15:23:10 +08:00
parent 1bda042bc9
commit 994ef217ac
1 changed files with 7 additions and 7 deletions

View File

@ -363,13 +363,13 @@ export default {
}, },
// //
changeNum(val, id) { changeNum(val, id) {
console.log(val, id); if (val) {
APICart.setCartGoodsNum({ skuId: id, num: val }).then((res) => { APICart.setCartGoodsNum({ skuId: id, num: val }).then((res) => {
console.log(res);
if (res.success) { if (res.success) {
this.getCartList(); this.getCartList();
} }
}); });
}
}, },
// //
async changeChecked(status, type, id) { async changeChecked(status, type, id) {