|
@@ -725,6 +725,9 @@ export default {
|
|
},
|
|
},
|
|
//批量推送
|
|
//批量推送
|
|
majorityPush(){
|
|
majorityPush(){
|
|
|
|
+ if(this.selectedRowKeys.length==0){
|
|
|
|
+ this.$message.error('请勾选数据');
|
|
|
|
+ }else{
|
|
var ids = this.selectedRowKeys.toString()
|
|
var ids = this.selectedRowKeys.toString()
|
|
bitchPush({ids : ids}).then(res =>{
|
|
bitchPush({ids : ids}).then(res =>{
|
|
this.clothesListData.map(item=>{
|
|
this.clothesListData.map(item=>{
|
|
@@ -743,6 +746,7 @@ export default {
|
|
this.$message.error(res.message);
|
|
this.$message.error(res.message);
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ }
|
|
},
|
|
},
|
|
|
|
|
|
stopPush(record){
|
|
stopPush(record){
|