|
@@ -268,9 +268,11 @@
|
|
|
return stateText;
|
|
|
},
|
|
|
deletefailureList(){
|
|
|
- this.failureList.forEach(failure=>{ this.delGoodsList += failure.productId+',' })
|
|
|
+ this.failureList.forEach(failure=>{ this.delGoodsList += failure.sellerCartId+',' })
|
|
|
this.$util.modal('','确定清空全部失效商品吗?','确定','取消',true,() =>{
|
|
|
- this.SellerService.SellerCartdelete({userID:this.userID,productIDs:this.delGoodsList}).then(response =>{
|
|
|
+ console.log(this.delGoodsList)
|
|
|
+ this.SellerService.SellerCartdelete({sellerCartIds:this.delGoodsList}).then(response =>{
|
|
|
+ console.log(response)
|
|
|
this.$util.msg('删除成功',2000);
|
|
|
setTimeout(()=>{
|
|
|
this.isshowDelbtn = false;
|