MrShi
7 小时以前 41115bb4b6d0161ff6d2c15ef6b3d5386a14ac9c
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('操作成功')
        })