|
|
@ -226,7 +226,7 @@ |
|
|
|
this.cartList = res.return_data; |
|
|
|
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) { |
|
|
|
checkAllClick(e) { |
|
|
@ -294,7 +297,7 @@ |
|
|
|
// } |
|
|
|
// } |
|
|
|
} |
|
|
|
} |
|
|
|
let id=select.join() |
|
|
|
let id=select.join() |
|
|
|
// console.log(id,"id",select,this.cartList) |
|
|
|
|
|
|
|
this.whetherCheckUpdate(id,this.allCheck.whetherCheck) |
|
|
|
this.whetherCheckUpdate(id,this.allCheck.whetherCheck) |
|
|
|
}, |
|
|
|
}, |
|
|
|
whetherCheckUpdate(id,whetherCheck){ |
|
|
|
whetherCheckUpdate(id,whetherCheck){ |
|
|
@ -302,7 +305,7 @@ |
|
|
|
ids:id, |
|
|
|
ids:id, |
|
|
|
whetherCheck:whetherCheck |
|
|
|
whetherCheck:whetherCheck |
|
|
|
} |
|
|
|
} |
|
|
|
// console.log(params,"params") |
|
|
|
|
|
|
|
whetherCheckUpdate(params).then(res=>{ |
|
|
|
whetherCheckUpdate(params).then(res=>{ |
|
|
|
if(res.return_code == "000000"){ |
|
|
|
if(res.return_code == "000000"){ |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|