|
@@ -138,9 +138,6 @@
|
|
if(this.isdelete) {
|
|
if(this.isdelete) {
|
|
// 结算
|
|
// 结算
|
|
this.getorderId(); // 保存订单生成订单id
|
|
this.getorderId(); // 保存订单生成订单id
|
|
- uni.navigateTo({
|
|
|
|
- // url: `/pages/index/sureBuy?store=${store}&pricelist=${pricelist}&prices=${prices}`
|
|
|
|
- });
|
|
|
|
}else {
|
|
}else {
|
|
if(ids == '') {
|
|
if(ids == '') {
|
|
this.$msg('请选择删除商品');
|
|
this.$msg('请选择删除商品');
|
|
@@ -178,6 +175,7 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ // 购物车删除
|
|
deleteshop(ids) {
|
|
deleteshop(ids) {
|
|
this.request({
|
|
this.request({
|
|
url: '/v2/order/cart_drop',
|
|
url: '/v2/order/cart_drop',
|
|
@@ -188,7 +186,6 @@
|
|
},
|
|
},
|
|
success: () => {
|
|
success: () => {
|
|
this.nums = 0;
|
|
this.nums = 0;
|
|
- // this.isDelete = true;
|
|
|
|
this.listip = "删除" + '(' + this.nums + ')';
|
|
this.listip = "删除" + '(' + this.nums + ')';
|
|
this.getshoplist();
|
|
this.getshoplist();
|
|
}
|
|
}
|
|
@@ -241,10 +238,7 @@
|
|
goback() {
|
|
goback() {
|
|
uni.navigateBack();
|
|
uni.navigateBack();
|
|
},
|
|
},
|
|
- // 编辑
|
|
|
|
- deleteShop() {
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
// 数量累加
|
|
// 数量累加
|
|
bindChange(e) {
|
|
bindChange(e) {
|
|
this.list[e.index].goods_num = e.number;
|
|
this.list[e.index].goods_num = e.number;
|