|
|
|
@ -226,7 +226,7 @@ |
|
|
|
|
this.cartList = res.return_data; |
|
|
|
|
|
|
|
|
|
// 测试失效数据 |
|
|
|
|
// this.cartList[0].loseEfficacy=true; |
|
|
|
|
this.cartList[0].loseEfficacy=true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -258,8 +258,11 @@ |
|
|
|
|
// }) |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
this.allCheck.whetherCheck = false; |
|
|
|
|
this.checkAllClickChildMethod() |
|
|
|
|
|
|
|
|
|
this.allCheckInit(); |
|
|
|
|
|
|
|
|
|
// this.allCheck.whetherCheck = false; |
|
|
|
|
// this.checkAllClickChildMethod() |
|
|
|
|
}, |
|
|
|
|
// 全选的点击事件 |
|
|
|
|
checkAllClick(e) { |
|
|
|
@ -294,7 +297,7 @@ |
|
|
|
|
// } |
|
|
|
|
} |
|
|
|
|
let id=select.join() |
|
|
|
|
// console.log(id,"id",select,this.cartList) |
|
|
|
|
|
|
|
|
|
this.whetherCheckUpdate(id,this.allCheck.whetherCheck) |
|
|
|
|
}, |
|
|
|
|
whetherCheckUpdate(id,whetherCheck){ |
|
|
|
@ -302,7 +305,7 @@ |
|
|
|
|
ids:id, |
|
|
|
|
whetherCheck:whetherCheck |
|
|
|
|
} |
|
|
|
|
// console.log(params,"params") |
|
|
|
|
|
|
|
|
|
whetherCheckUpdate(params).then(res=>{ |
|
|
|
|
if(res.return_code == "000000"){ |
|
|
|
|
}else{ |
|
|
|
|