doum
3 天以前 ad40905455f85a15031af88f03422aec03567ed5
admin/src/views/business/goodsLabels.vue
@@ -68,6 +68,7 @@
import TableLayout from '@/layouts/TableLayout'
import Pagination from '@/components/common/Pagination'
import OperaGoodsLabelsWindow from '@/components/business/OperaGoodsLabelsWindow'
import {updateStatusById} from "@/api/business/labels";
export default {
  name: 'ProductLabel',
  extends: BaseTable,
@@ -94,7 +95,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('操作成功')
        })