jiangping
2023-09-21 2be17adffb5e055ed563ba73c928a5842c45a81e
company_admin/src/views/business/goods.vue
@@ -68,7 +68,7 @@
          <el-button type="primary" :loading="isWorking.export" @click="bulkOperation(0)">批量上架</el-button>
          <el-button type="primary" :loading="isWorking.export" @click="bulkOperation(1)">批量下架</el-button>
          <!-- <li><el-button @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:goods:delete']">删除</el-button></li> -->
          <el-button style="background: red;border-color:red" type="primary" :loading="isWorking.export" @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:goods:delete']">批量删除</el-button>
        </ul>
        <el-table
          v-loading="isWorking.search"
@@ -216,7 +216,7 @@
          status: type
        }).then(res => {
          this.$message.success({ message: res })
          this.search()
          this.handlePageChange()
        })
      },
      downloadFile() {
@@ -286,7 +286,9 @@
        }).then(res => {
          this.$tip.apiSuccess('更新成功')
        }).finally(() => {
          // this.search()
          this.search()
        }).catch(err => {
          this.$message.warning({ message: err.message })
        })
      },
      turnNum (nums) {