diff --git a/src/views/product/productList/index.vue b/src/views/product/productList/index.vue
index e009e76..a05893d 100644
--- a/src/views/product/productList/index.vue
+++ b/src/views/product/productList/index.vue
@@ -83,7 +83,9 @@
@click="batchOff">批量下架
批量上架
- 加入云商品
+ 批量加入回收站
+ 批量恢复
+ 批量删除
{
+ ids.push(item.product_id)
+ })
+ } else {
+ ids = this.checkedIds
+ }
+ let data = { status: 1, ids: ids }
+ console.log(data);
+ },
+ // 批量恢复
+ batchRecover() {
+ if (this.checkedIds.length === 0 && !this.allCheck) return this.$message.warning('请先选择商品')
+ let ids = []
+ if (this.allCheck) {
+ this.tableData.data.map((item) => {
+ ids.push(item.product_id)
+ })
+ } else {
+ ids = this.checkedIds
+ }
+ let data = { status: 1, ids: ids }
+ console.log(data);
+ },
+ // 批量删除
+ batchDelete() {
+ if (this.checkedIds.length === 0 && !this.allCheck) return this.$message.warning('请先选择商品')
+ let ids = []
+ if (this.allCheck) {
+ this.tableData.data.map((item) => {
+ ids.push(item.product_id)
+ })
+ } else {
+ ids = this.checkedIds
+ }
+ let data = { status: 1, ids: ids }
+ console.log(data);
+ },
// 批量设置标签
batchLabel() {
this.labelForm = {