doum
10 小时以前 5dbd5bdfc1a4de43722485b728f7d27f9b369eb9
admin/src/views/business/labelsBrand.vue
@@ -72,8 +72,8 @@
import BaseTable from '@/components/base/BaseTable'
import TableLayout from '@/layouts/TableLayout'
import Pagination from '@/components/common/Pagination'
import OperaLabelsWindow from '@/components/business/OperaLabelsZhuanquWindow'
import { updateById } from '@/api/business/goods'
import OperaLabelsWindow from '@/components/business/OperaLabelsOtherWindow'
export default {
  name: 'Labels',
  extends: BaseTable,
@@ -104,7 +104,7 @@
  },
  methods: {
    statusChange (row) {
      this.api.updateById({ id: row.id, status: row.status })
      this.api.updateStatusById({ id: row.id, status: row.status })
        .then(() => {
          this.$message.success('操作成功')
        })