|
@@ -67,7 +67,7 @@
|
|
|
<!--选择商品-->
|
|
|
<view class="checkbox-box" @click.stop="ischeckFailure(failure)" v-if="isshowDelbtn">
|
|
|
<button class="checkbox iconfont"
|
|
|
- :disabled="!isshowDelbtn"
|
|
|
+ :disabled="!isCheckAll"
|
|
|
:class="[failure.productsChecked ?'icon-gouxuanl':'icon-weigouxuan']">
|
|
|
</button>
|
|
|
</view>
|
|
@@ -341,7 +341,7 @@
|
|
|
})
|
|
|
//删除按钮 全选包括失效商品勾选
|
|
|
this.failureList.forEach(failureItem=>{
|
|
|
- failureItem.productsChecked = true;
|
|
|
+ failureItem.productsChecked = !failureItem.productsChecked;
|
|
|
})
|
|
|
},
|
|
|
updateBothCheckBtn() {
|
|
@@ -605,7 +605,6 @@
|
|
|
return
|
|
|
}else{
|
|
|
console.log(this.delGoodsList);
|
|
|
- debugger
|
|
|
this.$util.modal('','确定删除选中的商品吗?','确定','取消',true,() =>{
|
|
|
shoppingCartDelete({userID:this.userID,productIDs:this.delGoodsList}).then(response =>{
|
|
|
this.$util.msg('删除成功',2000);
|